Lines Matching refs:p
59 void *p; in kmem_cache_alloc_lru() local
75 p = node; in kmem_cache_alloc_lru()
79 posix_memalign(&p, cachep->align, cachep->size); in kmem_cache_alloc_lru()
81 p = malloc(cachep->size); in kmem_cache_alloc_lru()
83 cachep->ctor(p); in kmem_cache_alloc_lru()
85 memset(p, 0, cachep->size); in kmem_cache_alloc_lru()
92 printf("Allocating %p from slab\n", p); in kmem_cache_alloc_lru()
93 return p; in kmem_cache_alloc_lru()
137 void **p) in kmem_cache_alloc_bulk() argument
159 p[i] = node; in kmem_cache_alloc_bulk()
167 posix_memalign(&p[i], cachep->align, in kmem_cache_alloc_bulk()
170 p[i] = malloc(cachep->size * size); in kmem_cache_alloc_bulk()
173 cachep->ctor(p[i]); in kmem_cache_alloc_bulk()
175 memset(p[i], 0, cachep->size); in kmem_cache_alloc_bulk()
184 printf("Allocating %p from slab\n", p[i]); in kmem_cache_alloc_bulk()