Home
last modified time | relevance | path

Searched refs:GFP (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Dhuge_gem_object.c42 #define GFP (GFP_KERNEL | __GFP_NOWARN | __GFP_NORETRY) in huge_get_pages() macro
49 pages = kmalloc(sizeof(*pages), GFP); in huge_get_pages()
53 if (sg_alloc_table(pages, npages, GFP)) { in huge_get_pages()
62 page = alloc_page(GFP | __GFP_HIGHMEM); in huge_get_pages()
91 #undef GFP in huge_get_pages()
Dhuge_pages.c68 #define GFP (GFP_KERNEL | __GFP_NOWARN | __GFP_NORETRY) in get_huge_pages() macro
75 st = kmalloc(sizeof(*st), GFP); in get_huge_pages()
79 if (sg_alloc_table(st, obj->base.size >> PAGE_SHIFT, GFP)) { in get_huge_pages()
103 page = alloc_pages(GFP | __GFP_ZERO, order); in get_huge_pages()
199 st = kmalloc(sizeof(*st), GFP); in fake_get_huge_pages()
203 if (sg_alloc_table(st, obj->base.size >> PAGE_SHIFT, GFP)) { in fake_get_huge_pages()
252 st = kmalloc(sizeof(*st), GFP); in fake_get_huge_pages_single()
256 if (sg_alloc_table(st, 1, GFP)) { in fake_get_huge_pages_single()
277 #undef GFP in fake_get_huge_pages_single()
Di915_gem_gtt.c58 #define GFP (GFP_KERNEL | __GFP_NOWARN | __GFP_NORETRY) in fake_get_pages() macro
65 pages = kmalloc(sizeof(*pages), GFP); in fake_get_pages()
70 if (sg_alloc_table(pages, rem, GFP)) { in fake_get_pages()
95 #undef GFP in fake_get_pages()
/Linux-v4.19/security/apparmor/include/
Dlib.h217 #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), \
Dlabel.h32 #define vec_setup(T, V, N, GFP) \ argument
40 (V) = kzalloc(sizeof(struct aa_ ## T *) * (N), (GFP)); \
/Linux-v4.19/Documentation/core-api/
Dmm-api.rst20 Functions which need to allocate memory often use GFP flags to express
21 how that memory should be allocated. The GFP acronym stands for "get
22 free pages", the underlying memory allocation function. Not every GFP
Dgfp_mask-from-fs-io.rst2 GFP masks used from FS/IO context
Didr.rst61 you may need to pass a restrictive set of GFP flags, which can lead
/Linux-v4.19/Documentation/connector/
Dconnector.txt95 int gfp_mask - GFP mask.
/Linux-v4.19/Documentation/block/
Dbiodoc.txt204 GFP flags) when allocating bounce buffers, to avoid certain highmem