/linux/arch/powerpc/include/asm/ |
H A D | pgalloc.h | 12 return gfp | __GFP_ACCOUNT; in pgtable_gfp_flags() 17 return gfp | __GFP_ACCOUNT; in pgtable_gfp_flags()
|
/linux/include/linux/ |
H A D | gfp_types.h | 153 #define __GFP_ACCOUNT ((__force gfp_t)___GFP_ACCOUNT) macro 379 #define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT)
|
H A D | bpf.h | 3525 return flags | __GFP_ACCOUNT; in bpf_memcg_flags()
|
/linux/Documentation/translations/zh_CN/mm/ |
H A D | vmalloced-kernel-stacks.rst | 87 进行memcg核算。因此,__vmalloc_node_range被调用时没有__GFP_ACCOUNT。
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | memory-allocation.rst | 53 * 从用户空间触发的不可信任的分配应该是kmem核算的对象,必须设置 ``__GFP_ACCOUNT`` 位。
|
/linux/arch/powerpc/mm/ |
H A D | pgtable-frag.c | 61 ptdesc = pagetable_alloc(PGALLOC_GFP | __GFP_ACCOUNT, 0); in __alloc_for_ptecache()
|
/linux/include/trace/events/ |
H A D | kmem.h | 40 ((gfp_flags & __GFP_ACCOUNT) || 91 (__entry->gfp_flags & (__force unsigned long)__GFP_ACCOUNT)) ? "true" : "false")
|
H A D | mmflags.h | 111 gfpflag_string(__GFP_ACCOUNT), \
|
/linux/arch/x86/include/asm/ |
H A D | pgalloc.h |
|
/linux/kernel/bpf/ |
H A D | memalloc.c | 212 gfp = __GFP_NOWARN | __GFP_ACCOUNT; in alloc_bulk() 998 ret = __alloc(c, NUMA_NO_NODE, GFP_KERNEL | __GFP_NOWARN | __GFP_ACCOUNT); in bpf_mem_cache_alloc_flags()
|
H A D | syscall.c | 511 ptr = kmalloc_node(size, flags | __GFP_ACCOUNT, node); in bpf_map_kmalloc_node() 525 ptr = kzalloc(size, flags | __GFP_ACCOUNT); in bpf_map_kzalloc() 540 ptr = kvcalloc(n, size, flags | __GFP_ACCOUNT); in bpf_map_kvcalloc() 555 ptr = __alloc_percpu_gfp(size, align, flags | __GFP_ACCOUNT); in bpf_map_alloc_percpu() 585 pg = alloc_pages_node(nid, gfp | __GFP_ACCOUNT, 0); in bpf_map_alloc_pages()
|
/linux/Documentation/mm/ |
H A D | vmalloced-kernel-stacks.rst | 96 Hence, __vmalloc_node_range is called without __GFP_ACCOUNT.
|
/linux/lib/ |
H A D | xarray.c | 307 gfp |= __GFP_ACCOUNT; in xas_nomem() 337 gfp |= __GFP_ACCOUNT; in __xas_nomem() 375 gfp |= __GFP_ACCOUNT; in xas_alloc()
|
H A D | radix-tree.c | 332 gfp_mask &= ~__GFP_ACCOUNT; in __radix_tree_preload()
|
/linux/arch/x86/mm/ |
H A D | pgtable.c | 243 gfp &= ~__GFP_ACCOUNT; in preallocate_pmds()
|
/linux/Documentation/core-api/ |
H A D | memory-allocation.rst | 54 of kmem accounting and must have ``__GFP_ACCOUNT`` bit set. There
|
/linux/fs/bcachefs/ |
H A D | btree_key_cache.c | 121 gfp |= __GFP_ACCOUNT|__GFP_RECLAIMABLE; in __bkey_cached_alloc()
|
H A D | btree_cache.c | 154 gfp |= __GFP_ACCOUNT|__GFP_RECLAIMABLE; in btree_node_data_alloc()
|
/linux/arch/s390/mm/ |
H A D | gmap.c | 85 INIT_RADIX_TREE(&gmap->host_to_guest, GFP_ATOMIC | __GFP_ACCOUNT); in gmap_alloc() 86 INIT_RADIX_TREE(&gmap->host_to_rmap, GFP_ATOMIC | __GFP_ACCOUNT); in gmap_alloc()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_vm.c | 2804 GFP_KERNEL | __GFP_ACCOUNT | in vm_bind_ioctl_check_args() 3045 GFP_KERNEL | __GFP_ACCOUNT | in xe_vm_bind_ioctl() 3053 GFP_KERNEL | __GFP_ACCOUNT | in xe_vm_bind_ioctl()
|
/linux/fs/ |
H A D | pipe.c | 512 page = alloc_page(GFP_HIGHUSER | __GFP_ACCOUNT); in pipe_write()
|
/linux/net/ipv6/ |
H A D | sit.c | 336 kp = kcalloc(ca, sizeof(*kp), GFP_ATOMIC | __GFP_ACCOUNT | in ipip6_tunnel_get_prl()
|
/linux/mm/ |
H A D | page_alloc.c | 4581 if (memcg_kmem_online() && (gfp & __GFP_ACCOUNT)) in alloc_pages_bulk_noprof() 4756 if (memcg_kmem_online() && (gfp & __GFP_ACCOUNT) && page && in __alloc_frozen_pages_noprof()
|
H A D | slub.c | 1951 __GFP_ACCOUNT | __GFP_NOFAIL) 2149 if (likely(!(flags & __GFP_ACCOUNT) && !(s->flags & SLAB_ACCOUNT))) in memcg_slab_post_alloc_hook()
|
/linux/kernel/ |
H A D | fork.c | 316 THREADINFO_GFP & ~__GFP_ACCOUNT, in alloc_thread_stack_node()
|