Lines Matching refs:offset
1456 static void dump_line(char *data, int offset, int limit) in dump_line() argument
1462 pr_err("%03x: ", offset); in dump_line()
1464 if (data[offset + i] != POISON_FREE) { in dump_line()
1465 error = data[offset + i]; in dump_line()
1470 &data[offset], limit, 1); in dump_line()
2568 size_t offset; in cache_grow_begin() local
2604 offset = n->colour_next; in cache_grow_begin()
2605 if (offset >= cachep->colour) in cache_grow_begin()
2606 offset = 0; in cache_grow_begin()
2608 offset *= cachep->colour_off; in cache_grow_begin()
2618 freelist = alloc_slabmgmt(cachep, page, offset, in cache_grow_begin()
4167 unsigned long offset; in __check_heap_object() local
4178 offset = ptr - kfence_object_start(ptr); in __check_heap_object()
4180 offset = ptr - index_to_obj(cachep, page, objnr) - obj_offset(cachep); in __check_heap_object()
4183 if (offset >= cachep->useroffset && in __check_heap_object()
4184 offset - cachep->useroffset <= cachep->usersize && in __check_heap_object()
4185 n <= cachep->useroffset - offset + cachep->usersize) in __check_heap_object()
4195 offset <= cachep->object_size && in __check_heap_object()
4196 n <= cachep->object_size - offset) { in __check_heap_object()
4197 usercopy_warn("SLAB object", cachep->name, to_user, offset, n); in __check_heap_object()
4201 usercopy_abort("SLAB object", cachep->name, to_user, offset, n); in __check_heap_object()