Lines Matching defs:offset
406 ptr_addr = (unsigned long)object + s->offset;
414 prefetchw(object + s->offset);
438 freepointer_addr = (unsigned long)object + s->offset;
445 unsigned long freeptr_addr = (unsigned long)object + s->offset;
748 return s->offset >= s->inuse;
752 * Return offset of the end of info block which is inuse + free pointer if
880 * offset 0, if the size is larger than 'orig_size', it will
951 pr_err("Object 0x%p @offset=%tu fp=0x%p\n\n",
1083 pr_err("0x%p-0x%p @offset=%tu. First byte 0x%x instead of 0x%x\n",
1183 slab_err(s, slab, "Padding overwritten. 0x%p-0x%p @offset=%tu",
1905 /* Transform to an offset on the set of pages */
3439 memset((void *)((char *)kasan_reset_tag(obj) + s->offset),
4065 * offset 0. If we tune the size of the object to the alignment then we can
4426 * The assumption that s->offset >= s->inuse means free
4431 s->offset = size;
4439 s->offset = ALIGN_DOWN(s->object_size / 2, sizeof(void *));
4476 * offset 0. In order to align the objects we have to simply size
4525 s->offset = 0;
4583 pr_err("Object 0x%p @offset=%tu\n", p, p - addr);
4751 unsigned int offset;
4764 /* Find offset within object. */
4766 offset = ptr - kfence_object_start(ptr);
4768 offset = (ptr - slab_address(slab)) % s->size;
4772 if (offset < s->red_left_pad)
4774 s->name, to_user, offset, n);
4775 offset -= s->red_left_pad;
4779 if (offset >= s->useroffset &&
4780 offset - s->useroffset <= s->usersize &&
4781 n <= s->useroffset - offset + s->usersize)
4784 usercopy_abort("SLUB object", s->name, to_user, offset, n);