Searched refs:nvme_ns (Results 1 – 10 of 10) sorted by relevance
/drivers/nvme/host/ |
D | nvme.h | 348 struct nvme_ns __rcu *current_path[]; 352 struct nvme_ns { struct 422 static inline u64 nvme_block_nr(struct nvme_ns *ns, sector_t sector) in nvme_block_nr() 486 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req, 522 void nvme_set_disk_name(char *disk_name, struct nvme_ns *ns, 527 void nvme_mpath_add_disk(struct nvme_ns *ns, struct nvme_id_ns *id); 532 bool nvme_mpath_clear_current_path(struct nvme_ns *ns); 534 struct nvme_ns *nvme_find_path(struct nvme_ns_head *head); 536 static inline void nvme_mpath_check_last_path(struct nvme_ns *ns) in nvme_mpath_check_last_path() 547 struct nvme_ns *ns = req->q->queuedata; in nvme_trace_bio_complete() [all …]
|
D | multipath.c | 52 void nvme_set_disk_name(char *disk_name, struct nvme_ns *ns, in nvme_set_disk_name() 69 struct nvme_ns *ns = req->q->queuedata; in nvme_failover_req() 119 struct nvme_ns *ns; in nvme_kick_requeue_lists() 138 bool nvme_mpath_clear_current_path(struct nvme_ns *ns) in nvme_mpath_clear_current_path() 159 struct nvme_ns *ns; in nvme_mpath_clear_ctrl_paths() 170 static bool nvme_path_is_disabled(struct nvme_ns *ns) in nvme_path_is_disabled() 177 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path() 180 struct nvme_ns *found = NULL, *fallback = NULL, *ns; in __nvme_find_path() 216 static struct nvme_ns *nvme_next_ns(struct nvme_ns_head *head, in nvme_next_ns() 217 struct nvme_ns *ns) in nvme_next_ns() [all …]
|
D | core.c | 97 static void nvme_set_queue_dying(struct nvme_ns *ns) in nvme_set_queue_dying() 212 static inline bool nvme_ns_has_pi(struct nvme_ns *ns) in nvme_ns_has_pi() 266 struct nvme_ns *ns = req->q->queuedata; in nvme_retry_req() 453 struct nvme_ns *ns = container_of(kref, struct nvme_ns, kref); in nvme_free_ns() 464 static void nvme_put_ns(struct nvme_ns *ns) in nvme_put_ns() 600 static inline void nvme_setup_flush(struct nvme_ns *ns, in nvme_setup_flush() 607 static blk_status_t nvme_setup_discard(struct nvme_ns *ns, struct request *req, in nvme_setup_discard() 667 static inline blk_status_t nvme_setup_write_zeroes(struct nvme_ns *ns, in nvme_setup_write_zeroes() 683 static inline blk_status_t nvme_setup_rw(struct nvme_ns *ns, in nvme_setup_rw() 740 struct nvme_ns *ns = req->rq_disk->private_data; in nvme_cleanup_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 | 2097 static blk_status_t nvme_tcp_setup_cmd_pdu(struct nvme_ns *ns, in nvme_tcp_setup_cmd_pdu() 2151 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_tcp_queue_rq()
|
D | rdma.c | 1733 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_rdma_queue_rq()
|
D | pci.c | 878 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_queue_rq()
|
D | fc.c | 2327 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_fc_queue_rq()
|
/drivers/nvme/target/ |
D | loop.c | 135 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_loop_queue_rq()
|