/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | leaky_subr.c | 104 leaky_vmem_interested(const vmem_t *vmem) in leaky_vmem_interested() argument 106 if (strcmp(vmem->vm_name, "kmem_oversize") != 0 && in leaky_vmem_interested() 107 strcmp(vmem->vm_name, "static_alloc") != 0) in leaky_vmem_interested() 113 leaky_vmem(uintptr_t addr, const vmem_t *vmem, leak_mtab_t **lmp) in leaky_vmem() argument 115 if (!leaky_vmem_interested(vmem)) in leaky_vmem() 126 leaky_estimate_vmem(uintptr_t addr, const vmem_t *vmem, size_t *est) in leaky_estimate_vmem() argument 128 if (!leaky_vmem_interested(vmem)) in leaky_estimate_vmem() 131 *est += (int)(vmem->vm_kstat.vk_alloc.value.ui64 - in leaky_estimate_vmem() 132 vmem->vm_kstat.vk_free.value.ui64); in leaky_estimate_vmem() 140 vmem_t vmem; in leaky_interested() local [all …]
|
H A D | typegraph.c | 970 vmem_t vmem; in typegraph_interested() local 972 if (mdb_vread(&vmem, sizeof (vmem), (uintptr_t)c->cache_arena) == -1) { in typegraph_interested() 982 if (strcmp(vmem.vm_name, "kmem_default") != 0 && in typegraph_interested() 983 strcmp(vmem.vm_name, "kmem_firewall") != 0) in typegraph_interested() 1020 typegraph_estimate_vmem(uintptr_t addr, const vmem_t *vmem, size_t *est) in typegraph_estimate_vmem() argument 1022 if (strcmp(vmem->vm_name, "kmem_oversize") != 0) in typegraph_estimate_vmem() 1025 *est += (size_t)(vmem->vm_kstat.vk_alloc.value.ui64 - in typegraph_estimate_vmem() 1026 vmem->vm_kstat.vk_free.value.ui64); in typegraph_estimate_vmem() 1187 typegraph_vmem(uintptr_t addr, const vmem_t *vmem, tg_node_t **tgp) in typegraph_vmem() argument 1189 if (strcmp(vmem->vm_name, "kmem_oversize") != 0) in typegraph_vmem()
|
H A D | kmem.h | 97 extern int vmem(uintptr_t, uint_t, int, const mdb_arg_t *);
|
H A D | genunix.c | 2464 kgrep_walk_vmem(uintptr_t addr, const vmem_t *vmem, kgrep_walk_data_t *kg) in kgrep_walk_vmem() argument 2468 if (strcmp(vmem->vm_name, "heap") != 0 && in kgrep_walk_vmem() 2469 strcmp(vmem->vm_name, "heap32") != 0 && in kgrep_walk_vmem() 2470 strcmp(vmem->vm_name, "heap_core") != 0 && in kgrep_walk_vmem() 2471 strcmp(vmem->vm_name, "heap_lp") != 0) in kgrep_walk_vmem() 2474 if (strcmp(vmem->vm_name, "heap_lp") == 0) in kgrep_walk_vmem() 4307 { "vmem", "?", "print a vmem_t", vmem },
|
H A D | kmem.c | 2294 whatis_walk_vmem(uintptr_t addr, const vmem_t *vmem, whatis_info_t *wi) in whatis_walk_vmem() argument 2297 const char *nm = vmem->vm_name; in whatis_walk_vmem() 2299 int identifier = ((vmem->vm_cflags & VMC_IDENTIFIER) != 0); in whatis_walk_vmem() 2305 wi->wi_vmem = vmem; in whatis_walk_vmem() 3587 vmem(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in vmem() function
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | leaky_subr.c | 128 leaky_vmem(uintptr_t addr, const vmem_t *vmem, leak_mtab_t **lmp) in leaky_vmem() argument 130 if (strcmp(vmem->vm_name, "umem_oversize") != 0 && in leaky_vmem() 131 strcmp(vmem->vm_name, "umem_memalign") != 0) in leaky_vmem() 135 mdb_warn("can't walk vmem_alloc for %s (%p)", vmem->vm_name, in leaky_vmem() 143 leaky_estimate_vmem(uintptr_t addr, const vmem_t *vmem, size_t *est) in leaky_estimate_vmem() argument 145 if (strcmp(vmem->vm_name, "umem_oversize") != 0 && in leaky_estimate_vmem() 146 strcmp(vmem->vm_name, "umem_memalign") != 0) in leaky_estimate_vmem() 149 *est += (int)(vmem->vm_kstat.vk_alloc - vmem->vm_kstat.vk_free); in leaky_estimate_vmem() 353 vmem_t vmem; in leaky_handle_anon_mappings() local 376 for (vm_next = heap_arena; vm_next != NULL; vm_next = vmem.vm_source) { in leaky_handle_anon_mappings() [all …]
|
H A D | umem.h | 118 extern int vmem(uintptr_t, uint_t, int, const mdb_arg_t *);
|
H A D | libumem.c | 520 { "vmem", "?", "print a vmem_t", vmem },
|
H A D | umem.c | 2129 whatis_walk_vmem(uintptr_t addr, const vmem_t *vmem, whatis_info_t *wi) in whatis_walk_vmem() argument 2132 const char *nm = vmem->vm_name; in whatis_walk_vmem() 2133 wi->wi_vmem = vmem; in whatis_walk_vmem() 3220 vmem(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in vmem() function
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | mbuf.c | 299 mb_put_mem(mbchain_t *mbp, const void *vmem, int size, int type) in mb_put_mem() argument 310 src = vmem; in mb_put_mem() 516 md_get_mem(mdchain_t *mbp, void *vmem, int size, int type) in md_get_mem() argument 519 char *dst = vmem; in md_get_mem()
|
/illumos-gate/usr/src/man/man9/ |
H A D | Makefile | 24 vmem.9
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vmem.h | 114 typedef struct vmem vmem_t;
|
H A D | vmem_impl.h | 111 struct vmem { struct
|
H A D | Makefile | 668 vmem.h \
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-kernel.man9.inc | 22 file path=usr/share/man/man9/vmem.9
|
H A D | system-header.p5m | 1485 file path=usr/include/sys/vmem.h
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | kmem.c | 149 vmem_qcache_reap(struct vmem *vmp) in vmem_qcache_reap()
|
/illumos-gate/usr/src/lib/libumem/common/sys/ |
H A D | vmem_impl_user.h | 107 struct vmem { struct
|
/illumos-gate/usr/src/lib/libumem/ |
H A D | Makefile.com | 87 vmem.o
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_nvm.c | 697 struct i40e_virt_mem vmem; in i40e_calc_nvm_checksum() local 706 ret_code = i40e_allocate_virt_mem(hw, &vmem, in i40e_calc_nvm_checksum() 710 data = (u16 *)vmem.va; in i40e_calc_nvm_checksum() 764 i40e_free_virt_mem(hw, &vmem); in i40e_calc_nvm_checksum()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mbuf_marshaling.c | 862 smb_mbc_put_mem(mbuf_chain_t *mbc, void *vmem, int mem_len) in smb_mbc_put_mem() argument 864 caddr_t mem = vmem; in smb_mbc_put_mem()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | kmem.c | 3623 spgcnt_t vmem = btop(vmem_size(heap_arena, VMEM_FREE)); in kmem_maxavail() local 3625 return ((size_t)ptob(MAX(MIN(pmem, vmem), 0))); in kmem_maxavail()
|
/illumos-gate/usr/src/uts/common/ |
H A D | Makefile.files | 400 vmem.o \
|