Home
last modified time | relevance | path

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

/openbmc/qemu/hw/nvme/
H A Dsubsys.c115 static bool nvme_calc_rgif(uint16_t nruh, uint16_t nrg, uint8_t *rgif) in nvme_calc_rgif() argument
120 if (unlikely(nrg == 1)) { in nvme_calc_rgif()
126 val = nrg; in nvme_calc_rgif()
154 if (!subsys->params.fdp.nrg) { in nvme_subsys_setup_fdp()
159 endgrp->fdp.nrg = subsys->params.fdp.nrg; in nvme_subsys_setup_fdp()
170 if (!nvme_calc_rgif(endgrp->fdp.nruh, endgrp->fdp.nrg, &endgrp->fdp.rgif)) { in nvme_subsys_setup_fdp()
173 endgrp->fdp.nruh, endgrp->fdp.nrg); in nvme_subsys_setup_fdp()
185 endgrp->fdp.ruhs[ruhid].rus = g_new(NvmeReclaimUnit, endgrp->fdp.nrg); in nvme_subsys_setup_fdp()
222 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.c424 for (uint16_t rg = 0; rg < endgrp->fdp.nrg; rg++) { in nvme_ns_init_fdp()
510 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()
4302 nruhsd = ns->fdp.nphs * endgrp->fdp.nrg; in nvme_io_mgmt_recv_ruhs()
4318 for (rg = 0; rg < endgrp->fdp.nrg; rg++, ruhsd++) { in nvme_io_mgmt_recv_ruhs()
4364 maxnpid = n->subsys->endgrp.fdp.nrg * n->subsys->endgrp.fdp.nruh; in nvme_io_mgmt_send_ruh_update()
4994 hdr->nrg = cpu_to_le16(endgrp->fdp.nrg); in nvme_fdp_confs()
5006 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.rst231 ``fdp.nrg`` (default: ``1``)
/openbmc/qemu/include/block/
H A Dnvme.h1701 uint32_t nrg; member
/openbmc/linux/
H A DCREDITS1298 E: nigel@nrg.org