Searched refs:GFP (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.15/drivers/gpu/drm/i915/gem/selftests/ |
| D | huge_gem_object.c | 30 #define GFP (GFP_KERNEL | __GFP_NOWARN | __GFP_RETRY_MAYFAIL) in huge_get_pages() macro 37 pages = kmalloc(sizeof(*pages), GFP); in huge_get_pages() 41 if (sg_alloc_table(pages, npages, GFP)) { in huge_get_pages() 50 page = alloc_page(GFP | __GFP_HIGHMEM); in huge_get_pages() 78 #undef GFP in huge_get_pages()
|
| D | huge_pages.c | 61 #define GFP (GFP_KERNEL | __GFP_NOWARN | __GFP_NORETRY) in get_huge_pages() macro 68 st = kmalloc(sizeof(*st), GFP); in get_huge_pages() 72 if (sg_alloc_table(st, obj->base.size >> PAGE_SHIFT, GFP)) { in get_huge_pages() 96 page = alloc_pages(GFP | __GFP_ZERO, order); in get_huge_pages() 192 st = kmalloc(sizeof(*st), GFP); in fake_get_huge_pages() 196 if (sg_alloc_table(st, obj->base.size >> PAGE_SHIFT, GFP)) { in fake_get_huge_pages() 245 st = kmalloc(sizeof(*st), GFP); in fake_get_huge_pages_single() 249 if (sg_alloc_table(st, 1, GFP)) { in fake_get_huge_pages_single() 268 #undef GFP in fake_get_huge_pages_single()
|
| /Linux-v5.15/security/apparmor/include/ |
| D | lib.h | 217 #define fn_label_build(L, P, GFP, FN) \ argument 228 if (vec_setup(label, __lvec, (L)->size, (GFP))) { \ 242 if (!vec_setup(profile, __pvec, __count, (GFP))) { \ 250 __count, (GFP)); \ 282 #define fn_label_build_in_ns(L, P, GFP, NS_FN, OTHER_FN) \ argument 284 fn_label_build((L), (P), (GFP), \
|
| D | label.h | 28 #define vec_setup(T, V, N, GFP) \ argument 36 (V) = kzalloc(sizeof(struct aa_ ## T *) * (N), (GFP)); \
|
| /Linux-v5.15/Documentation/core-api/ |
| D | memory-allocation.rst | 14 Most of the memory allocation APIs use GFP flags to express how that 15 memory should be allocated. The GFP acronym stands for "get free 18 Diversity of the allocation APIs combined with the numerous GFP flags 26 Of course there are cases when other allocation APIs and different GFP 32 The GFP flags control the allocators behavior. They tell what memory 36 reference documentation for the GFP flags and their combinations and 80 Other legacy GFP flags are ``GFP_DMA`` and ``GFP_DMA32``. They are 87 GFP flags and reclaim behavior 161 will be retried with `vmalloc`. There are restrictions on which GFP
|
| D | mm-api.rst | 35 :doc: Useful GFP flag combinations
|
| D | gfp_mask-from-fs-io.rst | 4 GFP masks used from FS/IO context
|
| D | idr.rst | 61 you may need to pass a restrictive set of GFP flags, which can lead
|
| D | xarray.rst | 175 and the GFP flags specified will be ignored. 178 a restrictive set of GFP flags. In that case, the functions return a
|
| /Linux-v5.15/drivers/gpu/drm/i915/selftests/ |
| D | i915_gem_gtt.c | 55 #define GFP (GFP_KERNEL | __GFP_NOWARN | __GFP_NORETRY) in fake_get_pages() macro 62 pages = kmalloc(sizeof(*pages), GFP); in fake_get_pages() 67 if (sg_alloc_table(pages, rem, GFP)) { in fake_get_pages() 90 #undef GFP in fake_get_pages()
|
| /Linux-v5.15/Documentation/block/ |
| D | biodoc.rst | 215 GFP flags) when allocating bounce buffers, to avoid certain highmem
|
| /Linux-v5.15/Documentation/sound/kernel-api/ |
| D | writing-an-alsa-driver.rst | 3572 If you need a different GFP flag, you can pass it by encoding the flag
|