Lines Matching refs:slab
38 def slab_folio(slab): argument
39 return slab.cast(gdb.lookup_type("struct folio").pointer())
41 def slab_address(slab): argument
43 folio = slab_folio(slab)
155 def __fill_map(obj_map, cache, slab): argument
156 p = slab['freelist']
157 addr = slab_address(slab)
165 for slab in lists.list_for_each_entry(slab_list, slab_ptr_type, "slab_list"):
167 __fill_map(obj_map, cache, slab)
168 addr = slab_address(slab)
169 for object_pointer in for_each_object(cache, addr, slab['objects']):
283 def count_free(slab): argument
285 for slab in lists.list_for_each_entry(slab, slab_ptr_type, 'slab_list'):
286 total_free += int(slab['objects'] - slab['inuse'])