Lines Matching refs:objsize
196 unsigned int objsize; member
361 objsize: sizeof(kmem_cache_t),
423 kmem_cache_estimate(0, cache_cache.objsize, 0, in kmem_cache_init()
527 int size = cachep->objsize; in kmem_poison_obj()
538 int size = cachep->objsize; in kmem_check_poison_obj()
564 void* objp = slabp->s_mem+cachep->objsize*i; in kmem_slab_destroy()
569 if (*((unsigned long*)(objp + cachep->objsize in kmem_slab_destroy()
789 cachep->objsize = size; in kmem_cache_create()
1064 void* objp = slabp->s_mem+cachep->objsize*i; in kmem_cache_init_objs()
1068 *((unsigned long*)(objp + cachep->objsize - in kmem_cache_init_objs()
1090 if (*((unsigned long*)(objp + cachep->objsize - in kmem_cache_init_objs()
1215 unsigned int objnr = (objp-slabp->s_mem)/cachep->objsize; in kmem_extra_free_checks()
1219 if (objp != slabp->s_mem + objnr*cachep->objsize) in kmem_extra_free_checks()
1253 objp = slabp->s_mem + slabp->free*cachep->objsize; in kmem_cache_alloc_one_tail()
1269 if (xchg((unsigned long *)(objp+cachep->objsize - in kmem_cache_alloc_one_tail()
1440 if (xchg((unsigned long *)(objp+cachep->objsize - in kmem_cache_free_one()
1451 unsigned int objnr = (objp-slabp->s_mem)/cachep->objsize; in kmem_cache_free_one()
1615 return (cachep->objsize - 2*BYTES_PER_WORD); in kmem_cache_size()
1617 return cachep->objsize; in kmem_cache_size()
1699 if (cachep->objsize > PAGE_SIZE) in enable_cpucache()
1701 if (cachep->objsize > 1024) in enable_cpucache()
1703 else if (cachep->objsize > 256) in enable_cpucache()
1962 name, active_objs, num_objs, cachep->objsize, in s_show()