Home
last modified time | relevance | path

Searched refs:__GFP_ACCOUNT (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.1.9/arch/powerpc/include/asm/
Dpgalloc.h12 return gfp | __GFP_ACCOUNT; in pgtable_gfp_flags()
17 return gfp | __GFP_ACCOUNT; in pgtable_gfp_flags()
/linux-6.1.9/include/linux/
Dgfp_types.h109 #define __GFP_ACCOUNT ((__force gfp_t)___GFP_ACCOUNT) macro
334 #define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT)
Dslab.h359 (IS_ENABLED(CONFIG_MEMCG_KMEM) ? __GFP_ACCOUNT : 0))
/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dvmalloced-kernel-stacks.rst87 进行memcg核算。因此,__vmalloc_node_range被调用时没有__GFP_ACCOUNT
/linux-6.1.9/arch/powerpc/mm/
Dpgtable-frag.c61 page = alloc_page(PGALLOC_GFP | __GFP_ACCOUNT); in __alloc_for_ptecache()
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dmemory-allocation.rst53 * 从用户空间触发的不可信任的分配应该是kmem核算的对象,必须设置 ``__GFP_ACCOUNT`` 位。
/linux-6.1.9/include/asm-generic/
Dpgalloc.h8 #define GFP_PGTABLE_USER (GFP_PGTABLE_KERNEL | __GFP_ACCOUNT)
/linux-6.1.9/include/trace/events/
Dkmem.h40 ((gfp_flags & __GFP_ACCOUNT) ||
91 (__entry->gfp_flags & (__force unsigned long)__GFP_ACCOUNT)) ? "true" : "false")
Dmmflags.h49 gfpflag_string(__GFP_ACCOUNT), \
/linux-6.1.9/arch/x86/include/asm/
Dpgalloc.h155 gfp &= ~__GFP_ACCOUNT; in p4d_alloc_one()
/linux-6.1.9/arch/powerpc/mm/book3s64/
Dpgtable.c313 gfp &= ~__GFP_ACCOUNT; in __alloc_for_pmdcache()
/linux-6.1.9/kernel/bpf/
Dmemalloc.c131 gfp_t flags = GFP_NOWAIT | __GFP_NOWARN | __GFP_ACCOUNT; in __alloc()
Dbpf_local_storage.c624 GFP_USER | __GFP_NOWARN | __GFP_ACCOUNT); in bpf_local_storage_map_alloc()
Dsyscall.c312 const gfp_t gfp = __GFP_NOWARN | __GFP_ZERO | __GFP_ACCOUNT; in __bpf_map_area_alloc()
452 ptr = kmalloc_node(size, flags | __GFP_ACCOUNT, node); in bpf_map_kmalloc_node()
466 ptr = kzalloc(size, flags | __GFP_ACCOUNT); in bpf_map_kzalloc()
481 ptr = __alloc_percpu_gfp(size, align, flags | __GFP_ACCOUNT); in bpf_map_alloc_percpu()
/linux-6.1.9/Documentation/mm/
Dvmalloced-kernel-stacks.rst96 Hence, __vmalloc_node_range is called without __GFP_ACCOUNT.
/linux-6.1.9/lib/
Dxarray.c307 gfp |= __GFP_ACCOUNT; in xas_nomem()
337 gfp |= __GFP_ACCOUNT; in __xas_nomem()
375 gfp |= __GFP_ACCOUNT; in xas_alloc()
Dradix-tree.c330 gfp_mask &= ~__GFP_ACCOUNT; in __radix_tree_preload()
/linux-6.1.9/arch/x86/mm/
Dpgtable.c232 gfp &= ~__GFP_ACCOUNT; in preallocate_pmds()
/linux-6.1.9/mm/
Dslab.h482 if (!(flags & __GFP_ACCOUNT) && !(s->flags & SLAB_ACCOUNT)) in memcg_slab_pre_alloc_hook()
/linux-6.1.9/arch/riscv/kvm/
Dmmu.c355 .gfp_custom = (in_atomic) ? GFP_ATOMIC | __GFP_ACCOUNT : 0, in kvm_riscv_gstage_ioremap()
/linux-6.1.9/Documentation/core-api/
Dmemory-allocation.rst53 of kmem accounting and must have ``__GFP_ACCOUNT`` bit set. There
/linux-6.1.9/arch/s390/mm/
Dgmap.c65 INIT_RADIX_TREE(&gmap->host_to_guest, GFP_ATOMIC | __GFP_ACCOUNT); in gmap_alloc()
66 INIT_RADIX_TREE(&gmap->host_to_rmap, GFP_ATOMIC | __GFP_ACCOUNT); in gmap_alloc()
/linux-6.1.9/fs/
Dpipe.c496 page = alloc_page(GFP_HIGHUSER | __GFP_ACCOUNT); in pipe_write()
/linux-6.1.9/arch/x86/kvm/mmu/
Dtdp_mmu.c1451 sp = __tdp_mmu_alloc_sp_for_split(GFP_NOWAIT | __GFP_ACCOUNT); in tdp_mmu_alloc_sp_for_split()
/linux-6.1.9/net/ipv6/
Dsit.c334 kp = kcalloc(ca, sizeof(*kp), GFP_ATOMIC | __GFP_ACCOUNT | in ipip6_tunnel_get_prl()

12