Home
last modified time | relevance | path

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

12

/linux/arch/powerpc/include/asm/
H A Dpgalloc.h12 return gfp | __GFP_ACCOUNT; in pgtable_gfp_flags()
17 return gfp | __GFP_ACCOUNT; in pgtable_gfp_flags()
/linux/include/linux/
H A Dgfp_types.h153 #define __GFP_ACCOUNT ((__force gfp_t)___GFP_ACCOUNT) macro
379 #define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT)
H A Dbpf.h3525 return flags | __GFP_ACCOUNT; in bpf_memcg_flags()
/linux/Documentation/translations/zh_CN/mm/
H A Dvmalloced-kernel-stacks.rst87 进行memcg核算。因此,__vmalloc_node_range被调用时没有__GFP_ACCOUNT
/linux/Documentation/translations/zh_CN/core-api/
H A Dmemory-allocation.rst53 * 从用户空间触发的不可信任的分配应该是kmem核算的对象,必须设置 ``__GFP_ACCOUNT`` 位。
/linux/arch/powerpc/mm/
H A Dpgtable-frag.c61 ptdesc = pagetable_alloc(PGALLOC_GFP | __GFP_ACCOUNT, 0); in __alloc_for_ptecache()
/linux/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.h111 gfpflag_string(__GFP_ACCOUNT), \
/linux/arch/x86/include/asm/
H A Dpgalloc.h
/linux/kernel/bpf/
H A Dmemalloc.c212 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 Dsyscall.c511 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 Dvmalloced-kernel-stacks.rst96 Hence, __vmalloc_node_range is called without __GFP_ACCOUNT.
/linux/lib/
H A Dxarray.c307 gfp |= __GFP_ACCOUNT; in xas_nomem()
337 gfp |= __GFP_ACCOUNT; in __xas_nomem()
375 gfp |= __GFP_ACCOUNT; in xas_alloc()
H A Dradix-tree.c332 gfp_mask &= ~__GFP_ACCOUNT; in __radix_tree_preload()
/linux/arch/x86/mm/
H A Dpgtable.c243 gfp &= ~__GFP_ACCOUNT; in preallocate_pmds()
/linux/Documentation/core-api/
H A Dmemory-allocation.rst54 of kmem accounting and must have ``__GFP_ACCOUNT`` bit set. There
/linux/fs/bcachefs/
H A Dbtree_key_cache.c121 gfp |= __GFP_ACCOUNT|__GFP_RECLAIMABLE; in __bkey_cached_alloc()
H A Dbtree_cache.c154 gfp |= __GFP_ACCOUNT|__GFP_RECLAIMABLE; in btree_node_data_alloc()
/linux/arch/s390/mm/
H A Dgmap.c85 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 Dxe_vm.c2804 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 Dpipe.c512 page = alloc_page(GFP_HIGHUSER | __GFP_ACCOUNT); in pipe_write()
/linux/net/ipv6/
H A Dsit.c336 kp = kcalloc(ca, sizeof(*kp), GFP_ATOMIC | __GFP_ACCOUNT | in ipip6_tunnel_get_prl()
/linux/mm/
H A Dpage_alloc.c4581 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 Dslub.c1951 __GFP_ACCOUNT | __GFP_NOFAIL)
2149 if (likely(!(flags & __GFP_ACCOUNT) && !(s->flags & SLAB_ACCOUNT))) in memcg_slab_post_alloc_hook()
/linux/kernel/
H A Dfork.c316 THREADINFO_GFP & ~__GFP_ACCOUNT, in alloc_thread_stack_node()

12