Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.6.21/include/linux/
Dgfp_types.h107 #define __GFP_ACCOUNT ((__force gfp_t)___GFP_ACCOUNT) macro
327 #define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT)
Dslab.h396 (IS_ENABLED(CONFIG_MEMCG_KMEM) ? __GFP_ACCOUNT : 0))
/linux-6.6.21/Documentation/translations/zh_CN/mm/
Dvmalloced-kernel-stacks.rst87 进行memcg核算。因此,__vmalloc_node_range被调用时没有__GFP_ACCOUNT
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dmemory-allocation.rst53 * 从用户空间触发的不可信任的分配应该是kmem核算的对象,必须设置 ``__GFP_ACCOUNT`` 位。
/linux-6.6.21/arch/powerpc/mm/
Dpgtable-frag.c61 ptdesc = pagetable_alloc(PGALLOC_GFP | __GFP_ACCOUNT, 0); in __alloc_for_ptecache()
/linux-6.6.21/include/asm-generic/
Dpgalloc.h8 #define GFP_PGTABLE_USER (GFP_PGTABLE_KERNEL | __GFP_ACCOUNT)
/linux-6.6.21/include/trace/events/
Dkmem.h40 ((gfp_flags & __GFP_ACCOUNT) ||
91 (__entry->gfp_flags & (__force unsigned long)__GFP_ACCOUNT)) ? "true" : "false")
Dmmflags.h48 gfpflag_string(__GFP_ACCOUNT), \
/linux-6.6.21/arch/x86/include/asm/
Dpgalloc.h155 gfp &= ~__GFP_ACCOUNT; in p4d_alloc_one()
/linux-6.6.21/kernel/bpf/
Dmemalloc.c211 gfp = __GFP_NOWARN | __GFP_ACCOUNT; in alloc_bulk()
924 ret = __alloc(c, NUMA_NO_NODE, GFP_KERNEL | __GFP_NOWARN | __GFP_ACCOUNT); in bpf_mem_cache_alloc_flags()
Dsyscall.c422 ptr = kmalloc_node(size, flags | __GFP_ACCOUNT, node); in bpf_map_kmalloc_node()
436 ptr = kzalloc(size, flags | __GFP_ACCOUNT); in bpf_map_kzalloc()
451 ptr = kvcalloc(n, size, flags | __GFP_ACCOUNT); in bpf_map_kvcalloc()
466 ptr = __alloc_percpu_gfp(size, align, flags | __GFP_ACCOUNT); in bpf_map_alloc_percpu()
/linux-6.6.21/Documentation/mm/
Dvmalloced-kernel-stacks.rst96 Hence, __vmalloc_node_range is called without __GFP_ACCOUNT.
/linux-6.6.21/arch/powerpc/mm/book3s64/
Dpgtable.c392 gfp &= ~__GFP_ACCOUNT; in __alloc_for_pmdcache()
/linux-6.6.21/lib/
Dxarray.c305 gfp |= __GFP_ACCOUNT; in xas_nomem()
335 gfp |= __GFP_ACCOUNT; in __xas_nomem()
373 gfp |= __GFP_ACCOUNT; in xas_alloc()
Dradix-tree.c332 gfp_mask &= ~__GFP_ACCOUNT; in __radix_tree_preload()
/linux-6.6.21/arch/x86/mm/
Dpgtable.c235 gfp &= ~__GFP_ACCOUNT; in preallocate_pmds()
/linux-6.6.21/mm/
Dslab.h484 if (!(flags & __GFP_ACCOUNT) && !(s->flags & SLAB_ACCOUNT)) in memcg_slab_pre_alloc_hook()
/linux-6.6.21/arch/riscv/kvm/
Dmmu.c355 .gfp_custom = (in_atomic) ? GFP_ATOMIC | __GFP_ACCOUNT : 0, in kvm_riscv_gstage_ioremap()
/linux-6.6.21/Documentation/core-api/
Dmemory-allocation.rst53 of kmem accounting and must have ``__GFP_ACCOUNT`` bit set. There
/linux-6.6.21/arch/s390/mm/
Dgmap.c77 INIT_RADIX_TREE(&gmap->host_to_guest, GFP_ATOMIC | __GFP_ACCOUNT); in gmap_alloc()
78 INIT_RADIX_TREE(&gmap->host_to_rmap, GFP_ATOMIC | __GFP_ACCOUNT); in gmap_alloc()
/linux-6.6.21/fs/
Dpipe.c495 page = alloc_page(GFP_HIGHUSER | __GFP_ACCOUNT); in pipe_write()
/linux-6.6.21/arch/x86/kvm/mmu/
Dtdp_mmu.c1358 sp = __tdp_mmu_alloc_sp_for_split(GFP_NOWAIT | __GFP_ACCOUNT); in tdp_mmu_alloc_sp_for_split()
/linux-6.6.21/kernel/trace/
Dtrace_events_user.c621 enabler = kzalloc(sizeof(*enabler), GFP_NOWAIT | __GFP_ACCOUNT); in user_event_enabler_dup()
/linux-6.6.21/net/ipv6/
Dsit.c334 kp = kcalloc(ca, sizeof(*kp), GFP_ATOMIC | __GFP_ACCOUNT | in ipip6_tunnel_get_prl()

12