Searched refs:nvme_ns (Results 1 – 12 of 12) sorted by relevance
/drivers/nvme/host/ |
D | nvme.h | 428 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 …]
|
D | multipath.c | 53 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 …]
|
D | zns.c | 10 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()
|
D | core.c | 113 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 …]
|
D | lightnvm.c | 433 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 …]
|
D | fault_inject.c | 64 struct nvme_ns *ns = disk->private_data; in nvme_should_fail()
|
D | tcp.c | 2332 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()
|
D | rdma.c | 1489 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()
|
D | pci.c | 911 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_queue_rq()
|
D | fc.c | 2764 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_fc_queue_rq()
|
/drivers/nvme/target/ |
D | passthru.c | 228 struct nvme_ns *ns = NULL; in nvmet_passthru_execute_cmd()
|
D | loop.c | 134 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_loop_queue_rq()
|