Searched refs:endgrp (Results 1 – 4 of 4) sorted by relevance
147 NvmeEnduranceGroup *endgrp = &subsys->endgrp; in nvme_subsys_setup_fdp() local154 endgrp->fdp.runs = subsys->params.fdp.runs; in nvme_subsys_setup_fdp()161 endgrp->fdp.nrg = subsys->params.fdp.nrg; in nvme_subsys_setup_fdp()170 endgrp->fdp.nruh = subsys->params.fdp.nruh; in nvme_subsys_setup_fdp()172 if (!nvme_calc_rgif(endgrp->fdp.nruh, endgrp->fdp.nrg, &endgrp->fdp.rgif)) { in nvme_subsys_setup_fdp()175 endgrp->fdp.nruh, endgrp->fdp.nrg); in nvme_subsys_setup_fdp()179 endgrp->fdp.ruhs = g_new(NvmeRuHandle, endgrp->fdp.nruh); in nvme_subsys_setup_fdp()181 for (uint16_t ruhid = 0; ruhid < endgrp->fdp.nruh; ruhid++) { in nvme_subsys_setup_fdp()182 endgrp->fdp.ruhs[ruhid] = (NvmeRuHandle) { in nvme_subsys_setup_fdp()187 endgrp->fdp.ruhs[ruhid].rus = g_new(NvmeReclaimUnit, endgrp->fdp.nrg); in nvme_subsys_setup_fdp()[all …]
386 for (uint16_t i = 0; i < endgrp->fdp.nruh; i++) { in nvme_find_ruh_by_attr()387 NvmeRuHandle *ruh = &endgrp->fdp.ruhs[i]; in nvme_find_ruh_by_attr()400 NvmeEnduranceGroup *endgrp = ns->endgrp; in nvme_ns_init_fdp() local423 ruh->ruamw = endgrp->fdp.runs >> ns->lbaf.ds; in nvme_ns_init_fdp()469 if (ns->fdp.nphs++ == endgrp->fdp.nruh) { in nvme_ns_init_fdp()498 if (*ruhid >= endgrp->fdp.nruh) { in nvme_ns_init_fdp()503 ruh = &endgrp->fdp.ruhs[*ruhid]; in nvme_ns_init_fdp()581 if (ns->params.zoned && ns->endgrp && ns->endgrp->fdp.enabled) { in nvme_ns_check_constraints()671 if (ns->endgrp && ns->endgrp->fdp.enabled) { in nvme_ns_setup()701 if (ns->endgrp && ns->endgrp->fdp.enabled) { in nvme_ns_cleanup()[all …]
476 NvmeEnduranceGroup *endgrp = ns->endgrp; in nvme_update_ruh() local3797 } else if (ns->endgrp && ns->endgrp->fdp.enabled) { in nvme_do_write()4480 endgrp = ns->endgrp; in nvme_io_mgmt_recv_ruhs()4540 if (!ns->endgrp || !ns->endgrp->fdp.enabled) { in nvme_io_mgmt_send_ruh_update()4544 maxnpid = n->subsys->endgrp.fdp.nrg * n->subsys->endgrp.fdp.nruh; in nvme_io_mgmt_send_ruh_update()5146 endgrp = &n->subsys->endgrp; in nvme_fdp_confs()5216 endgrp = &n->subsys->endgrp; in nvme_fdp_ruh_usage()5234 ruh = endgrp->fdp.ruhs; in nvme_fdp_ruh_usage()5263 endgrp = &n->subsys->endgrp; in nvme_fdp_stats()5291 endgrp = &n->subsys->endgrp; in nvme_fdp_events()[all …]
108 NvmeEnduranceGroup endgrp; member264 NvmeEnduranceGroup *endgrp; member