Searched refs:ana_state (Results 1 – 6 of 6) sorted by relevance
254 switch (ns->ana_state) { in __nvme_find_path()306 if (ns->ana_state == NVME_ANA_OPTIMIZED) { in nvme_round_robin_path()310 if (ns->ana_state == NVME_ANA_NONOPTIMIZED) in nvme_round_robin_path()321 (old->ana_state == NVME_ANA_OPTIMIZED || in nvme_round_robin_path()322 (!found && old->ana_state == NVME_ANA_NONOPTIMIZED))) in nvme_round_robin_path()335 ns->ana_state == NVME_ANA_OPTIMIZED; in nvme_path_is_optimized()658 ns->ana_state = desc->state; in nvme_update_ns_ana_state()669 if (nvme_state_is_live(ns->ana_state) && in nvme_update_ns_ana_state()830 return sysfs_emit(buf, "%s\n", nvme_ana_state_names[ns->ana_state]); in ana_state_show()832 DEVICE_ATTR_RO(ana_state);[all …]
493 enum nvme_ana_state ana_state; member
1613 enum nvme_ana_state state = grp->port->ana_state[grp->grpid]; in nvmet_ana_group_ana_state_show()1628 enum nvme_ana_state *ana_state = grp->port->ana_state; in nvmet_ana_group_ana_state_store() local1641 ana_state[grp->grpid] = (enum nvme_ana_state) nvmet_ana_state[i].type; in nvmet_ana_group_ana_state_store()1648 CONFIGFS_ATTR(nvmet_ana_group_, ana_state);1663 grp->port->ana_state[grp->grpid] = NVME_ANA_INACCESSIBLE; in nvmet_ana_group_release()1737 kfree(port->ana_state); in nvmet_port_release()1778 port->ana_state = kcalloc(NVMET_MAX_ANAGRPS + 1, in nvmet_ports_make()1779 sizeof(*port->ana_state), GFP_KERNEL); in nvmet_ports_make()1780 if (!port->ana_state) { in nvmet_ports_make()1787 port->ana_state[1] = NVME_ANA_OPTIMIZED; in nvmet_ports_make()[all …]
270 desc->state = req->port->ana_state[grpid]; in nvmet_format_ana_group()528 switch (req->port->ana_state[req->ns->anagrpid]) { in nvmet_execute_identify_ns()
160 enum nvme_ana_state *ana_state; member
848 enum nvme_ana_state state = port->ana_state[ns->anagrpid]; in nvmet_check_ana_state()