Kernel Memory Allocator Walkers
- allocdby
-
Given the address of a
kthread_tstructure as a starting point, iterate over the set ofbufctlstructures corresponding to memory allocations performed by this kernel thread. - bufctl
-
Given the address of a
kmem_cache_tstructure as a starting point, iterate over the set of allocatedbufctls associated with this cache. - freectl
-
Given the address of a
kmem_cache_tstructure as a starting point, iterate over the set of freebufctls associated with this cache. - freedby
-
Given the address of a
kthread_tstructure as a starting point, iterate over the set ofbufctlstructures corresponding to memory deallocations performed by this kernel thread. - freemem
-
Given the address of a
kmem_cache_tstructure as a starting point, iterate over the set of free buffers associated with this cache. - kmem
-
Given the address of a
kmem_cache_tstructure as a starting point, iterate over the set of allocated buffers associated with this cache. - kmem_cache
-
Iterate over the active set of
kmem_cache_tstructures. This structure is defined in<sys/kmem_impl.h>. - kmem_cpu_cache
-
Given the address of a
kmem_cache_tstructure as a starting point, iterate over the per-CPUkmem_cpu_cache_tstructures associated with this cache. This structure is defined in<sys/kmem_impl.h>. - kmem_slab
-
Given the address of a
kmem_cache_tstructure as a starting point, iterate over the set of associatedkmem_slab_tstructures. This structure is defined in<sys/kmem_impl.h>. - kmem_log
-
Iterate over the set of
bufctls stored in the kmem allocator transaction log. - leak
-
Given the address of a
bufctlstructure, iterate over the set ofbufctlstructures corresponding to leaked memory buffers with similar allocation stack traces. The::findleaksdcmd must be applied to locate memory leaks before the leak walker can be used - leakbuf
-
Given the address of a
bufctlstructure, iterate over the set of buffer addresses corresponding to leaked memory buffers with similar allocation stack traces. The::findleaksdcmd must be applied to locate memory leaks before theleakbufwalker can be used.