Home
last modified time | relevance | path

Searched refs:nvme_ns (Results 1 – 12 of 12) sorted by relevance

/drivers/nvme/host/
Dnvme.h428 struct nvme_ns __rcu *current_path[];
437 struct nvme_ns { struct
471 static inline bool nvme_ns_has_pi(struct nvme_ns *ns) in nvme_ns_has_pi() argument
574 static inline u64 nvme_sect_to_lba(struct nvme_ns *ns, sector_t sector) in nvme_sect_to_lba()
582 static inline sector_t nvme_lba_to_sect(struct nvme_ns *ns, u64 lba) in nvme_lba_to_sect()
689 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req,
711 struct nvme_ns *nvme_get_ns_from_disk(struct gendisk *disk,
727 void nvme_set_disk_name(char *disk_name, struct nvme_ns *ns,
732 void nvme_mpath_add_disk(struct nvme_ns *ns, struct nvme_id_ns *id);
739 bool nvme_mpath_clear_current_path(struct nvme_ns *ns);
[all …]
Dmultipath.c53 void nvme_set_disk_name(char *disk_name, struct nvme_ns *ns, in nvme_set_disk_name()
70 struct nvme_ns *ns = req->q->queuedata; in nvme_failover_req()
96 struct nvme_ns *ns; in nvme_kick_requeue_lists()
115 bool nvme_mpath_clear_current_path(struct nvme_ns *ns) in nvme_mpath_clear_current_path()
136 struct nvme_ns *ns; in nvme_mpath_clear_ctrl_paths()
146 static bool nvme_path_is_disabled(struct nvme_ns *ns) in nvme_path_is_disabled()
162 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path()
165 struct nvme_ns *found = NULL, *fallback = NULL, *ns; in __nvme_find_path()
201 static struct nvme_ns *nvme_next_ns(struct nvme_ns_head *head, in nvme_next_ns()
202 struct nvme_ns *ns) in nvme_next_ns()
[all …]
Dzns.c10 int nvme_revalidate_zones(struct nvme_ns *ns) in nvme_revalidate_zones()
49 int nvme_update_zone_info(struct nvme_ns *ns, unsigned lbaf) in nvme_update_zone_info()
116 static void *nvme_zns_alloc_report_buffer(struct nvme_ns *ns, in nvme_zns_alloc_report_buffer()
146 static int nvme_zone_parse_entry(struct nvme_ns *ns, in nvme_zone_parse_entry()
169 static int nvme_ns_report_zones(struct nvme_ns *ns, sector_t sector, in nvme_ns_report_zones()
229 struct nvme_ns *ns; in nvme_report_zones()
245 blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, struct request *req, in nvme_setup_zone_mgmt_send()
Dcore.c113 static void nvme_set_queue_dying(struct nvme_ns *ns) in nvme_set_queue_dying()
261 struct nvme_ns *ns = req->q->queuedata; in nvme_retry_req()
515 struct nvme_ns *ns = container_of(kref, struct nvme_ns, kref); in nvme_free_ns()
526 void nvme_put_ns(struct nvme_ns *ns) in nvme_put_ns()
692 static inline void nvme_setup_flush(struct nvme_ns *ns, in nvme_setup_flush()
699 static blk_status_t nvme_setup_discard(struct nvme_ns *ns, struct request *req, in nvme_setup_discard()
769 static inline blk_status_t nvme_setup_write_zeroes(struct nvme_ns *ns, in nvme_setup_write_zeroes()
788 static inline blk_status_t nvme_setup_rw(struct nvme_ns *ns, in nvme_setup_rw()
848 struct nvme_ns *ns = req->rq_disk->private_data; in nvme_cleanup_cmd()
859 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req, in nvme_setup_cmd()
[all …]
Dlightnvm.c433 struct nvme_ns *ns = nvmdev->q->queuedata; in nvme_nvm_identity()
480 struct nvme_ns *ns = q->queuedata; in nvme_nvm_get_bb_tbl()
534 struct nvme_ns *ns = nvmdev->q->queuedata; in nvme_nvm_set_bb_tbl()
560 struct nvme_ns *ns = ndev->q->queuedata; in nvme_nvm_get_chk_meta()
624 static inline void nvme_nvm_rqtocmd(struct nvm_rq *rqd, struct nvme_ns *ns, in nvme_nvm_rqtocmd()
651 struct nvme_ns *ns = q->queuedata; in nvme_nvm_alloc_request()
710 struct nvme_ns *ns = nvmdev->q->queuedata; in nvme_nvm_create_dma_pool()
751 struct nvme_ns *ns, in nvme_nvm_submit_user_cmd()
853 static int nvme_nvm_submit_vio(struct nvme_ns *ns, in nvme_nvm_submit_vio()
887 static int nvme_nvm_user_vcmd(struct nvme_ns *ns, int admin, in nvme_nvm_user_vcmd()
[all …]
Dfault_inject.c64 struct nvme_ns *ns = disk->private_data; in nvme_should_fail()
Dtcp.c2332 static blk_status_t nvme_tcp_setup_cmd_pdu(struct nvme_ns *ns, in nvme_tcp_setup_cmd_pdu()
2395 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_tcp_queue_rq()
Drdma.c1489 struct nvme_ns *ns = rq->q->queuedata; in nvme_rdma_map_sg_pi()
2053 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_rdma_queue_rq()
Dpci.c911 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_queue_rq()
Dfc.c2764 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_fc_queue_rq()
/drivers/nvme/target/
Dpassthru.c228 struct nvme_ns *ns = NULL; in nvmet_passthru_execute_cmd()
Dloop.c134 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_loop_queue_rq()