Lines Matching refs:nvme_ns
85 struct nvme_ns *ns = req->q->queuedata; in nvme_failover_req()
127 struct nvme_ns *ns = rq->q->queuedata; in nvme_mpath_start_request()
141 struct nvme_ns *ns = rq->q->queuedata; in nvme_mpath_end_request()
152 struct nvme_ns *ns; in nvme_kick_requeue_lists()
174 bool nvme_mpath_clear_current_path(struct nvme_ns *ns) in nvme_mpath_clear_current_path()
195 struct nvme_ns *ns; in nvme_mpath_clear_ctrl_paths()
205 void nvme_mpath_revalidate_paths(struct nvme_ns *ns) in nvme_mpath_revalidate_paths()
224 static bool nvme_path_is_disabled(struct nvme_ns *ns) in nvme_path_is_disabled()
240 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path()
243 struct nvme_ns *found = NULL, *fallback = NULL, *ns; in __nvme_find_path()
279 static struct nvme_ns *nvme_next_ns(struct nvme_ns_head *head, in nvme_next_ns()
280 struct nvme_ns *ns) in nvme_next_ns()
282 ns = list_next_or_null_rcu(&head->list, &ns->siblings, struct nvme_ns, in nvme_next_ns()
286 return list_first_or_null_rcu(&head->list, struct nvme_ns, siblings); in nvme_next_ns()
289 static struct nvme_ns *nvme_round_robin_path(struct nvme_ns_head *head, in nvme_round_robin_path()
290 int node, struct nvme_ns *old) in nvme_round_robin_path()
292 struct nvme_ns *ns, *found = NULL; in nvme_round_robin_path()
332 static inline bool nvme_path_is_optimized(struct nvme_ns *ns) in nvme_path_is_optimized()
338 inline struct nvme_ns *nvme_find_path(struct nvme_ns_head *head) in nvme_find_path()
341 struct nvme_ns *ns; in nvme_find_path()
356 struct nvme_ns *ns; in nvme_available_path()
378 struct nvme_ns *ns; in nvme_ns_head_submit_bio()
430 struct nvme_ns *ns; in nvme_ns_head_report_zones()
567 static void nvme_mpath_set_live(struct nvme_ns *ns) in nvme_mpath_set_live()
655 struct nvme_ns *ns) in nvme_update_ns_ana_state()
679 struct nvme_ns *ns; in nvme_update_ana_state()
828 struct nvme_ns *ns = nvme_get_ns_from_dev(dev); in ana_state_show()
846 void nvme_mpath_add_disk(struct nvme_ns *ns, __le32 anagrpid) in nvme_mpath_add_disk()