Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
Dhuge_gem_object.c30 #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()
Dhuge_pages.c61 #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()
/kernel/linux/linux-5.10/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.h28 #define vec_setup(T, V, N, GFP) \ argument
36 (V) = kzalloc(sizeof(struct aa_ ## T *) * (N), (GFP)); \
/kernel/linux/linux-5.10/Documentation/core-api/
Dmm-api.rst22 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
Dmemory-allocation.rst14 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
Dgfp_mask-from-fs-io.rst4 GFP masks used from FS/IO context
Didr.rst61 you may need to pass a restrictive set of GFP flags, which can lead
Dxarray.rst175 and the GFP flags specified will be ignored.
178 a restrictive set of GFP flags. In that case, the functions return a
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c54 #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()
/kernel/linux/linux-5.10/Documentation/block/
Dbiodoc.rst215 GFP flags) when allocating bounce buffers, to avoid certain highmem
/kernel/linux/linux-5.10/Documentation/sound/kernel-api/
Dwriting-an-alsa-driver.rst3571 If you need a different GFP flag, you can pass it by encoding the flag
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch136661 + /* GFP allocator. */
137997 +************************** GFP Allocator Debugfs ***************************
138343 +************************ GFP Allocator **********************************
139215 +/* GFP allocator operations. */
139229 +/* GFP allocator entry. */
139822 +/* GFP allocator operations. */
139837 +/* GFP allocator entry. */
140947 + /* GFP allocator. */