Lines Matching refs:GFP_KERNEL
216 enum kmalloc_cache_type type = kmalloc_type(GFP_KERNEL, 0); in kmalloc_cache_alignment()
287 enum kmalloc_cache_type type = kmalloc_type(GFP_KERNEL, _RET_IP_); in test_alloc()
339 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_out_of_bounds_read()
345 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT); in test_out_of_bounds_read()
363 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_out_of_bounds_write()
380 expect.addr = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_use_after_free_read()
395 expect.addr = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_double_free()
411 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_invalid_addr_free()
431 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_corruption()
437 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT); in test_corruption()
465 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT); in test_kmalloc_aligned_oob_read()
498 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT); in test_kmalloc_aligned_oob_write()
518 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_shrink_memcache()
540 test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT), in test_free_bulk()
541 test_alloc(test, size, GFP_KERNEL, ALLOCATE_NONE), in test_free_bulk()
542 test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT), in test_free_bulk()
543 test_alloc(test, size, GFP_KERNEL, ALLOCATE_NONE), in test_free_bulk()
544 test_alloc(test, size, GFP_KERNEL, ALLOCATE_NONE), in test_free_bulk()
568 expect.addr = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_init_on_free()
594 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_memcache_ctor()
615 buf1 = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_gfpzero()
622 buf2 = test_alloc(test, size, GFP_KERNEL | __GFP_ZERO, ALLOCATE_ANY); in test_gfpzero()
668 expect.addr = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_memcache_typesafe_by_rcu()
698 .addr = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY), in test_krealloc()
710 buf = krealloc(buf, size * 3, GFP_KERNEL); /* Grow. */ in test_krealloc()
718 buf = krealloc(buf, size * 2, GFP_KERNEL); /* Shrink. */ in test_krealloc()
723 buf = krealloc(buf, 0, GFP_KERNEL); /* Free. */ in test_krealloc()