Searched refs:ana_state (Results 1 – 6 of 6) sorted by relevance
176 switch (ns->ana_state) { in __nvme_find_path()228 if (ns->ana_state == NVME_ANA_OPTIMIZED) { in nvme_round_robin_path()232 if (ns->ana_state == NVME_ANA_NONOPTIMIZED) in nvme_round_robin_path()243 (old->ana_state == NVME_ANA_OPTIMIZED || in nvme_round_robin_path()244 (!found && old->ana_state == NVME_ANA_NONOPTIMIZED))) in nvme_round_robin_path()257 ns->ana_state == NVME_ANA_OPTIMIZED; in nvme_path_is_optimized()485 ns->ana_state = desc->state; in nvme_update_ns_ana_state()488 if (nvme_state_is_live(ns->ana_state)) in nvme_update_ns_ana_state()641 return sprintf(buf, "%s\n", nvme_ana_state_names[ns->ana_state]); in ana_state_show()643 DEVICE_ATTR_RO(ana_state);[all …]
433 enum nvme_ana_state ana_state; member
1346 enum nvme_ana_state state = grp->port->ana_state[grp->grpid]; in nvmet_ana_group_ana_state_show()1361 enum nvme_ana_state *ana_state = grp->port->ana_state; in nvmet_ana_group_ana_state_store() local1374 ana_state[grp->grpid] = (enum nvme_ana_state) nvmet_ana_state[i].type; in nvmet_ana_group_ana_state_store()1381 CONFIGFS_ATTR(nvmet_ana_group_, ana_state);1396 grp->port->ana_state[grp->grpid] = NVME_ANA_INACCESSIBLE; in nvmet_ana_group_release()1469 kfree(port->ana_state); in nvmet_port_release()1510 port->ana_state = kcalloc(NVMET_MAX_ANAGRPS + 1, in nvmet_ports_make()1511 sizeof(*port->ana_state), GFP_KERNEL); in nvmet_ports_make()1512 if (!port->ana_state) { in nvmet_ports_make()1519 port->ana_state[1] = NVME_ANA_OPTIMIZED; in nvmet_ports_make()[all …]
242 desc->state = req->port->ana_state[grpid]; in nvmet_format_ana_group()502 switch (req->port->ana_state[req->ns->anagrpid]) { in nvmet_execute_identify_ns()
144 enum nvme_ana_state *ana_state; member
834 enum nvme_ana_state state = port->ana_state[ns->anagrpid]; in nvmet_check_ana_state()