Lines Matching defs:objects
152 /* Test kmalloc()/vmalloc() by allocating objects of different sizes. */
255 * can touch objects after they're freed.
351 void *objects[10];
355 if (!kmem_cache_alloc_bulk(c, GFP_KERNEL, ARRAY_SIZE(objects),
356 objects))
359 for (i = 0; i < ARRAY_SIZE(objects); i++) {
360 bytes = count_nonzero_bytes(objects[i], size);
363 fill_with_garbage(objects[i], size);
366 kmem_cache_free_bulk(c, ARRAY_SIZE(objects), objects);