Home
last modified time | relevance | path

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

/linux-6.1.9/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.h445 struct nvme_ns __rcu *current_path[];
459 struct nvme_ns { struct
500 static inline bool nvme_ns_has_pi(struct nvme_ns *ns) in nvme_ns_has_pi() argument
634 static inline u64 nvme_sect_to_lba(struct nvme_ns *ns, sector_t sector) in nvme_sect_to_lba()
642 static inline sector_t nvme_lba_to_sect(struct nvme_ns *ns, u64 lba) in nvme_lba_to_sect()
779 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req);
864 struct nvme_ns *nvme_find_path(struct nvme_ns_head *head);
878 void nvme_mpath_add_disk(struct nvme_ns *ns, __le32 anagrpid);
885 bool nvme_mpath_clear_current_path(struct nvme_ns *ns);
886 void nvme_mpath_revalidate_paths(struct nvme_ns *ns);
[all …]
Dioctl.c92 struct nvme_ns *ns = q->queuedata; in nvme_map_user_request()
185 static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio) in nvme_submit_io()
250 struct nvme_ns *ns, __u32 nsid) in nvme_validate_passthru_nsid()
263 static int nvme_user_cmd(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd()
310 static int nvme_user_cmd64(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd64()
472 static int nvme_uring_cmd_io(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_uring_cmd_io()
603 static int nvme_ns_ioctl(struct nvme_ns *ns, unsigned int cmd, in nvme_ns_ioctl()
631 static int __nvme_ioctl(struct nvme_ns *ns, unsigned int cmd, void __user *arg) in __nvme_ioctl()
641 struct nvme_ns *ns = bdev->bd_disk->private_data; in nvme_ioctl()
648 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.c310 struct nvme_ns *ns = req->q->queuedata; in nvme_log_error()
636 struct nvme_ns *ns = container_of(kref, struct nvme_ns, kref); in nvme_free_ns()
644 static inline bool nvme_get_ns(struct nvme_ns *ns) in nvme_get_ns()
649 void nvme_put_ns(struct nvme_ns *ns) in nvme_put_ns()
746 static inline void nvme_setup_flush(struct nvme_ns *ns, in nvme_setup_flush()
754 static blk_status_t nvme_setup_discard(struct nvme_ns *ns, struct request *req, in nvme_setup_discard()
815 static void nvme_set_ref_tag(struct nvme_ns *ns, struct nvme_command *cmnd, in nvme_set_ref_tag()
839 static inline blk_status_t nvme_setup_write_zeroes(struct nvme_ns *ns, in nvme_setup_write_zeroes()
868 static inline blk_status_t nvme_setup_rw(struct nvme_ns *ns, in nvme_setup_rw()
941 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.c1440 struct nvme_ns *ns = rq->q->queuedata; in nvme_rdma_map_sg_pi()
2012 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_rdma_queue_rq()
Dtcp.c2338 static blk_status_t nvme_tcp_setup_cmd_pdu(struct nvme_ns *ns, in nvme_tcp_setup_cmd_pdu()
2403 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.c2779 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_fc_queue_rq()
/linux-6.1.9/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()