Lines Matching refs:nvme_ns
85 struct nvme_ns *ns = req->q->queuedata; in nvme_failover_req()
119 struct nvme_ns *ns; in nvme_kick_requeue_lists()
141 bool nvme_mpath_clear_current_path(struct nvme_ns *ns) in nvme_mpath_clear_current_path()
162 struct nvme_ns *ns; in nvme_mpath_clear_ctrl_paths()
172 void nvme_mpath_revalidate_paths(struct nvme_ns *ns) in nvme_mpath_revalidate_paths()
191 static bool nvme_path_is_disabled(struct nvme_ns *ns) in nvme_path_is_disabled()
207 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path()
210 struct nvme_ns *found = NULL, *fallback = NULL, *ns; in __nvme_find_path()
246 static struct nvme_ns *nvme_next_ns(struct nvme_ns_head *head, in nvme_next_ns()
247 struct nvme_ns *ns) in nvme_next_ns()
249 ns = list_next_or_null_rcu(&head->list, &ns->siblings, struct nvme_ns, in nvme_next_ns()
253 return list_first_or_null_rcu(&head->list, struct nvme_ns, siblings); in nvme_next_ns()
256 static struct nvme_ns *nvme_round_robin_path(struct nvme_ns_head *head, in nvme_round_robin_path()
257 int node, struct nvme_ns *old) in nvme_round_robin_path()
259 struct nvme_ns *ns, *found = NULL; in nvme_round_robin_path()
299 static inline bool nvme_path_is_optimized(struct nvme_ns *ns) in nvme_path_is_optimized()
305 inline struct nvme_ns *nvme_find_path(struct nvme_ns_head *head) in nvme_find_path()
308 struct nvme_ns *ns; in nvme_find_path()
323 struct nvme_ns *ns; in nvme_available_path()
345 struct nvme_ns *ns; in nvme_ns_head_submit_bio()
397 struct nvme_ns *ns; in nvme_ns_head_report_zones()
533 static void nvme_mpath_set_live(struct nvme_ns *ns) in nvme_mpath_set_live()
621 struct nvme_ns *ns) in nvme_update_ns_ana_state()
645 struct nvme_ns *ns; in nvme_update_ana_state()
794 struct nvme_ns *ns = nvme_get_ns_from_dev(dev); in ana_state_show()
812 void nvme_mpath_add_disk(struct nvme_ns *ns, __le32 anagrpid) in nvme_mpath_add_disk()