Searched refs:nvme_ns (Results 1 – 12 of 12) sorted by relevance
| /linux/drivers/nvme/host/ |
| H A D | multipath.c | 149 struct nvme_ns *ns = req->q->queuedata; in nvme_failover_req() 180 struct nvme_ns *ns = rq->q->queuedata; in nvme_mpath_start_request() 204 struct nvme_ns *ns = rq->q->queuedata; in nvme_mpath_end_request() 218 struct nvme_ns *ns; in nvme_kick_requeue_lists() 242 bool nvme_mpath_clear_current_path(struct nvme_ns *ns) in nvme_mpath_clear_current_path() 259 struct nvme_ns *ns; in nvme_mpath_clear_ctrl_paths() 274 struct nvme_ns *ns; in nvme_mpath_revalidate_paths() 310 static bool nvme_path_is_disabled(struct nvme_ns *ns) in nvme_path_is_disabled() 327 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path() 331 struct nvme_ns *found = NULL, *fallback = NULL, *ns; in __nvme_find_path() [all …]
|
| H A D | nvme.h | 590 struct nvme_ns __rcu_guarded *current_path[]; 605 struct nvme_ns { struct 940 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req); 1049 struct nvme_ns *nvme_find_path(struct nvme_ns_head *head) 1068 void nvme_mpath_remove_sysfs_link(struct nvme_ns *ns); 1069 void nvme_mpath_add_disk(struct nvme_ns *ns, __le32 anagrpid); 1076 bool nvme_mpath_clear_current_path(struct nvme_ns *ns); 1085 struct nvme_ns *ns = req->q->queuedata; in nvme_trace_bio_complete() 1129 static inline void nvme_mpath_add_disk(struct nvme_ns *ns, __le32 anagrpid) in nvme_mpath_add_disk() 1135 static inline void nvme_mpath_add_sysfs_link(struct nvme_ns *ns) in nvme_mpath_add_sysfs_link() [all …]
|
| H A D | ioctl.c | 61 static bool nvme_ns_cmd_allowed(struct nvme_ns *ns, struct nvme_command *c, in nvme_ns_cmd_allowed() 96 static bool nvme_cmd_allowed(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_cmd_allowed() 137 struct nvme_ns *ns = q->queuedata; in nvme_alloc_user_request() 161 struct nvme_ns *ns = q->queuedata; in nvme_map_user_request() 198 struct nvme_ns *ns = q->queuedata; in nvme_submit_user_cmd() 237 static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio, in nvme_submit_io() 304 struct nvme_ns *ns, __u32 nsid) in nvme_validate_passthru_nsid() 316 static int nvme_user_cmd(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd() 364 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() [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() 176 int nvme_ns_report_zones(struct nvme_ns *ns, sector_t sector, in nvme_ns_report_zones() 239 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 | 333 struct nvme_ns *ns = req->q->queuedata; in nvme_retry_req() 350 struct nvme_ns *ns = req->q->queuedata; in nvme_log_error() 381 struct nvme_ns *ns = req->q->queuedata; in nvme_log_err_passthru() 439 struct nvme_ns *ns = req->q->queuedata; in nvme_end_req_zoned() 448 struct nvme_ns *ns = req->q->queuedata; in __nvme_end_req() 720 struct nvme_ns *ns = container_of(kref, struct nvme_ns, kref); in nvme_free_ns() 728 bool nvme_get_ns(struct nvme_ns *ns) in nvme_get_ns() 733 void nvme_put_ns(struct nvme_ns *ns) in nvme_put_ns() 754 struct nvme_ns *ns = req->q->disk->private_data; in nvme_init_request() 844 static inline void nvme_setup_flush(struct nvme_ns *ns, in nvme_setup_flush() [all …]
|
| H A D | sysfs.c | 190 struct nvme_ns *ns; in ns_head_update_nuse() 214 static int ns_update_nuse(struct nvme_ns *ns) in ns_update_nuse() 353 struct nvme_ns *ns = nvme_get_ns_from_dev(dev); in command_retries_count_show() 363 struct nvme_ns *ns = nvme_get_ns_from_dev(dev); in command_retries_count_store() 378 struct nvme_ns *ns = nvme_get_ns_from_dev(dev); in nvme_io_errors_show() 388 struct nvme_ns *ns = nvme_get_ns_from_dev(dev); in nvme_io_errors_store() 778 struct nvme_ns *ns; in nvme_io_timeout_store()
|
| 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 | tcp.c | 2774 static blk_status_t nvme_tcp_setup_cmd_pdu(struct nvme_ns *ns, in nvme_tcp_setup_cmd_pdu() 2840 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_tcp_queue_rq()
|
| H A D | apple.c | 784 struct nvme_ns *ns = hctx->queue->queuedata; in apple_nvme_queue_rq()
|
| H A D | fc.c | 2761 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_fc_queue_rq()
|
| /linux/drivers/nvme/target/ |
| H A D | passthru.c | 228 struct nvme_ns *ns = rq->q->queuedata; in nvmet_passthru_execute_cmd_work() 310 struct nvme_ns *ns = NULL; in nvmet_passthru_execute_cmd()
|