Searched refs:__GFP_ACCOUNT (Results 1 – 25 of 34) sorted by relevance
12
/linux-6.1.9/arch/powerpc/include/asm/ |
D | pgalloc.h | 12 return gfp | __GFP_ACCOUNT; in pgtable_gfp_flags() 17 return gfp | __GFP_ACCOUNT; in pgtable_gfp_flags()
|
/linux-6.1.9/include/linux/ |
D | gfp_types.h | 109 #define __GFP_ACCOUNT ((__force gfp_t)___GFP_ACCOUNT) macro 334 #define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT)
|
D | slab.h | 359 (IS_ENABLED(CONFIG_MEMCG_KMEM) ? __GFP_ACCOUNT : 0))
|
/linux-6.1.9/Documentation/translations/zh_CN/mm/ |
D | vmalloced-kernel-stacks.rst | 87 进行memcg核算。因此,__vmalloc_node_range被调用时没有__GFP_ACCOUNT。
|
/linux-6.1.9/arch/powerpc/mm/ |
D | pgtable-frag.c | 61 page = alloc_page(PGALLOC_GFP | __GFP_ACCOUNT); in __alloc_for_ptecache()
|
/linux-6.1.9/Documentation/translations/zh_CN/core-api/ |
D | memory-allocation.rst | 53 * 从用户空间触发的不可信任的分配应该是kmem核算的对象,必须设置 ``__GFP_ACCOUNT`` 位。
|
/linux-6.1.9/include/asm-generic/ |
D | pgalloc.h | 8 #define GFP_PGTABLE_USER (GFP_PGTABLE_KERNEL | __GFP_ACCOUNT)
|
/linux-6.1.9/include/trace/events/ |
D | kmem.h | 40 ((gfp_flags & __GFP_ACCOUNT) || 91 (__entry->gfp_flags & (__force unsigned long)__GFP_ACCOUNT)) ? "true" : "false")
|
D | mmflags.h | 49 gfpflag_string(__GFP_ACCOUNT), \
|
/linux-6.1.9/arch/x86/include/asm/ |
D | pgalloc.h | 155 gfp &= ~__GFP_ACCOUNT; in p4d_alloc_one()
|
/linux-6.1.9/arch/powerpc/mm/book3s64/ |
D | pgtable.c | 313 gfp &= ~__GFP_ACCOUNT; in __alloc_for_pmdcache()
|
/linux-6.1.9/kernel/bpf/ |
D | memalloc.c | 131 gfp_t flags = GFP_NOWAIT | __GFP_NOWARN | __GFP_ACCOUNT; in __alloc()
|
D | bpf_local_storage.c | 624 GFP_USER | __GFP_NOWARN | __GFP_ACCOUNT); in bpf_local_storage_map_alloc()
|
D | syscall.c | 312 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/ |
D | vmalloced-kernel-stacks.rst | 96 Hence, __vmalloc_node_range is called without __GFP_ACCOUNT.
|
/linux-6.1.9/lib/ |
D | xarray.c | 307 gfp |= __GFP_ACCOUNT; in xas_nomem() 337 gfp |= __GFP_ACCOUNT; in __xas_nomem() 375 gfp |= __GFP_ACCOUNT; in xas_alloc()
|
D | radix-tree.c | 330 gfp_mask &= ~__GFP_ACCOUNT; in __radix_tree_preload()
|
/linux-6.1.9/arch/x86/mm/ |
D | pgtable.c | 232 gfp &= ~__GFP_ACCOUNT; in preallocate_pmds()
|
/linux-6.1.9/mm/ |
D | slab.h | 482 if (!(flags & __GFP_ACCOUNT) && !(s->flags & SLAB_ACCOUNT)) in memcg_slab_pre_alloc_hook()
|
/linux-6.1.9/arch/riscv/kvm/ |
D | mmu.c | 355 .gfp_custom = (in_atomic) ? GFP_ATOMIC | __GFP_ACCOUNT : 0, in kvm_riscv_gstage_ioremap()
|
/linux-6.1.9/Documentation/core-api/ |
D | memory-allocation.rst | 53 of kmem accounting and must have ``__GFP_ACCOUNT`` bit set. There
|
/linux-6.1.9/arch/s390/mm/ |
D | gmap.c | 65 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/ |
D | pipe.c | 496 page = alloc_page(GFP_HIGHUSER | __GFP_ACCOUNT); in pipe_write()
|
/linux-6.1.9/arch/x86/kvm/mmu/ |
D | tdp_mmu.c | 1451 sp = __tdp_mmu_alloc_sp_for_split(GFP_NOWAIT | __GFP_ACCOUNT); in tdp_mmu_alloc_sp_for_split()
|
/linux-6.1.9/net/ipv6/ |
D | sit.c | 334 kp = kcalloc(ca, sizeof(*kp), GFP_ATOMIC | __GFP_ACCOUNT | in ipip6_tunnel_get_prl()
|
12