Searched refs:__GFP_ACCOUNT (Results 1 - 25 of 32) sorted by relevance

12

/linux-master/arch/powerpc/include/asm/
H A Dpgalloc.h12 return gfp | __GFP_ACCOUNT;
17 return gfp | __GFP_ACCOUNT;
/linux-master/include/linux/
H A Dgfp_types.h137 * %__GFP_ACCOUNT causes the allocation to be accounted to kmemcg.
143 #define __GFP_ACCOUNT ((__force gfp_t)___GFP_ACCOUNT) macro
364 #define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT)
H A Dslab.h425 (IS_ENABLED(CONFIG_MEMCG_KMEM) ? __GFP_ACCOUNT : 0))
449 * 3) __GFP_ACCOUNT
H A Dbpf.h3402 return flags | __GFP_ACCOUNT;
/linux-master/arch/powerpc/mm/
H A Dpgtable-frag.c61 ptdesc = pagetable_alloc(PGALLOC_GFP | __GFP_ACCOUNT, 0);
/linux-master/include/asm-generic/
H A Dpgalloc.h8 #define GFP_PGTABLE_USER (GFP_PGTABLE_KERNEL | __GFP_ACCOUNT)
/linux-master/include/trace/events/
H A Dkmem.h40 ((gfp_flags & __GFP_ACCOUNT) ||
91 (__entry->gfp_flags & (__force unsigned long)__GFP_ACCOUNT)) ? "true" : "false")
H A Dmmflags.h48 gfpflag_string(__GFP_ACCOUNT), \
/linux-master/arch/x86/include/asm/
H A Dpgalloc.h155 gfp &= ~__GFP_ACCOUNT;
/linux-master/arch/powerpc/mm/book3s64/
H A Dpgtable.c392 gfp &= ~__GFP_ACCOUNT;
/linux-master/kernel/bpf/
H A Dmemalloc.c213 gfp = __GFP_NOWARN | __GFP_ACCOUNT;
1004 ret = __alloc(c, NUMA_NO_NODE, GFP_KERNEL | __GFP_NOWARN | __GFP_ACCOUNT);
H A Dsyscall.c422 ptr = kmalloc_node(size, flags | __GFP_ACCOUNT, node);
436 ptr = kzalloc(size, flags | __GFP_ACCOUNT);
451 ptr = kvcalloc(n, size, flags | __GFP_ACCOUNT);
466 ptr = __alloc_percpu_gfp(size, align, flags | __GFP_ACCOUNT);
496 pg = alloc_pages_node(nid, gfp | __GFP_ACCOUNT, 0);
/linux-master/lib/
H A Dxarray.c305 gfp |= __GFP_ACCOUNT;
335 gfp |= __GFP_ACCOUNT;
373 gfp |= __GFP_ACCOUNT;
H A Dradix-tree.c332 gfp_mask &= ~__GFP_ACCOUNT;
/linux-master/arch/riscv/kvm/
H A Dmmu.c355 .gfp_custom = (in_atomic) ? GFP_ATOMIC | __GFP_ACCOUNT : 0,
/linux-master/arch/x86/mm/
H A Dpgtable.c238 gfp &= ~__GFP_ACCOUNT;
/linux-master/fs/
H A Dbuffer.c959 gfp_t gfp = GFP_NOFS | __GFP_ACCOUNT;
1067 bh = folio_alloc_buffers(folio, size, gfp | __GFP_ACCOUNT);
1648 gfp_t gfp = GFP_NOFS | __GFP_ACCOUNT | __GFP_NOFAIL;
H A Dpipe.c513 page = alloc_page(GFP_HIGHUSER | __GFP_ACCOUNT);
/linux-master/arch/s390/mm/
H A Dgmap.c77 INIT_RADIX_TREE(&gmap->host_to_guest, GFP_ATOMIC | __GFP_ACCOUNT);
78 INIT_RADIX_TREE(&gmap->host_to_rmap, GFP_ATOMIC | __GFP_ACCOUNT);
/linux-master/arch/x86/kvm/mmu/
H A Dtdp_mmu.c1401 sp = __tdp_mmu_alloc_sp_for_split(GFP_NOWAIT | __GFP_ACCOUNT);
/linux-master/drivers/gpu/drm/xe/
H A Dxe_vm.c2854 GFP_KERNEL | __GFP_ACCOUNT);
3033 GFP_KERNEL | __GFP_ACCOUNT);
3040 GFP_KERNEL | __GFP_ACCOUNT);
/linux-master/net/ipv6/
H A Dsit.c334 kp = kcalloc(ca, sizeof(*kp), GFP_ATOMIC | __GFP_ACCOUNT |
/linux-master/kernel/trace/
H A Dtrace_events_user.c640 enabler = kzalloc(sizeof(*enabler), GFP_NOWAIT | __GFP_ACCOUNT);
/linux-master/mm/
H A Dpage_alloc.c4419 if (memcg_kmem_online() && (gfp & __GFP_ACCOUNT))
4591 if (memcg_kmem_online() && (gfp & __GFP_ACCOUNT) && page &&
H A Dpercpu.c40 * memcg-awareness. To make a percpu allocation memcg-aware the __GFP_ACCOUNT
1628 if (!memcg_kmem_online() || !(gfp & __GFP_ACCOUNT))

Completed in 376 milliseconds

12