Searched refs:ana_state (Results 1 – 6 of 6) sorted by relevance
198 switch (ns->ana_state) { in __nvme_find_path()250 if (ns->ana_state == NVME_ANA_OPTIMIZED) { in nvme_round_robin_path()254 if (ns->ana_state == NVME_ANA_NONOPTIMIZED) in nvme_round_robin_path()265 (old->ana_state == NVME_ANA_OPTIMIZED || in nvme_round_robin_path()266 (!found && old->ana_state == NVME_ANA_NONOPTIMIZED))) in nvme_round_robin_path()279 ns->ana_state == NVME_ANA_OPTIMIZED; in nvme_path_is_optimized()582 ns->ana_state = desc->state; in nvme_update_ns_ana_state()593 if (nvme_state_is_live(ns->ana_state) && in nvme_update_ns_ana_state()759 return sysfs_emit(buf, "%s\n", nvme_ana_state_names[ns->ana_state]); in ana_state_show()761 DEVICE_ATTR_RO(ana_state);[all …]
464 enum nvme_ana_state ana_state; member
1441 enum nvme_ana_state state = grp->port->ana_state[grp->grpid]; in nvmet_ana_group_ana_state_show()1456 enum nvme_ana_state *ana_state = grp->port->ana_state; in nvmet_ana_group_ana_state_store() local1469 ana_state[grp->grpid] = (enum nvme_ana_state) nvmet_ana_state[i].type; in nvmet_ana_group_ana_state_store()1476 CONFIGFS_ATTR(nvmet_ana_group_, ana_state);1491 grp->port->ana_state[grp->grpid] = NVME_ANA_INACCESSIBLE; in nvmet_ana_group_release()1564 kfree(port->ana_state); in nvmet_port_release()1605 port->ana_state = kcalloc(NVMET_MAX_ANAGRPS + 1, in nvmet_ports_make()1606 sizeof(*port->ana_state), GFP_KERNEL); in nvmet_ports_make()1607 if (!port->ana_state) { in nvmet_ports_make()1614 port->ana_state[1] = NVME_ANA_OPTIMIZED; in nvmet_ports_make()[all …]
268 desc->state = req->port->ana_state[grpid]; in nvmet_format_ana_group()523 switch (req->port->ana_state[req->ns->anagrpid]) { in nvmet_execute_identify_ns()
146 enum nvme_ana_state *ana_state; member
845 enum nvme_ana_state state = port->ana_state[ns->anagrpid]; in nvmet_check_ana_state()