void* objp = slabp->s_mem+cachep->objsize*i; 
void *objp = slabp->s_mem+cachep->objsize*i; 
static void cache_init_objs(kmem_cache_t *cachep,			struct slab *slabp, unsigned long ctor_flags){	int i;	for (i = 0; i < cachep->num; i++) {		void* objp = slabp->s_mem+cachep->objsize*i;#if DEBUG		/* need to poison the objs? */		if (cachep->flags & SLAB_POISON)			poison_obj(cachep, objp, POISON_FREE);		if (cachep->flags & SLAB_STORE_USER)			*dbg_userword(cachep, objp) = NULL;		if (cachep->flags & SLAB_RED_ZONE) {			*dbg_redzone1(cachep, objp) = RED_INACTIVE;			*dbg_redzone2(cachep, objp) = RED_INACTIVE;		}		/*		 * Constructors are not allowed to allocate memory from		 * the same cache which they are a constructor for.		 * Otherwise, deadlock. They must also be threaded.		 */		if (cachep->ctor && !(cachep->flags & SLAB_POISON))			cachep->ctor(objp+obj_dbghead(cachep), cachep, ctor_flags);		if (cachep->flags & SLAB_RED_ZONE) {			if (*dbg_redzone2(cachep, objp) != RED_INACTIVE)				slab_error(cachep, "constructor overwrote the"							" end of an object");			if (*dbg_redzone1(cachep, objp) != RED_INACTIVE)				slab_error(cachep, "constructor overwrote the"							" start of an object");		}		if ((cachep->objsize % PAGE_SIZE) == 0 && OFF_SLAB(cachep) && cachep->flags & SLAB_POISON)	       		kernel_map_pages(virt_to_page(objp), cachep->objsize/PAGE_SIZE, 0);#else		if (cachep->ctor)			cachep->ctor(objp, cachep, ctor_flags);#endif		slab_bufctl(slabp)[i] = i+1;	}	slab_bufctl(slabp)[i-1] = BUFCTL_END;	slabp->free = 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/e498be7dafd72fd68848c1eef1575aa7c5d658df/slab.c/clean/mm/slab.c