Home
last modified time | relevance | path

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

/drivers/nvme/host/
Dmultipath.c85 struct nvme_ns *ns = req->q->queuedata; in nvme_failover_req()
119 struct nvme_ns *ns; in nvme_kick_requeue_lists()
141 bool nvme_mpath_clear_current_path(struct nvme_ns *ns) in nvme_mpath_clear_current_path()
162 struct nvme_ns *ns; in nvme_mpath_clear_ctrl_paths()
172 void nvme_mpath_revalidate_paths(struct nvme_ns *ns) in nvme_mpath_revalidate_paths()
191 static bool nvme_path_is_disabled(struct nvme_ns *ns) in nvme_path_is_disabled()
207 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path()
210 struct nvme_ns *found = NULL, *fallback = NULL, *ns; in __nvme_find_path()
246 static struct nvme_ns *nvme_next_ns(struct nvme_ns_head *head, in nvme_next_ns()
247 struct nvme_ns *ns) in nvme_next_ns()
[all …]
Dnvme.h461 struct nvme_ns __rcu *current_path[];
475 struct nvme_ns { struct
516 static inline bool nvme_ns_has_pi(struct nvme_ns *ns) in nvme_ns_has_pi() argument
650 static inline u64 nvme_sect_to_lba(struct nvme_ns *ns, sector_t sector) in nvme_sect_to_lba()
658 static inline sector_t nvme_lba_to_sect(struct nvme_ns *ns, u64 lba) in nvme_lba_to_sect()
795 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req);
880 struct nvme_ns *nvme_find_path(struct nvme_ns_head *head);
894 void nvme_mpath_add_disk(struct nvme_ns *ns, __le32 anagrpid);
901 bool nvme_mpath_clear_current_path(struct nvme_ns *ns);
902 void nvme_mpath_revalidate_paths(struct nvme_ns *ns);
[all …]
Dioctl.c96 struct nvme_ns *ns = q->queuedata; in nvme_map_user_request()
189 static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio) in nvme_submit_io()
254 struct nvme_ns *ns, __u32 nsid) in nvme_validate_passthru_nsid()
267 static int nvme_user_cmd(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd()
314 static int nvme_user_cmd64(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd64()
481 static int nvme_uring_cmd_io(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_uring_cmd_io()
612 static int nvme_ns_ioctl(struct nvme_ns *ns, unsigned int cmd, in nvme_ns_ioctl()
640 static int __nvme_ioctl(struct nvme_ns *ns, unsigned int cmd, void __user *arg) in __nvme_ioctl()
650 struct nvme_ns *ns = bdev->bd_disk->private_data; in nvme_ioctl()
657 struct nvme_ns *ns = in nvme_ns_chr_ioctl()
[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()
121 static void *nvme_zns_alloc_report_buffer(struct nvme_ns *ns, in nvme_zns_alloc_report_buffer()
151 static int nvme_zone_parse_entry(struct nvme_ns *ns, in nvme_zone_parse_entry()
177 int nvme_ns_report_zones(struct nvme_ns *ns, sector_t sector, in nvme_ns_report_zones()
236 blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, struct request *req, in nvme_setup_zone_mgmt_send()
Dcore.c311 struct nvme_ns *ns = req->q->queuedata; in nvme_log_error()
646 struct nvme_ns *ns = container_of(kref, struct nvme_ns, kref); in nvme_free_ns()
654 static inline bool nvme_get_ns(struct nvme_ns *ns) in nvme_get_ns()
659 void nvme_put_ns(struct nvme_ns *ns) in nvme_put_ns()
756 static inline void nvme_setup_flush(struct nvme_ns *ns, in nvme_setup_flush()
764 static blk_status_t nvme_setup_discard(struct nvme_ns *ns, struct request *req, in nvme_setup_discard()
835 static void nvme_set_ref_tag(struct nvme_ns *ns, struct nvme_command *cmnd, in nvme_set_ref_tag()
859 static inline blk_status_t nvme_setup_write_zeroes(struct nvme_ns *ns, in nvme_setup_write_zeroes()
888 static inline blk_status_t nvme_setup_rw(struct nvme_ns *ns, in nvme_setup_rw()
961 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req) in nvme_setup_cmd()
[all …]
Dfault_inject.c64 struct nvme_ns *ns = disk->private_data; in nvme_should_fail()
Drdma.c1444 struct nvme_ns *ns = rq->q->queuedata; in nvme_rdma_map_sg_pi()
2016 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_rdma_queue_rq()
Dtcp.c2345 static blk_status_t nvme_tcp_setup_cmd_pdu(struct nvme_ns *ns, in nvme_tcp_setup_cmd_pdu()
2410 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_tcp_queue_rq()
Dapple.c735 struct nvme_ns *ns = hctx->queue->queuedata; in apple_nvme_queue_rq()
Dfc.c2772 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_fc_queue_rq()
/drivers/nvme/target/
Dpassthru.c295 struct nvme_ns *ns = NULL; in nvmet_passthru_execute_cmd()
Dloop.c134 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_loop_queue_rq()