Home
last modified time | relevance | path

Searched refs:vmem (Results 1 – 24 of 24) 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()
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 Dtypegraph.c982 vmem_t vmem; in typegraph_interested() local
984 if (mdb_vread(&vmem, sizeof (vmem), (uintptr_t)c->cache_arena) == -1) { in typegraph_interested()
994 if (strcmp(vmem.vm_name, "kmem_default") != 0 && in typegraph_interested()
995 strcmp(vmem.vm_name, "kmem_firewall") != 0) in typegraph_interested()
1033 typegraph_estimate_vmem(uintptr_t addr, const vmem_t *vmem, size_t *est) in typegraph_estimate_vmem() argument
1035 if (strcmp(vmem->vm_name, "kmem_oversize") != 0) in typegraph_estimate_vmem()
1038 *est += (size_t)(vmem->vm_kstat.vk_alloc.value.ui64 - in typegraph_estimate_vmem()
1039 vmem->vm_kstat.vk_free.value.ui64); in typegraph_estimate_vmem()
1200 typegraph_vmem(uintptr_t addr, const vmem_t *vmem, tg_node_t **tgp) in typegraph_vmem() argument
1202 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.c2464 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()
4330 { "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()
3601 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.c128 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 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.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
/illumos-gate/usr/src/man/man9/
H A DMakefile24 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 DMakefile667 vmem.h \
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-kernel.man9.inc22 file path=usr/share/man/man9/vmem.9
H A Dsystem-header.p5m1486 file path=usr/include/sys/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/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/ixgbe/core/
H A Dixgbe_e610.c3460 void *vmem; in ixgbe_write_sr_buf_aci() local
3463 vmem = ixgbe_calloc(hw, words, sizeof(u16)); in ixgbe_write_sr_buf_aci()
3464 if (!vmem) in ixgbe_write_sr_buf_aci()
3466 data_local = (__le16 *)vmem; in ixgbe_write_sr_buf_aci()
3480 ixgbe_free(hw, vmem, words * sizeof(u16)); in ixgbe_write_sr_buf_aci()
5260 void *vmem; in ixgbe_calc_eeprom_checksum_E610() local
5271 vmem = ixgbe_calloc(hw, IXGBE_SR_SECTOR_SIZE_IN_WORDS, sizeof(u16)); in ixgbe_calc_eeprom_checksum_E610()
5272 if (!vmem) in ixgbe_calc_eeprom_checksum_E610()
5274 data = (u16 *)vmem; in ixgbe_calc_eeprom_checksum_E610()
5324 ixgbe_free(hw, vmem, IXGBE_SR_SECTOR_SIZE_IN_WORDS * sizeof(u16)); in ixgbe_calc_eeprom_checksum_E610()
/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.files398 vmem.o \