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.c431 for (uint16_t rg = 0; rg < endgrp->fdp.nrg; rg++) { in nvme_ns_init_fdp()
517 for (uint16_t rg = 0; rg < endgrp->fdp.nrg; rg++) { in nvme_ns_init_fdp()
H A Dctrl.c345 return rg < endgrp->fdp.nrg; in nvme_rg_valid()
4508 nruhsd = ns->fdp.nphs * endgrp->fdp.nrg; in nvme_io_mgmt_recv_ruhs()
4524 for (rg = 0; rg < endgrp->fdp.nrg; rg++, ruhsd++) { in nvme_io_mgmt_recv_ruhs()
4570 maxnpid = n->subsys->endgrp.fdp.nrg * n->subsys->endgrp.fdp.nruh; in nvme_io_mgmt_send_ruh_update()
5201 hdr->nrg = cpu_to_le16(endgrp->fdp.nrg); in nvme_fdp_confs()
5213 hdr->nrg = cpu_to_le16(1); in nvme_fdp_confs()
/openbmc/linux/mm/
H A Dhugetlb.c439 struct file_region *nrg; in get_file_region_entry_from_cache() local
444 nrg = list_first_entry(&resv->region_cache, struct file_region, link); in get_file_region_entry_from_cache()
445 list_del(&nrg->link); in get_file_region_entry_from_cache()
447 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()
453 static void copy_hugetlb_cgroup_uncharge_info(struct file_region *nrg, in copy_hugetlb_cgroup_uncharge_info() argument
457 nrg->reservation_counter = rg->reservation_counter; in copy_hugetlb_cgroup_uncharge_info()
458 nrg->css = rg->css; in copy_hugetlb_cgroup_uncharge_info()
468 struct file_region *nrg) in record_hugetlb_cgroup_uncharge_info() argument
[all …]
/openbmc/qemu/docs/system/devices/
H A Dnvme.rst238 ``fdp.nrg`` (default: ``1``)
/openbmc/qemu/include/block/
H A Dnvme.h1753 uint32_t nrg; member
/openbmc/linux/
H A DCREDITS1298 E: nigel@nrg.org