Home
last modified time | relevance | path

Searched refs:vmem (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dleaky_subr.c104 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()
115 if (!leaky_vmem_interested(vmem)) in leaky_vmem()
128 if (!leaky_vmem_interested(vmem)) in leaky_estimate_vmem()
132 vmem->vm_kstat.vk_free.value.ui64); in leaky_estimate_vmem()
140 vmem_t vmem; in leaky_interested() local
150 if (mdb_vread(&vmem, sizeof (vmem), (uintptr_t)c->cache_arena) == -1) { in leaky_interested()
160 if (strcmp(vmem.vm_name, "kmem_default") != 0 && in leaky_interested()
161 strcmp(vmem.vm_name, "kmem_firewall") != 0 && in leaky_interested()
[all …]
H A Dtypegraph.c970 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 Dkmem.h97 extern int vmem(uintptr_t, uint_t, int, const mdb_arg_t *);
H A Dgenunix.c2467 kgrep_walk_vmem(uintptr_t addr, const vmem_t *vmem, kgrep_walk_data_t *kg) in kgrep_walk_vmem() argument
2471 if (strcmp(vmem->vm_name, "heap") != 0 && in kgrep_walk_vmem()
2472 strcmp(vmem->vm_name, "heap32") != 0 && in kgrep_walk_vmem()
2473 strcmp(vmem->vm_name, "heap_core") != 0 && in kgrep_walk_vmem()
2474 strcmp(vmem->vm_name, "heap_lp") != 0) in kgrep_walk_vmem()
2477 if (strcmp(vmem->vm_name, "heap_lp") == 0) in kgrep_walk_vmem()
4313 { "vmem", "?", "print a vmem_t", vmem },
H A Dkmem.c2294 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 Dleaky_subr.c130 if (strcmp(vmem->vm_name, "umem_oversize") != 0 && in leaky_vmem()
131 strcmp(vmem->vm_name, "umem_memalign") != 0) in leaky_vmem()
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
377 if (mdb_vread(&vmem, sizeof (vmem), (uintptr_t)vm_next) == -1) { in leaky_handle_anon_mappings()
429 vmem_t vmem; in leaky_interested() local
431 if (mdb_vread(&vmem, sizeof (vmem), (uintptr_t)c->cache_arena) == -1) { in leaky_interested()
441 if (strcmp(vmem.vm_name, "umem_default") != 0 && in leaky_interested()
[all …]
H A Dumem.h118 extern int vmem(uintptr_t, uint_t, int, const mdb_arg_t *);
H A Dlibumem.c520 { "vmem", "?", "print a vmem_t", vmem },
H A Dumem.c2129 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/man/man9/
H A DMakefile22 vmem.9
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dmbuf.c299 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/uts/common/sys/
H A Dvmem.h114 typedef struct vmem vmem_t;
H A Dvmem_impl.h111 struct vmem { struct
H A DMakefile663 vmem.h \
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dkmem.c149 vmem_qcache_reap(struct vmem *vmp) in vmem_qcache_reap()
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-kernel.man9.inc22 file path=usr/share/man/man9/vmem.9
H A Dsystem-header.p5m1483 file path=usr/include/sys/vmem.h
/illumos-gate/usr/src/lib/libumem/common/sys/
H A Dvmem_impl_user.h107 struct vmem { struct
/illumos-gate/usr/src/lib/libumem/
H A DMakefile.com87 vmem.o
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_nvm.c697 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 Dsmb_mbuf_marshaling.c862 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 Dkmem.c3623 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 DMakefile.files399 vmem.o \