Searched refs:nvme_ns (Results 1 – 13 of 13) sorted by relevance
/linux-6.6.21/drivers/nvme/host/ |
D | nvme.h | 471 struct nvme_ns __rcu *current_path[]; 486 struct nvme_ns { struct 525 static inline bool nvme_ns_has_pi(struct nvme_ns *ns) in nvme_ns_has_pi() argument 659 static inline u64 nvme_sect_to_lba(struct nvme_ns *ns, sector_t sector) in nvme_sect_to_lba() 667 static inline sector_t nvme_lba_to_sect(struct nvme_ns *ns, u64 lba) in nvme_lba_to_sect() 800 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req); 887 struct nvme_ns *nvme_find_path(struct nvme_ns_head *head); 901 void nvme_mpath_add_disk(struct nvme_ns *ns, __le32 anagrpid); 908 bool nvme_mpath_clear_current_path(struct nvme_ns *ns); 909 void nvme_mpath_revalidate_paths(struct nvme_ns *ns); [all …]
|
D | multipath.c | 85 struct nvme_ns *ns = req->q->queuedata; in nvme_failover_req() 127 struct nvme_ns *ns = rq->q->queuedata; in nvme_mpath_start_request() 141 struct nvme_ns *ns = rq->q->queuedata; in nvme_mpath_end_request() 152 struct nvme_ns *ns; in nvme_kick_requeue_lists() 174 bool nvme_mpath_clear_current_path(struct nvme_ns *ns) in nvme_mpath_clear_current_path() 195 struct nvme_ns *ns; in nvme_mpath_clear_ctrl_paths() 205 void nvme_mpath_revalidate_paths(struct nvme_ns *ns) in nvme_mpath_revalidate_paths() 224 static bool nvme_path_is_disabled(struct nvme_ns *ns) in nvme_path_is_disabled() 240 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path() 243 struct nvme_ns *found = NULL, *fallback = NULL, *ns; in __nvme_find_path() [all …]
|
D | ioctl.c | 16 static bool nvme_cmd_allowed(struct nvme_ns *ns, struct nvme_command *c, in nvme_cmd_allowed() 172 struct nvme_ns *ns = q->queuedata; in nvme_map_user_request() 226 struct nvme_ns *ns = q->queuedata; in nvme_submit_user_cmd() 266 static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio) in nvme_submit_io() 329 struct nvme_ns *ns, __u32 nsid) in nvme_validate_passthru_nsid() 342 static int nvme_user_cmd(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd() 390 static int nvme_user_cmd64(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd64() 560 static int nvme_uring_cmd_io(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_uring_cmd_io() 684 static int nvme_ns_ioctl(struct nvme_ns *ns, unsigned int cmd, in nvme_ns_ioctl() 717 struct nvme_ns *ns = bdev->bd_disk->private_data; in nvme_ioctl() [all …]
|
D | zns.c | 10 int nvme_revalidate_zones(struct nvme_ns *ns) in nvme_revalidate_zones() 48 int nvme_update_zone_info(struct nvme_ns *ns, unsigned lbaf) in nvme_update_zone_info() 120 static void *nvme_zns_alloc_report_buffer(struct nvme_ns *ns, in nvme_zns_alloc_report_buffer() 150 static int nvme_zone_parse_entry(struct nvme_ns *ns, in nvme_zone_parse_entry() 176 int nvme_ns_report_zones(struct nvme_ns *ns, sector_t sector, in nvme_ns_report_zones() 235 blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, struct request *req, in nvme_setup_zone_mgmt_send()
|
D | core.c | 311 struct nvme_ns *ns = req->q->queuedata; in nvme_log_error() 648 struct nvme_ns *ns = container_of(kref, struct nvme_ns, kref); in nvme_free_ns() 656 static inline bool nvme_get_ns(struct nvme_ns *ns) in nvme_get_ns() 661 void nvme_put_ns(struct nvme_ns *ns) in nvme_put_ns() 760 static inline void nvme_setup_flush(struct nvme_ns *ns, in nvme_setup_flush() 768 static blk_status_t nvme_setup_discard(struct nvme_ns *ns, struct request *req, in nvme_setup_discard() 837 static void nvme_set_ref_tag(struct nvme_ns *ns, struct nvme_command *cmnd, in nvme_set_ref_tag() 861 static inline blk_status_t nvme_setup_write_zeroes(struct nvme_ns *ns, in nvme_setup_write_zeroes() 893 static inline blk_status_t nvme_setup_rw(struct nvme_ns *ns, in nvme_setup_rw() 966 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req) in nvme_setup_cmd() [all …]
|
D | fault_inject.c | 64 struct nvme_ns *ns = disk->private_data; in nvme_should_fail()
|
D | pr.c | 57 struct nvme_ns *ns = nvme_find_path(head); in nvme_send_ns_head_pr_command() 68 static int nvme_send_ns_pr_command(struct nvme_ns *ns, struct nvme_command *c, in nvme_send_ns_pr_command()
|
D | rdma.c | 1409 struct nvme_ns *ns = rq->q->queuedata; in nvme_rdma_map_sg_pi() 1981 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_rdma_queue_rq()
|
D | tcp.c | 2330 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 | apple.c | 735 struct nvme_ns *ns = hctx->queue->queuedata; in apple_nvme_queue_rq()
|
D | fc.c | 2788 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_fc_queue_rq()
|
/linux-6.6.21/drivers/nvme/target/ |
D | passthru.c | 219 struct nvme_ns *ns = rq->q->queuedata; in nvmet_passthru_execute_cmd_work() 296 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()
|