Searched refs:nvme_ns (Results 1 – 12 of 12) sorted by relevance
| /linux/drivers/nvme/host/ |
| H A D | multipath.c | 139 struct nvme_ns *ns = req->q->queuedata; in nvme_failover_req() 169 struct nvme_ns *ns = rq->q->queuedata; in nvme_mpath_start_request() 190 struct nvme_ns *ns = rq->q->queuedata; in nvme_mpath_end_request() 204 struct nvme_ns *ns; in nvme_kick_requeue_lists() 228 bool nvme_mpath_clear_current_path(struct nvme_ns *ns) in nvme_mpath_clear_current_path() 245 struct nvme_ns *ns; in nvme_mpath_clear_ctrl_paths() 257 void nvme_mpath_revalidate_paths(struct nvme_ns *ns) in nvme_mpath_revalidate_paths() 277 static bool nvme_path_is_disabled(struct nvme_ns *ns) in nvme_path_is_disabled() 294 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path() 297 struct nvme_ns *found = NULL, *fallback = NULL, *ns; in __nvme_find_path() [all …]
|
| H A D | nvme.h | 568 struct nvme_ns __rcu *current_path[]; 583 struct nvme_ns { struct 914 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req); 1020 struct nvme_ns *nvme_find_path(struct nvme_ns_head *head); 1035 void nvme_mpath_remove_sysfs_link(struct nvme_ns *ns); 1036 void nvme_mpath_add_disk(struct nvme_ns *ns, __le32 anagrpid); 1043 bool nvme_mpath_clear_current_path(struct nvme_ns *ns); 1044 void nvme_mpath_revalidate_paths(struct nvme_ns *ns); 1052 struct nvme_ns *ns = req->q->queuedata; in nvme_trace_bio_complete() 1093 static inline void nvme_mpath_add_disk(struct nvme_ns *ns, __le32 anagrpid) in nvme_mpath_add_disk() [all …]
|
| H A D | zns.c | 38 int nvme_query_zone_info(struct nvme_ns *ns, unsigned lbaf, in nvme_query_zone_info() 108 void nvme_update_zone_info(struct nvme_ns *ns, struct queue_limits *lim, in nvme_update_zone_info() 119 static void *nvme_zns_alloc_report_buffer(struct nvme_ns *ns, in nvme_zns_alloc_report_buffer() 149 static int nvme_zone_parse_entry(struct nvme_ns *ns, in nvme_zone_parse_entry() 175 int nvme_ns_report_zones(struct nvme_ns *ns, sector_t sector, in nvme_ns_report_zones() 234 blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, struct request *req, in nvme_setup_zone_mgmt_send()
|
| H A D | core.c | 339 struct nvme_ns *ns = req->q->queuedata; in nvme_log_error() 370 struct nvme_ns *ns = req->q->queuedata; in nvme_log_err_passthru() 428 struct nvme_ns *ns = req->q->queuedata; in nvme_end_req_zoned() 695 struct nvme_ns *ns = container_of(kref, struct nvme_ns, kref); in nvme_free_ns() 703 bool nvme_get_ns(struct nvme_ns *ns) in nvme_get_ns() 708 void nvme_put_ns(struct nvme_ns *ns) in nvme_put_ns() 729 struct nvme_ns *ns = req->q->disk->private_data; in nvme_init_request() 821 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() 905 static void nvme_set_ref_tag(struct nvme_ns *ns, struct nvme_command *cmnd, in nvme_set_ref_tag() [all …]
|
| H A D | fault_inject.c | 65 struct nvme_ns *ns = disk->private_data; in nvme_should_fail()
|
| H A 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()
|
| H A D | sysfs.c | 189 struct nvme_ns *ns; in ns_head_update_nuse() 213 static int ns_update_nuse(struct nvme_ns *ns) in ns_update_nuse()
|
| H A D | rdma.c | 1413 struct nvme_ns *ns = rq->q->queuedata; in nvme_rdma_map_sg_pi() 1995 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_rdma_queue_rq()
|
| H A D | tcp.c | 2713 static blk_status_t nvme_tcp_setup_cmd_pdu(struct nvme_ns *ns, in nvme_tcp_setup_cmd_pdu() 2778 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_tcp_queue_rq()
|
| H A D | apple.c | 768 struct nvme_ns *ns = hctx->queue->queuedata; in apple_nvme_queue_rq()
|
| H A D | fc.c | 2755 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_fc_queue_rq()
|
| /linux/drivers/nvme/target/ |
| H A D | passthru.c | 219 struct nvme_ns *ns = rq->q->queuedata; in nvmet_passthru_execute_cmd_work() 301 struct nvme_ns *ns = NULL; in nvmet_passthru_execute_cmd()
|