Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/mdb/common/modules/genunix/
H A Dleaky_subr.c106 leaky_vmem_interested(const vmem_t *vmem) in leaky_vmem_interested() argument
108 if (strcmp(vmem->vm_name, "kmem_oversize") != 0 && in leaky_vmem_interested()
109 strcmp(vmem->vm_name, "static_alloc") != 0) in leaky_vmem_interested()
115 leaky_vmem(uintptr_t addr, const vmem_t *vmem, leak_mtab_t **lmp) in leaky_vmem() argument
117 if (!leaky_vmem_interested(vmem)) in leaky_vmem()
128 leaky_estimate_vmem(uintptr_t addr, const vmem_t *vmem, size_t *est) in leaky_estimate_vmem() argument
130 if (!leaky_vmem_interested(vmem)) in leaky_estimate_vmem()
133 *est += (int)(vmem->vm_kstat.vk_alloc.value.ui64 - in leaky_estimate_vmem()
134 vmem->vm_kstat.vk_free.value.ui64); in leaky_estimate_vmem()
142 vmem_t vmem; in leaky_interested() local
[all …]
H A Dkmem.h97 extern int vmem(uintptr_t, uint_t, int, const mdb_arg_t *);
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 Dgenunix.c2234 kgrep_walk_vmem(uintptr_t addr, const vmem_t *vmem, kgrep_walk_data_t *kg) in kgrep_walk_vmem() argument
2238 if (strcmp(vmem->vm_name, "heap") != 0 && in kgrep_walk_vmem()
2239 strcmp(vmem->vm_name, "heap32") != 0 && in kgrep_walk_vmem()
2240 strcmp(vmem->vm_name, "heap_core") != 0 && in kgrep_walk_vmem()
2241 strcmp(vmem->vm_name, "heap_lp") != 0) in kgrep_walk_vmem()
2244 if (strcmp(vmem->vm_name, "heap_lp") == 0) in kgrep_walk_vmem()
4009 { "vmem", "?", "print a vmem_t", vmem },
H A Dkmem.c2293 whatis_walk_vmem(uintptr_t addr, const vmem_t *vmem, whatis_info_t *wi) in whatis_walk_vmem() argument
2296 const char *nm = vmem->vm_name; in whatis_walk_vmem()
2298 int identifier = ((vmem->vm_cflags & VMC_IDENTIFIER) != 0); in whatis_walk_vmem()
2304 wi->wi_vmem = vmem; in whatis_walk_vmem()
3586 vmem(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in vmem() function
/titanic_44/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) in leaky_vmem() argument
132 if (strcmp(vmem->vm_name, "umem_oversize") != 0 && in leaky_vmem()
133 strcmp(vmem->vm_name, "umem_memalign") != 0) in leaky_vmem()
137 mdb_warn("can't walk vmem_alloc for %s (%p)", vmem->vm_name, in leaky_vmem()
145 leaky_estimate_vmem(uintptr_t addr, const vmem_t *vmem, size_t *est) in leaky_estimate_vmem() argument
147 if (strcmp(vmem->vm_name, "umem_oversize") != 0 && in leaky_estimate_vmem()
148 strcmp(vmem->vm_name, "umem_memalign") != 0) in leaky_estimate_vmem()
151 *est += (int)(vmem->vm_kstat.vk_alloc - vmem->vm_kstat.vk_free); in leaky_estimate_vmem()
355 vmem_t vmem; in leaky_handle_anon_mappings() local
378 for (vm_next = heap_arena; vm_next != NULL; vm_next = vmem.vm_source) { in leaky_handle_anon_mappings()
[all …]
H A Dumem.h120 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.c2128 whatis_walk_vmem(uintptr_t addr, const vmem_t *vmem, whatis_info_t *wi) in whatis_walk_vmem() argument
2131 const char *nm = vmem->vm_name; in whatis_walk_vmem()
2132 wi->wi_vmem = vmem; in whatis_walk_vmem()
3219 vmem(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in vmem() function
/titanic_44/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()
/titanic_44/usr/src/psm/stand/bootblks/common/
H A Dboot.fth159 : vmem-alloc-prop ( size virt -- alloc-size virt )
160 2dup ['] vmem-alloc catch if ( size virt ??? ??? )
164 r@ over vmem-alloc ( size virt len adr adr r: alloc-sz )
195 \ if base==0, vmem-alloc will allocate virt
200 dup rot vmem-alloc-prop ( size alloc-sz virt r: fd )
603 : vmem-alloc-4mb ( size virt -- base )
621 p_memsz p_vaddr vmem-alloc drop
623 p_memsz p_vaddr vmem-alloc-4mb drop
H A Dutil.fth168 : vmem-alloc ( size virt -- virt )
/titanic_44/usr/src/uts/common/sys/
H A Dvmem.h114 typedef struct vmem vmem_t;
H A Dvmem_impl.h113 struct vmem { struct
H A DMakefile640 vmem.h \
/titanic_44/usr/src/lib/libfakekernel/common/
H A Dkmem.c142 vmem_qcache_reap(struct vmem *vmp) in vmem_qcache_reap()
/titanic_44/usr/src/lib/libumem/common/
H A Dllib-lumem31 #include <sys/vmem.h>
/titanic_44/usr/src/lib/libumem/common/sys/
H A Dvmem_impl_user.h109 struct vmem { struct
/titanic_44/usr/src/lib/libumem/
H A DMakefile.com85 vmem.o
/titanic_44/usr/src/uts/common/io/i40e/core/
H A Di40e_nvm.c638 struct i40e_virt_mem vmem; in i40e_calc_nvm_checksum() local
647 ret_code = i40e_allocate_virt_mem(hw, &vmem, in i40e_calc_nvm_checksum()
651 data = (u16 *)vmem.va; in i40e_calc_nvm_checksum()
707 i40e_free_virt_mem(hw, &vmem); in i40e_calc_nvm_checksum()
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_marshaling.c821 smb_mbc_put_mem(mbuf_chain_t *mbc, void *vmem, int mem_len) in smb_mbc_put_mem() argument
823 caddr_t mem = vmem; in smb_mbc_put_mem()
/titanic_44/usr/src/uts/common/os/
H A Dkmem.c3566 spgcnt_t vmem = btop(vmem_size(heap_arena, VMEM_FREE)); in kmem_maxavail() local
3568 return ((size_t)ptob(MAX(MIN(pmem, vmem), 0))); in kmem_maxavail()
/titanic_44/usr/src/uts/common/
H A DMakefile.files384 vmem.o \
/titanic_44/usr/src/psm/stand/bootblks/zfs/common/
H A Dzfs.fth1501 alloc-size h# a0.0000 vmem-alloc dup 0= if
/titanic_44/usr/src/pkg/manifests/
H A Dsystem-header.mf1553 file path=usr/include/sys/vmem.h