Home
last modified time | relevance | path

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

/openbmc/qemu/hw/nvme/
H A Dsubsys.c117 static bool nvme_calc_rgif(uint16_t nruh, uint16_t nrg, uint8_t *rgif) in nvme_calc_rgif() argument
122 if (unlikely(nrg == 1)) { in nvme_calc_rgif()
128 val = nrg; in nvme_calc_rgif()
156 if (!subsys->params.fdp.nrg) { in nvme_subsys_setup_fdp()
161 endgrp->fdp.nrg = subsys->params.fdp.nrg; 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()
187 endgrp->fdp.ruhs[ruhid].rus = g_new(NvmeReclaimUnit, endgrp->fdp.nrg); in nvme_subsys_setup_fdp()
224 DEFINE_PROP_UINT32("fdp.nrg", NvmeSubsystem, params.fdp.nrg, 1),
H A Dnvme.h86 uint16_t nrg; member
117 uint32_t nrg; member
H A Dns.c425 for (uint16_t rg = 0; rg < endgrp->fdp.nrg; rg++) { in nvme_ns_init_fdp()
511 for (uint16_t rg = 0; rg < endgrp->fdp.nrg; rg++) { in nvme_ns_init_fdp()
H A Dctrl.c341 return rg < endgrp->fdp.nrg; in nvme_rg_valid()
4482 nruhsd = ns->fdp.nphs * endgrp->fdp.nrg; in nvme_io_mgmt_recv_ruhs()
4498 for (rg = 0; rg < endgrp->fdp.nrg; rg++, ruhsd++) { in nvme_io_mgmt_recv_ruhs()
4544 maxnpid = n->subsys->endgrp.fdp.nrg * n->subsys->endgrp.fdp.nruh; in nvme_io_mgmt_send_ruh_update()
5175 hdr->nrg = cpu_to_le16(endgrp->fdp.nrg); in nvme_fdp_confs()
5187 hdr->nrg = cpu_to_le16(1); in nvme_fdp_confs()
/openbmc/linux/mm/
H A Dhugetlb.c447 nrg->from = from; in get_file_region_entry_from_cache()
448 nrg->to = to; in get_file_region_entry_from_cache()
450 return nrg; in get_file_region_entry_from_cache()
536 if (&nrg->link != &resv->regions && nrg->from == rg->to && in coalesce_file_region()
859 if (!nrg && in region_del()
868 if (!nrg) { in region_del()
870 nrg = kmalloc(sizeof(*nrg), GFP_KERNEL); in region_del()
871 if (!nrg) in region_del()
881 nrg->from = t; in region_del()
892 nrg = NULL; in region_del()
[all …]
/openbmc/qemu/docs/system/devices/
H A Dnvme.rst238 ``fdp.nrg`` (default: ``1``)
/openbmc/qemu/include/block/
H A Dnvme.h1717 uint32_t nrg; member
/openbmc/linux/
H A DCREDITS1298 E: nigel@nrg.org