Lines Matching defs:ns
53 bool nvme_mpath_set_disk_name(struct nvme_ns *ns, char *disk_name, int *flags) in nvme_mpath_set_disk_name()
70 struct nvme_ns *ns = req->q->queuedata; in nvme_failover_req() local
99 struct nvme_ns *ns; in nvme_kick_requeue_lists() local
118 bool nvme_mpath_clear_current_path(struct nvme_ns *ns) in nvme_mpath_clear_current_path()
139 struct nvme_ns *ns; in nvme_mpath_clear_ctrl_paths() local
149 void nvme_mpath_revalidate_paths(struct nvme_ns *ns) in nvme_mpath_revalidate_paths()
168 static bool nvme_path_is_disabled(struct nvme_ns *ns) in nvme_path_is_disabled()
187 struct nvme_ns *found = NULL, *fallback = NULL, *ns; in __nvme_find_path() local
224 struct nvme_ns *ns) in nvme_next_ns()
236 struct nvme_ns *ns, *found = NULL; in nvme_round_robin_path() local
276 static inline bool nvme_path_is_optimized(struct nvme_ns *ns) in nvme_path_is_optimized()
285 struct nvme_ns *ns; in nvme_find_path() local
300 struct nvme_ns *ns; in nvme_available_path() local
322 struct nvme_ns *ns; in nvme_ns_head_submit_bio() local
377 struct nvme_ns *ns; in nvme_ns_head_report_zones() local
501 static void nvme_mpath_set_live(struct nvme_ns *ns) in nvme_mpath_set_live()
579 struct nvme_ns *ns) in nvme_update_ns_ana_state()
603 struct nvme_ns *ns; in nvme_update_ana_state() local
757 struct nvme_ns *ns = nvme_get_ns_from_dev(dev); in ana_state_show() local
775 void nvme_mpath_add_disk(struct nvme_ns *ns, struct nvme_id_ns *id) in nvme_mpath_add_disk()