Home
last modified time | relevance | path

Searched refs:obj_offset (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/lib/
Dcpu_rmap.c29 size_t obj_offset; in alloc_cpu_rmap() local
36 obj_offset = ALIGN(offsetof(struct cpu_rmap, near[nr_cpu_ids]), in alloc_cpu_rmap()
39 rmap = kzalloc(obj_offset + size * sizeof(rmap->obj[0]), flags); in alloc_cpu_rmap()
44 rmap->obj = (void **)((char *)rmap + obj_offset); in alloc_cpu_rmap()
/Linux-v5.10/mm/
Dslab.c327 static int obj_offset(struct kmem_cache *cachep) in obj_offset() function
329 return cachep->obj_offset; in obj_offset()
335 return (unsigned long long*) (objp + obj_offset(cachep) - in dbg_redzone1()
358 #define obj_offset(x) 0 macro
1449 addr = &((char *)addr)[obj_offset(cachep)]; in poison_obj()
1500 realobj = (char *)objp + obj_offset(cachep); in print_objinfo()
1520 realobj = (char *)objp + obj_offset(cachep); in check_poison_obj()
1560 realobj = (char *)objp + obj_offset(cachep); in check_poison_obj()
1566 realobj = (char *)objp + obj_offset(cachep); in check_poison_obj()
1581 poison_obj(cachep, page->freelist - obj_offset(cachep), in slab_destroy_debugcheck()
[all …]
/Linux-v5.10/include/linux/
Dslab_def.h72 int obj_offset; member