| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gem/selftests/ |
| H A D | huge_gem_object.c | 30 #define GFP (GFP_KERNEL | __GFP_NOWARN | __GFP_NORETRY) 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()
|
| H A 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() 193 st = kmalloc(sizeof(*st), GFP); in fake_get_huge_pages() 197 if (sg_alloc_table(st, obj->base.size >> PAGE_SHIFT, GFP)) { in fake_get_huge_pages() 246 st = kmalloc(sizeof(*st), GFP); in fake_get_huge_pages_single() 250 if (sg_alloc_table(st, 1, GFP)) { in fake_get_huge_pages_single() 269 #undef GFP in fake_get_huge_pages_single()
|
| /OK3568_Linux_fs/kernel/security/apparmor/include/ |
| H A D | lib.h | 222 #define fn_label_build(L, P, GFP, FN) \ argument 233 if (vec_setup(label, __lvec, (L)->size, (GFP))) { \ 247 if (!vec_setup(profile, __pvec, __count, (GFP))) { \ 255 __count, (GFP)); \ 287 #define fn_label_build_in_ns(L, P, GFP, NS_FN, OTHER_FN) \ argument 289 fn_label_build((L), (P), (GFP), \
|
| H A D | label.h | 28 #define vec_setup(T, V, N, GFP) \ argument 36 (V) = kzalloc(sizeof(struct aa_ ## T *) * (N), (GFP)); \
|
| /OK3568_Linux_fs/kernel/Documentation/core-api/ |
| H A D | mm-api.rst | 22 Functions which need to allocate memory often use GFP flags to express 23 how that memory should be allocated. The GFP acronym stands for "get 24 free pages", the underlying memory allocation function. Not every GFP 38 :doc: Useful GFP flag combinations
|
| H A 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 157 will be retried with `vmalloc`. There are restrictions on which GFP
|
| H A D | idr.rst | 61 you may need to pass a restrictive set of GFP flags, which can lead
|
| H A D | gfp_mask-from-fs-io.rst | 4 GFP masks used from FS/IO context
|
| H A 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
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_gem_gtt.c | 54 #define GFP (GFP_KERNEL | __GFP_NOWARN | __GFP_NORETRY) in fake_get_pages() macro 61 pages = kmalloc(sizeof(*pages), GFP); in fake_get_pages() 66 if (sg_alloc_table(pages, rem, GFP)) { in fake_get_pages() 89 #undef GFP in fake_get_pages()
|
| /OK3568_Linux_fs/kernel/Documentation/block/ |
| H A D | biodoc.rst | 215 GFP flags) when allocating bounce buffers, to avoid certain highmem
|
| /OK3568_Linux_fs/kernel/Documentation/sound/kernel-api/ |
| H A D | writing-an-alsa-driver.rst | 3572 If you need a different GFP flag, you can pass it by encoding the flag
|