Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/mm/
Dslab.c328 static int obj_offset(struct kmem_cache *cachep) in obj_offset() function
330 return cachep->obj_offset; in obj_offset()
336 return (unsigned long long *) (objp + obj_offset(cachep) - in dbg_redzone1()
359 #define obj_offset(x) 0 macro
1439 addr = &((char *)addr)[obj_offset(cachep)]; in poison_obj()
1490 realobj = (char *)objp + obj_offset(cachep); in print_objinfo()
1510 realobj = (char *)objp + obj_offset(cachep); in check_poison_obj()
1550 realobj = (char *)objp + obj_offset(cachep); in check_poison_obj()
1556 realobj = (char *)objp + obj_offset(cachep); in check_poison_obj()
1571 poison_obj(cachep, slab->freelist - obj_offset(cachep), in slab_destroy_debugcheck()
[all …]
/linux-6.1.9/include/linux/
Dslab_def.h72 int obj_offset; member
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_vma.c1077 unsigned int obj_offset, in remap_contiguous_pages() argument
1084 iter = i915_gem_object_get_sg_dma(obj, obj_offset, &offset); in remap_contiguous_pages()
1110 unsigned int obj_offset, unsigned int alignment_pad, in remap_linear_color_plane_pages() argument
1121 sg = remap_contiguous_pages(obj, obj_offset, size, st, sg); in remap_linear_color_plane_pages()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_fb.c1368 u32 obj_offset, u32 gtt_offset, int x, int y, in calc_plane_remap_info() argument
1380 assign_bfld_chk_ovf(i915, remap_info->offset, obj_offset); in calc_plane_remap_info()