Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DMove.java172 private long qty; field in QuantityMove
183 QuantityMove(Resource from, Resource to, long qty) in QuantityMove() argument
186 if (qty < 0) in QuantityMove()
188 "The resource quantity supplied (" + qty + in QuantityMove()
190 this.qty = qty; in QuantityMove()
201 getTo().transfer(getFrom(), qty); in apply() local
210 return (qty); in getQty()
219 getTo().toString() + " quantity " + qty); in toString()
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/pools/
H A DResource.java91 public void transfer(Resource donor, long qty) throws PoolsException in transfer() argument
94 donor.getResource(), getResource(), qty) != in transfer()
/illumos-gate/usr/src/uts/common/os/
H A Dproject.c930 rctl_qty_t shmmni, shmmax, qty; in project_init() local
981 qty = availrmem_initial << (PAGESHIFT - 2); in project_init()
982 rctl_add_default_limit("project.max-crypto-memory", qty, in project_init()
1023 qty = availrmem_initial << (PAGESHIFT - 2); in project_init()
1026 qty = UINT64_MAX; in project_init()
1027 else if (shmmni * shmmax > qty) in project_init()
1028 qty = shmmni * shmmax; in project_init()
1030 rctl_add_default_limit("project.max-shm-memory", qty, in project_init()
H A Drctl.c501 rctl_qty_t qty; in rctl_add_legacy_limit() local
503 if (!mod_sysvar(mname, lname, &qty) || (qty < dflt)) in rctl_add_legacy_limit()
504 qty = dflt; in rctl_add_legacy_limit()
506 if (qty > max) in rctl_add_legacy_limit()
507 qty = max; in rctl_add_legacy_limit()
509 rctl_add_default_limit(name, qty, RCPRIV_PRIVILEGED, RCTL_LOCAL_DENY); in rctl_add_legacy_limit()
H A Dpool.c639 pool_transfer(int type, id_t src, id_t dst, uint64_t qty) in pool_transfer() argument
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_main.c214 uint32_t qty, uint32_t size) in rge_slice_chunk() argument
219 totsize = qty*size; in rge_slice_chunk()
223 slice->nslots = qty; in rge_slice_chunk()
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_main.c274 uint32_t qty, uint32_t size) in nge_slice_chunk() argument
278 totsize = qty*size; in nge_slice_chunk()
283 slice->nslots = qty; in nge_slice_chunk()
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_main2.c2164 uint32_t qty, uint32_t size) argument
2169 totsize = qty*size;
2173 slice->nslots = qty;