Lines Matching refs:ana_state
221 switch (ns->ana_state) { in __nvme_find_path()
273 if (ns->ana_state == NVME_ANA_OPTIMIZED) { in nvme_round_robin_path()
277 if (ns->ana_state == NVME_ANA_NONOPTIMIZED) in nvme_round_robin_path()
288 (old->ana_state == NVME_ANA_OPTIMIZED || in nvme_round_robin_path()
289 (!found && old->ana_state == NVME_ANA_NONOPTIMIZED))) in nvme_round_robin_path()
302 ns->ana_state == NVME_ANA_OPTIMIZED; in nvme_path_is_optimized()
624 ns->ana_state = desc->state; in nvme_update_ns_ana_state()
635 if (nvme_state_is_live(ns->ana_state) && in nvme_update_ns_ana_state()
796 return sysfs_emit(buf, "%s\n", nvme_ana_state_names[ns->ana_state]); in ana_state_show()
798 DEVICE_ATTR_RO(ana_state);
833 ns->ana_state = NVME_ANA_OPTIMIZED; in nvme_mpath_add_disk()