Home
last modified time | relevance | path

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

/drivers/nvme/host/
Dnvme.h443 struct nvme_ns __rcu *current_path[];
457 struct nvme_ns { struct
495 static inline bool nvme_ns_has_pi(struct nvme_ns *ns) in nvme_ns_has_pi() argument
598 static inline u64 nvme_sect_to_lba(struct nvme_ns *ns, sector_t sector) in nvme_sect_to_lba()
606 static inline sector_t nvme_lba_to_sect(struct nvme_ns *ns, u64 lba) in nvme_lba_to_sect()
712 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req);
787 struct nvme_ns *nvme_find_path(struct nvme_ns_head *head);
797 bool nvme_mpath_set_disk_name(struct nvme_ns *ns, char *disk_name, int *flags);
801 void nvme_mpath_add_disk(struct nvme_ns *ns, struct nvme_id_ns *id);
808 bool nvme_mpath_clear_current_path(struct nvme_ns *ns);
[all …]
Dmultipath.c53 bool nvme_mpath_set_disk_name(struct nvme_ns *ns, char *disk_name, int *flags) in nvme_mpath_set_disk_name()
70 struct nvme_ns *ns = req->q->queuedata; in nvme_failover_req()
99 struct nvme_ns *ns; in nvme_kick_requeue_lists()
118 bool nvme_mpath_clear_current_path(struct nvme_ns *ns) in nvme_mpath_clear_current_path()
139 struct nvme_ns *ns; in nvme_mpath_clear_ctrl_paths()
149 void nvme_mpath_revalidate_paths(struct nvme_ns *ns) in nvme_mpath_revalidate_paths()
168 static bool nvme_path_is_disabled(struct nvme_ns *ns) in nvme_path_is_disabled()
184 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path()
187 struct nvme_ns *found = NULL, *fallback = NULL, *ns; in __nvme_find_path()
223 static struct nvme_ns *nvme_next_ns(struct nvme_ns_head *head, in nvme_next_ns()
[all …]
Dioctl.c62 struct nvme_ns *ns = q->queuedata; in nvme_submit_user_cmd()
113 static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio) in nvme_submit_io()
177 struct nvme_ns *ns, __u32 nsid) in nvme_validate_passthru_nsid()
190 static int nvme_user_cmd(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd()
237 static int nvme_user_cmd64(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd64()
323 static int nvme_ns_ioctl(struct nvme_ns *ns, unsigned int cmd, in nvme_ns_ioctl()
349 static int __nvme_ioctl(struct nvme_ns *ns, unsigned int cmd, void __user *arg) in __nvme_ioctl()
359 struct nvme_ns *ns = bdev->bd_disk->private_data; in nvme_ioctl()
366 struct nvme_ns *ns = in nvme_ns_chr_ioctl()
367 container_of(file_inode(file)->i_cdev, struct nvme_ns, cdev); 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()
174 int nvme_ns_report_zones(struct nvme_ns *ns, sector_t sector, in nvme_ns_report_zones()
233 blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, struct request *req, in nvme_setup_zone_mgmt_send()
Dcore.c129 static void nvme_set_queue_dying(struct nvme_ns *ns) in nvme_set_queue_dying()
589 struct nvme_ns *ns = container_of(kref, struct nvme_ns, kref); in nvme_free_ns()
597 static inline bool nvme_get_ns(struct nvme_ns *ns) in nvme_get_ns()
602 void nvme_put_ns(struct nvme_ns *ns) in nvme_put_ns()
822 static inline void nvme_setup_flush(struct nvme_ns *ns, in nvme_setup_flush()
829 static blk_status_t nvme_setup_discard(struct nvme_ns *ns, struct request *req, in nvme_setup_discard()
899 static inline blk_status_t nvme_setup_write_zeroes(struct nvme_ns *ns, in nvme_setup_write_zeroes()
918 static inline blk_status_t nvme_setup_rw(struct nvme_ns *ns, in nvme_setup_rw()
988 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req) in nvme_setup_cmd()
1138 u32 nvme_command_effects(struct nvme_ctrl *ctrl, struct nvme_ns *ns, u8 opcode) in nvme_command_effects()
[all …]
Dfault_inject.c64 struct nvme_ns *ns = disk->private_data; in nvme_should_fail()
Dtcp.c2360 static blk_status_t nvme_tcp_setup_cmd_pdu(struct nvme_ns *ns, in nvme_tcp_setup_cmd_pdu()
2424 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_tcp_queue_rq()
Drdma.c1481 struct nvme_ns *ns = rq->q->queuedata; in nvme_rdma_map_sg_pi()
2045 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_rdma_queue_rq()
Dpci.c903 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_queue_rq()
Dfc.c2772 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_fc_queue_rq()
/drivers/nvme/target/
Dpassthru.c233 struct nvme_ns *ns = NULL; in nvmet_passthru_execute_cmd()
Dloop.c134 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_loop_queue_rq()