Searched refs:__GFP_ACCOUNT (Results 1 – 25 of 35) sorted by relevance
12
/linux-6.6.21/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.6.21/include/linux/ |
D | gfp_types.h | 107 #define __GFP_ACCOUNT ((__force gfp_t)___GFP_ACCOUNT) macro 327 #define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT)
|
D | slab.h | 396 (IS_ENABLED(CONFIG_MEMCG_KMEM) ? __GFP_ACCOUNT : 0))
|
/linux-6.6.21/Documentation/translations/zh_CN/mm/ |
D | vmalloced-kernel-stacks.rst | 87 进行memcg核算。因此,__vmalloc_node_range被调用时没有__GFP_ACCOUNT。
|
/linux-6.6.21/Documentation/translations/zh_CN/core-api/ |
D | memory-allocation.rst | 53 * 从用户空间触发的不可信任的分配应该是kmem核算的对象,必须设置 ``__GFP_ACCOUNT`` 位。
|
/linux-6.6.21/arch/powerpc/mm/ |
D | pgtable-frag.c | 61 ptdesc = pagetable_alloc(PGALLOC_GFP | __GFP_ACCOUNT, 0); in __alloc_for_ptecache()
|
/linux-6.6.21/include/asm-generic/ |
D | pgalloc.h | 8 #define GFP_PGTABLE_USER (GFP_PGTABLE_KERNEL | __GFP_ACCOUNT)
|
/linux-6.6.21/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 | 48 gfpflag_string(__GFP_ACCOUNT), \
|
/linux-6.6.21/arch/x86/include/asm/ |
D | pgalloc.h | 155 gfp &= ~__GFP_ACCOUNT; in p4d_alloc_one()
|
/linux-6.6.21/kernel/bpf/ |
D | memalloc.c | 211 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()
|
D | syscall.c | 422 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/ |
D | vmalloced-kernel-stacks.rst | 96 Hence, __vmalloc_node_range is called without __GFP_ACCOUNT.
|
/linux-6.6.21/arch/powerpc/mm/book3s64/ |
D | pgtable.c | 392 gfp &= ~__GFP_ACCOUNT; in __alloc_for_pmdcache()
|
/linux-6.6.21/lib/ |
D | xarray.c | 305 gfp |= __GFP_ACCOUNT; in xas_nomem() 335 gfp |= __GFP_ACCOUNT; in __xas_nomem() 373 gfp |= __GFP_ACCOUNT; in xas_alloc()
|
D | radix-tree.c | 332 gfp_mask &= ~__GFP_ACCOUNT; in __radix_tree_preload()
|
/linux-6.6.21/arch/x86/mm/ |
D | pgtable.c | 235 gfp &= ~__GFP_ACCOUNT; in preallocate_pmds()
|
/linux-6.6.21/mm/ |
D | slab.h | 484 if (!(flags & __GFP_ACCOUNT) && !(s->flags & SLAB_ACCOUNT)) in memcg_slab_pre_alloc_hook()
|
/linux-6.6.21/arch/riscv/kvm/ |
D | mmu.c | 355 .gfp_custom = (in_atomic) ? GFP_ATOMIC | __GFP_ACCOUNT : 0, in kvm_riscv_gstage_ioremap()
|
/linux-6.6.21/Documentation/core-api/ |
D | memory-allocation.rst | 53 of kmem accounting and must have ``__GFP_ACCOUNT`` bit set. There
|
/linux-6.6.21/arch/s390/mm/ |
D | gmap.c | 77 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/ |
D | pipe.c | 495 page = alloc_page(GFP_HIGHUSER | __GFP_ACCOUNT); in pipe_write()
|
/linux-6.6.21/arch/x86/kvm/mmu/ |
D | tdp_mmu.c | 1358 sp = __tdp_mmu_alloc_sp_for_split(GFP_NOWAIT | __GFP_ACCOUNT); in tdp_mmu_alloc_sp_for_split()
|
/linux-6.6.21/kernel/trace/ |
D | trace_events_user.c | 621 enabler = kzalloc(sizeof(*enabler), GFP_NOWAIT | __GFP_ACCOUNT); in user_event_enabler_dup()
|
/linux-6.6.21/net/ipv6/ |
D | sit.c | 334 kp = kcalloc(ca, sizeof(*kp), GFP_ATOMIC | __GFP_ACCOUNT | in ipip6_tunnel_get_prl()
|
12