Searched refs:GFP (Results 1 – 14 of 14) sorted by relevance
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | memory-allocation.rst |
|
H A D | gfp_mask-from-fs-io.rst |
|
H A D | xarray.rst |
|
H A D | idr.rst |
|
/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | huge_gem_object.c | 30 #define GFP (GFP_KERNEL | __GFP_NOWARN | __GFP_RETRY_MAYFAIL) in huge_get_pages() macro 41 pages = kmalloc(sizeof(*pages), GFP); in huge_get_pages() 45 if (sg_alloc_table(pages, npages, GFP)) { in huge_get_pages() 54 page = alloc_page(GFP | __GFP_HIGHMEM); in huge_get_pages() 82 #undef GFP in huge_get_pages()
|
H A D | huge_pages.c | 80 #define GFP (GFP_KERNEL | __GFP_NOWARN | __GFP_NORETRY) in get_huge_pages() macro 91 st = kmalloc(sizeof(*st), GFP); in get_huge_pages() 95 if (sg_alloc_table(st, obj->base.size >> PAGE_SHIFT, GFP)) { in get_huge_pages() 119 page = alloc_pages(GFP | __GFP_ZERO, order); in get_huge_pages() 223 st = kmalloc(sizeof(*st), GFP); in fake_get_huge_pages() 227 if (sg_alloc_table(st, obj->base.size >> PAGE_SHIFT, GFP)) { in fake_get_huge_pages() 273 st = kmalloc(sizeof(*st), GFP); in fake_get_huge_pages_single() 277 if (sg_alloc_table(st, 1, GFP)) { in fake_get_huge_pages_single() 296 #undef GFP in fake_get_huge_pages_single()
|
/linux/security/apparmor/include/ |
H A D | lib.h | 245 * @GFP: memory allocation type to use 254 #define fn_label_build(L, P, GFP, FN) \ argument 265 if (vec_setup(label, __lvec, (L)->size, (GFP))) { \ 279 if (!vec_setup(profile, __pvec, __count, (GFP))) { \ 287 __count, (GFP)); \ 319 #define fn_label_build_in_ns(L, P, GFP, NS_FN, OTHER_FN) \ argument 321 fn_label_build((L), (P), (GFP), \
|
H A D | label.h | 29 #define vec_setup(T, V, N, GFP) \ argument 37 (V) = kzalloc(sizeof(struct aa_ ## T *) * (N), (GFP)); \
|
/linux/Documentation/core-api/ |
H A D | mm-api.rst | 32 :doc: Useful GFP flag combinations
|
H A D | gfp_mask-from-fs-io.rst | 4 GFP masks used from FS/IO context
|
H A D | idr.rst | 64 you may need to pass a restrictive set of GFP flags, which can lead
|
H A D | xarray.rst | 177 and the GFP flags specified will be ignored. 180 a restrictive set of GFP flags. In that case, the functions return a
|
/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_gem_gtt.c | 60 #define GFP (GFP_KERNEL | __GFP_NOWARN | __GFP_NORETRY) in fake_get_pages() macro 66 pages = kmalloc(sizeof(*pages), GFP); in fake_get_pages() 77 if (sg_alloc_table(pages, rem, GFP)) { in fake_get_pages() 98 #undef GFP in fake_get_pages()
|
/linux/Documentation/mm/ |
H A D | physical_memory.rst | 346 The page allocator uses the GFP flags, see :ref:`mm-api-gfp-flags`, specified by
|