Lines Matching defs:object

23  * The memory is organized in caches, one cache for each object type.
87 * All object allocations for a node occur from node specific slab lists.
318 * the end of an object is aligned with the end of the real
322 * cachep->obj_offset: The real object.
411 * - @buffer_size bytes for each object
412 * - One freelist_idx_t for each object
540 * The array_cache structures contain pointers to free object.
783 * Make sure we are not freeing an object from another node to the array
1320 pr_warn(" cache: %s, object size: %d, order: %d\n",
1577 slab_error(cachep, "start of a freed object was overwritten");
1579 slab_error(cachep, "end of a freed object was overwritten");
1797 * Adjust the object sizes so that we clear
1798 * the complete object on kzalloc.
1916 * large objects, if the increased size would increase the object size
1917 * above the next power of two: caches with object sizes just above a
1938 * aligned, by adjusting the object size accordingly. */
1976 * the real object. But if the second red zone needs to be
2339 slab_error(cachep, "constructor overwrote the end of an object");
2341 slab_error(cachep, "constructor overwrote the start of an object");
2659 slab_error(cache, "memory outside object was overwritten");
2841 * There must be at least one object available for
2960 slab_error(cachep, "double free, or memory outside object was overwritten");
3008 * To avoid a false negative, if an object that is in one of the
3010 * treat the array pointers as a reference to the object.
3495 * kmem_cache_alloc_node - Allocate an object on the specified node
3505 * Return: pointer to the new object or %NULL in case of error
3526 void __kmem_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab)
3532 kpp->kp_ptr = object;
3536 objp = object - obj_offset(cachep);
3568 * kmem_cache_free - Deallocate an object
3570 * @objp: The previously allocated object.
3572 * Free an object which was previously allocated from this
3743 * on another cpu. For these cases, an efficient object passing between
4007 /* Find and validate object. */
4012 /* Find offset within object. */
4024 usercopy_abort("SLAB object", cachep->name, to_user, offset, n);