Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nvme/host/
H A Dnvme.h483 struct nvme_ns __rcu *current_path[];
498 struct nvme_ns { struct
537 static inline bool nvme_ns_has_pi(struct nvme_ns *ns) in nvme_ns_has_pi() argument
921 struct nvme_ns *nvme_find_path(struct nvme_ns_head *head);
942 bool nvme_mpath_clear_current_path(struct nvme_ns *ns);
943 void nvme_mpath_revalidate_paths(struct nvme_ns *ns);
951 struct nvme_ns *ns = req->q->queuedata; in nvme_trace_bio_complete()
1041 int nvme_revalidate_zones(struct nvme_ns *ns);
1042 int nvme_ns_report_zones(struct nvme_ns *ns, sector_t sector,
1136 bool nvme_get_ns(struct nvme_ns *ns);
[all …]
H A Dmultipath.c153 struct nvme_ns *ns; in nvme_kick_requeue_lists()
197 struct nvme_ns *ns; in nvme_mpath_clear_ctrl_paths()
284 struct nvme_ns *ns) in nvme_next_ns()
294 int node, struct nvme_ns *old) in nvme_round_robin_path()
296 struct nvme_ns *ns, *found = NULL; in nvme_round_robin_path()
345 struct nvme_ns *ns; in nvme_find_path()
360 struct nvme_ns *ns; in nvme_available_path()
382 struct nvme_ns *ns; in nvme_ns_head_submit_bio()
434 struct nvme_ns *ns; in nvme_ns_head_report_zones()
685 struct nvme_ns *ns) in nvme_update_ns_ana_state()
[all …]
H A Dioctl.c16 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()
329 struct nvme_ns *ns, __u32 nsid) in nvme_validate_passthru_nsid()
717 struct nvme_ns *ns = bdev->bd_disk->private_data; in nvme_ioctl()
732 struct nvme_ns *ns = in nvme_ns_chr_ioctl()
781 struct nvme_ns, cdev); in nvme_ns_chr_uring_cmd()
824 struct nvme_ns *ns; in nvme_ns_head_ioctl()
859 struct nvme_ns *ns; in nvme_ns_head_chr_ioctl()
883 struct nvme_ns *ns = nvme_find_path(head); in nvme_ns_head_chr_uring_cmd()
[all …]
H A Dzns.c10 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()
H A Dcore.c627 struct nvme_ns *ns = container_of(kref, struct nvme_ns, kref); in nvme_free_ns()
3568 struct nvme_ns *tmp; in nvme_ns_add_to_ctrl_list()
3581 struct nvme_ns *ns; in nvme_alloc_ns()
3763 struct nvme_ns *ns; in nvme_scan_ns()
3808 struct nvme_ns *ns, *next; in nvme_remove_invalid_namespaces()
4555 struct nvme_ns *ns; in nvme_mark_namespaces_dead()
4568 struct nvme_ns *ns; in nvme_unfreeze()
4582 struct nvme_ns *ns; in nvme_wait_freeze_timeout()
4599 struct nvme_ns *ns; in nvme_wait_freeze()
4612 struct nvme_ns *ns; in nvme_start_freeze()
[all …]
H A Dfault_inject.c64 struct nvme_ns *ns = disk->private_data; in nvme_should_fail()
H A Dpr.c57 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()
H A Drdma.c1409 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()
H A Dtcp.c2330 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()
H A Dapple.c735 struct nvme_ns *ns = hctx->queue->queuedata; in apple_nvme_queue_rq()
H A Dfc.c2788 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_fc_queue_rq()
/openbmc/u-boot/drivers/nvme/
H A Dnvme_show.c64 static void print_formats(struct nvme_id_ns *id, struct nvme_ns *ns) in print_formats()
107 struct nvme_ns *ns = dev_get_priv(udev); in nvme_print_info()
H A Dnvme.c639 struct nvme_ns *ns = dev_get_priv(udev); in nvme_blk_probe()
674 struct nvme_ns *ns = dev_get_priv(udev); in nvme_blk_rw()
754 .priv_auto_alloc_size = sizeof(struct nvme_ns),
H A Dnvme.h636 struct nvme_ns { struct
/openbmc/qemu/hw/nvme/
H A Dctrl.c4618 ns = nvme_ns(n, nsid); in nvme_io_cmd()
4910 ns = nvme_ns(n, nsid); in nvme_smart_info()
5585 ns = nvme_ns(n, nsid); in nvme_identify_ns()
5695 ns = nvme_ns(n, nsid); in nvme_identify_ns_csi()
5742 ns = nvme_ns(n, i); in nvme_identify_nslist()
5790 ns = nvme_ns(n, i); in nvme_identify_nslist_csi()
5863 ns = nvme_ns(n, nsid); in nvme_identify_ns_descr_list()
7136 ns = nvme_ns(n, nsid); in nvme_directive_receive()
7329 ns = nvme_ns(n, i); in nvme_ctrl_reset()
7401 ns = nvme_ns(n, i); in nvme_ctrl_shutdown()
[all …]
H A Dns.c750 if (nvme_ns(n, i) || nvme_subsys_ns(subsys, i)) { in nvme_ns_realize()
763 if (nvme_ns(n, nsid) || nvme_subsys_ns(subsys, nsid)) { in nvme_ns_realize()
H A Dnvme.h629 static inline NvmeNamespace *nvme_ns(NvmeCtrl *n, uint32_t nsid) in nvme_ns() function
/openbmc/linux/drivers/nvme/target/
H A Dpassthru.c219 struct nvme_ns *ns = rq->q->queuedata; in nvmet_passthru_execute_cmd_work()
296 struct nvme_ns *ns = NULL; in nvmet_passthru_execute_cmd()
H A Dloop.c134 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_loop_queue_rq()