Searched defs:vmem (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_nvm.c578 struct i40e_virt_mem vmem; local
587 ret_code = i40e_allocate_virt_mem(hw, &vmem,
591 data = (u16 *)vmem.va;
645 i40e_free_virt_mem(hw, &vmem);
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dmbuf.c299 mb_put_mem(mbchain_t *mbp, const void *vmem, int size, int type) argument
310 src = vmem;
516 md_get_mem(mdchain_t *mbp, void *vmem, int size, int type) argument
519 char *dst = vmem;
/illumos-gate/usr/src/lib/libumem/common/sys/
H A Dvmem_impl_user.h34 #include <sys/vmem.h>
96 uint32_t vk_source_id; /* vmem id of vmem source */
109 struct vmem { struct
113 uint32_t vm_id; /* vmem id */
117 size_t vm_quantum; /* vmem quantum */
121 vmem_t *vm_source; /* vmem source for imported memory */
/illumos-gate/usr/src/uts/common/sys/
H A Dvmem_impl.h32 #include <sys/vmem.h>
100 kstat_named_t vk_source_id; /* vmem id of vmem source */
113 struct vmem { struct
117 uint32_t vm_id; /* vmem id */
121 size_t vm_quantum; /* vmem quantum */
126 vmem_t *vm_source; /* vmem source for imported memory */
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dleaky_subr.c106 leaky_vmem_interested(const vmem_t *vmem) argument
108 if (strcmp(vmem->vm_name, "kmem_oversize") != 0 &&
109 strcmp(vmem->vm_name, "static_alloc") != 0)
115 leaky_vmem(uintptr_t addr, const vmem_t *vmem, leak_mtab_t **lmp) argument
117 if (!leaky_vmem_interested(vmem))
128 leaky_estimate_vmem(uintptr_t addr, const vmem_t *vmem, size_t *est) argument
130 if (!leaky_vmem_interested(vmem))
133 *est += (int)(vmem->vm_kstat.vk_alloc.value.ui64 -
134 vmem->vm_kstat.vk_free.value.ui64);
142 vmem_t vmem; local
[all...]
H A Dtypegraph.c970 vmem_t vmem; local
972 if (mdb_vread(&vmem, sizeof (vmem), (uintptr_t)c->cache_arena) == -1) {
980 * kmem_firewall vmem arena, we're not interested.
982 if (strcmp(vmem.vm_name, "kmem_default") != 0 &&
983 strcmp(vmem.vm_name, "kmem_firewall") != 0)
1020 typegraph_estimate_vmem(uintptr_t addr, const vmem_t *vmem, size_t *est) argument
1022 if (strcmp(vmem->vm_name, "kmem_oversize") != 0)
1025 *est += (size_t)(vmem->vm_kstat.vk_alloc.value.ui64 -
1026 vmem
1187 typegraph_vmem(uintptr_t addr, const vmem_t *vmem, tg_node_t **tgp) argument
[all...]
H A Dkmem.c1191 * 1. the vmem arena for the cache is readable,
1192 * 2. the vmem arena's quantum is a power of 2,
2120 * Additional state for the kmem and vmem ::whatis handlers
2279 mdb_printf("%s from the %s vmem arena",
2293 whatis_walk_vmem(uintptr_t addr, const vmem_t *vmem, whatis_info_t *wi) argument
2296 const char *nm = vmem->vm_name;
2298 int identifier = ((vmem->vm_cflags & VMC_IDENTIFIER) != 0);
2304 wi->wi_vmem = vmem;
2307 mdb_printf("Searching vmem arena %s...\n", nm);
3391 * The "vmem_postfix" walk walks the vmem arena
3564 vmem(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) function
[all...]
H A Dgenunix.c2002 { "vmem ", "name ",
2216 if (mdb_walk("vmem", (mdb_walk_cb_t)kmastat_vmem_totals, &ka) == -1) {
2217 mdb_warn("can't walk 'vmem'");
2239 if (mdb_walk("vmem", (mdb_walk_cb_t)kmastat_vmem, &ka.ka_shift) == -1) {
2240 mdb_warn("can't walk 'vmem'");
2257 * the allocated vmem_segs in the vmem arena which manages that part of kas.
2317 kgrep_walk_vmem(uintptr_t addr, const vmem_t *vmem, kgrep_walk_data_t *kg) argument
2321 if (strcmp(vmem->vm_name, "heap") != 0 &&
2322 strcmp(vmem->vm_name, "heap32") != 0 &&
2323 strcmp(vmem
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dleaky_subr.c130 leaky_vmem(uintptr_t addr, const vmem_t *vmem, leak_mtab_t **lmp) argument
132 if (strcmp(vmem->vm_name, "umem_oversize") != 0 &&
133 strcmp(vmem->vm_name, "umem_memalign") != 0)
137 mdb_warn("can't walk vmem_alloc for %s (%p)", vmem->vm_name,
145 leaky_estimate_vmem(uintptr_t addr, const vmem_t *vmem, size_t *est) argument
147 if (strcmp(vmem->vm_name, "umem_oversize") != 0 &&
148 strcmp(vmem->vm_name, "umem_memalign") != 0)
151 *est += (int)(vmem->vm_kstat.vk_alloc - vmem->vm_kstat.vk_free);
254 * 5. Cannot be part of the vmem hea
355 vmem_t vmem; local
431 vmem_t vmem; local
[all...]
H A Dumem.c1152 * 1. the vmem arena for the cache is readable,
1153 * 2. the vmem arena's quantum is a power of 2,
2115 mdb_printf("%s from %s vmem arena",
2129 whatis_walk_vmem(uintptr_t addr, const vmem_t *vmem, whatis_info_t *wi) argument
2132 const char *nm = vmem->vm_name;
2133 wi->wi_vmem = vmem;
2136 mdb_printf("Searching vmem arena %s...\n", nm);
2140 mdb_warn("can't walk vmem seg for %p", addr);
2341 mdb_whatis_register("vmem", whatis_run_vmem, NULL,
3047 * The "vmem_postfix" walk walks the vmem arena
3220 vmem(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) function
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_marshaling.c866 smb_mbc_put_mem(mbuf_chain_t *mbc, void *vmem, int mem_len) argument
868 caddr_t mem = vmem;
/illumos-gate/usr/src/uts/common/os/
H A Dkmem.c37 * Magazines and vmem: Extending the Slab Allocator to Many CPUs and
40 * Available as /shared/sac/PSARC/2000/550/materials/vmem.pdf.
2249 * dump. To enable this feature, first create the associated vmem
3232 * Reclaim all unused memory from identifier arenas, called when a vmem
3650 spgcnt_t vmem = btop(vmem_size(heap_arena, VMEM_FREE)); local
3652 return ((size_t)ptob(MAX(MIN(pmem, vmem), 0)));
3746 vmem_t *vmp, /* vmem source for slab allocation */
3771 * If this kmem cache has an identifier vmem arena as its source, mark

Completed in 127 milliseconds