slab ¤
Classes:
Functions:
-
caches– -
get_cache– -
slab_struct_type– -
oo_order– -
oo_objects– -
get_flags_list– -
find_containing_slab_cache– -
kmem_cache_node_pad_sz– -
kmem_cache_pad_sz– -
kmem_cache_structs– -
load_slab_typeinfo–
Attributes:
Freelist ¤
Freelist(start_addr: int, slab: Slab)
Methods:
-
__iter__– -
__int__– -
__len__– -
find_next– -
is_valid_obj–
Attributes:
-
start_addr– -
slab– -
offset– -
random– -
cyclic–
SlabCache ¤
SlabCache(slab_cache: Value)
Methods:
Attributes:
-
address(int) – -
name(str) – -
offset(int) – -
random(int) – -
size(int) – -
slab_size(int) – -
object_size(int) – -
align(int) – -
flags(list[str]) – -
cpu_cache(CpuCache | None) –returns cpu cache associated to current thread
-
cpu_caches(Generator[CpuCache, None, None]) – -
node_caches(Generator[NodeCache, None, None]) –returns node caches for all NUMA nodes
-
cpu_partial(int) – -
cpu_partial_slabs(int) – -
min_partial(int) – -
inuse(int) – -
useroffset(int) – -
usersize(int) – -
oo_order– -
oo_objects–
CpuCache ¤
Attributes:
-
slab_cache– -
cpu– -
address(int) – -
freelist(Freelist) – -
active_slab(Slab | None) – -
partial_slabs(list[Slab]) –
NodeCache ¤
Attributes:
-
slab_cache– -
node– -
address(int) – -
partial_slabs(list[Slab]) – -
nr_partial(int) – -
min_partial(int) –
Slab ¤
Slab(
slab: Value,
cpu_cache: CpuCache = None,
node_cache: NodeCache = None,
is_active: bool = False,
)
Methods:
Attributes:
-
is_active– -
cpu_cache– -
is_cpu– -
slab_cache– -
node_cache– -
slab_address(int) – -
virt_address(int) – -
object_count(int) – -
objects(Generator[int, None, None]) – -
frozen(int) – -
inuse(int) – -
slabs(int) – -
pobjects(int) – -
freelist(Freelist) – -
free_objects(set[int]) –