Home
last modified time | relevance | path

Searched refs:newgrpid (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/drivers/nvme/target/
Dconfigfs.c501 u32 oldgrpid, newgrpid; in nvmet_ns_ana_grpid_store() local
504 ret = kstrtou32(page, 0, &newgrpid); in nvmet_ns_ana_grpid_store()
508 if (newgrpid < 1 || newgrpid > NVMET_MAX_ANAGRPS) in nvmet_ns_ana_grpid_store()
513 newgrpid = array_index_nospec(newgrpid, NVMET_MAX_ANAGRPS); in nvmet_ns_ana_grpid_store()
514 nvmet_ana_group_enabled[newgrpid]++; in nvmet_ns_ana_grpid_store()
515 ns->anagrpid = newgrpid; in nvmet_ns_ana_grpid_store()