Slab
OO_MASK = 1 << OO_SHIFT - 1
module-attribute
¶
OO_SHIFT = 16
module-attribute
¶
CpuCache
¶
Freelist
¶
NodeCache
¶
Slab
¶
cpu_cache = cpu_cache
instance-attribute
¶
free_objects
property
¶
freelist
property
¶
freelists
property
¶
frozen
property
¶
inuse
property
¶
is_partial = is_partial
instance-attribute
¶
object_count
property
¶
objects
property
¶
pobjects
property
¶
slab_address
property
¶
slab_cache = slab_cache
instance-attribute
¶
slabs
property
¶
virt_address
property
¶
__init__(slab, cpu_cache, slab_cache, is_partial=False)
¶
SlabCache
¶
__oo_x
property
¶
address
property
¶
align
property
¶
cpu_cache
property
¶
returns cpu cache associated to current thread
cpu_caches
property
¶
returns cpu caches for all cpus
cpu_partial
property
¶
flags
property
¶
inuse
property
¶
name
property
¶
node_caches
property
¶
returns node caches for all NUMA nodes
object_size
property
¶
offset
property
¶
oo_objects
property
¶
oo_order
property
¶
random
property
¶
size
property
¶
__init__(slab_cache)
¶
caches()
¶
find_containing_slab_cache(addr)
¶
Find the slab cache associated with the provided address.