Lines Matching refs:nvme_ns

52 void nvme_set_disk_name(char *disk_name, struct nvme_ns *ns,  in nvme_set_disk_name()
69 struct nvme_ns *ns = req->q->queuedata; in nvme_failover_req()
118 struct nvme_ns *ns; in nvme_kick_requeue_lists()
137 bool nvme_mpath_clear_current_path(struct nvme_ns *ns) in nvme_mpath_clear_current_path()
158 struct nvme_ns *ns; in nvme_mpath_clear_ctrl_paths()
169 static bool nvme_path_is_disabled(struct nvme_ns *ns) in nvme_path_is_disabled()
176 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path()
179 struct nvme_ns *found = NULL, *fallback = NULL, *ns; in __nvme_find_path()
215 static struct nvme_ns *nvme_next_ns(struct nvme_ns_head *head, in nvme_next_ns()
216 struct nvme_ns *ns) in nvme_next_ns()
218 ns = list_next_or_null_rcu(&head->list, &ns->siblings, struct nvme_ns, in nvme_next_ns()
222 return list_first_or_null_rcu(&head->list, struct nvme_ns, siblings); in nvme_next_ns()
225 static struct nvme_ns *nvme_round_robin_path(struct nvme_ns_head *head, in nvme_round_robin_path()
226 int node, struct nvme_ns *old) in nvme_round_robin_path()
228 struct nvme_ns *ns, *found, *fallback = NULL; in nvme_round_robin_path()
258 static inline bool nvme_path_is_optimized(struct nvme_ns *ns) in nvme_path_is_optimized()
264 inline struct nvme_ns *nvme_find_path(struct nvme_ns_head *head) in nvme_find_path()
267 struct nvme_ns *ns; in nvme_find_path()
279 struct nvme_ns *ns; in nvme_available_path()
300 struct nvme_ns *ns; in nvme_ns_head_make_request()
411 static void nvme_mpath_set_live(struct nvme_ns *ns) in nvme_mpath_set_live()
483 struct nvme_ns *ns) in nvme_update_ns_ana_state()
500 struct nvme_ns *ns; in nvme_update_ana_state()
636 struct nvme_ns *ns = nvme_get_ns_from_dev(dev); in ana_state_show()
645 struct nvme_ns *ns = data; in nvme_set_ns_ana_state()
655 void nvme_mpath_add_disk(struct nvme_ns *ns, struct nvme_id_ns *id) in nvme_mpath_add_disk()