Home
last modified time | relevance | path

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

12

/linux/arch/powerpc/include/asm/
A Dpgalloc.h12 return gfp | __GFP_ACCOUNT; in pgtable_gfp_flags()
17 return gfp | __GFP_ACCOUNT; in pgtable_gfp_flags()
/linux/tools/testing/radix-tree/linux/
A Dgfp.h16 #define __GFP_ACCOUNT 0x100000u macro
/linux/include/asm-generic/
A Dpgalloc.h8 #define GFP_PGTABLE_USER (GFP_PGTABLE_KERNEL | __GFP_ACCOUNT)
/linux/arch/powerpc/mm/
A Dpgtable-frag.c61 page = alloc_page(PGALLOC_GFP | __GFP_ACCOUNT); in __alloc_for_ptecache()
/linux/Documentation/translations/zh_CN/core-api/
A Dmemory-allocation.rst53 * 从用户空间触发的不可信任的分配应该是kmem核算的对象,必须设置 ``__GFP_ACCOUNT`` 位。
/linux/include/linux/
A Dgfp.h109 #define __GFP_ACCOUNT ((__force gfp_t)___GFP_ACCOUNT) macro
325 #define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT)
A Dslab.h338 (IS_ENABLED(CONFIG_MEMCG_KMEM) ? __GFP_ACCOUNT : 0))
/linux/kernel/bpf/
A Dbpf_local_storage.c564 smap = kzalloc(sizeof(*smap), GFP_USER | __GFP_NOWARN | __GFP_ACCOUNT); in bpf_local_storage_map_alloc()
575 GFP_USER | __GFP_NOWARN | __GFP_ACCOUNT); in bpf_local_storage_map_alloc()
A Dringbuf.c166 rb_map = kzalloc(sizeof(*rb_map), GFP_USER | __GFP_ACCOUNT); in ringbuf_map_alloc()
A Dlocal_storage.c317 __GFP_ZERO | GFP_USER | __GFP_ACCOUNT, numa_node); in cgroup_storage_map_alloc()
A Dlpm_trie.c560 trie = kzalloc(sizeof(*trie), GFP_USER | __GFP_NOWARN | __GFP_ACCOUNT); in trie_alloc()
A Dcpumap.c99 cmap = kzalloc(sizeof(*cmap), GFP_USER | __GFP_ACCOUNT); in cpu_map_alloc()
A Dsyscall.c308 const gfp_t gfp = __GFP_NOWARN | __GFP_ZERO | __GFP_ACCOUNT; in __bpf_map_area_alloc()
433 ptr = kmalloc_node(size, flags | __GFP_ACCOUNT, node); in bpf_map_kmalloc_node()
445 ptr = kzalloc(size, flags | __GFP_ACCOUNT); in bpf_map_kzalloc()
458 ptr = __alloc_percpu_gfp(size, align, flags | __GFP_ACCOUNT); in bpf_map_alloc_percpu()
A Ddevmap.c165 dtab = kzalloc(sizeof(*dtab), GFP_USER | __GFP_ACCOUNT); in dev_map_alloc()
/linux/arch/x86/include/asm/
A Dpgalloc.h155 gfp &= ~__GFP_ACCOUNT; in p4d_alloc_one()
/linux/include/trace/events/
A Dmmflags.h47 {(unsigned long)__GFP_ACCOUNT, "__GFP_ACCOUNT"}, \
/linux/arch/powerpc/mm/book3s64/
A Dpgtable.c309 gfp &= ~__GFP_ACCOUNT; in __alloc_for_pmdcache()
/linux/mm/
A Dslab.h280 if (!(flags & __GFP_ACCOUNT) && !(s->flags & SLAB_ACCOUNT)) in memcg_slab_pre_alloc_hook()
/linux/lib/
A Dxarray.c304 gfp |= __GFP_ACCOUNT; in xas_nomem()
334 gfp |= __GFP_ACCOUNT; in __xas_nomem()
372 gfp |= __GFP_ACCOUNT; in xas_alloc()
A Dradix-tree.c330 gfp_mask &= ~__GFP_ACCOUNT; in __radix_tree_preload()
/linux/arch/x86/mm/
A Dpgtable.c232 gfp &= ~__GFP_ACCOUNT; in preallocate_pmds()
/linux/net/core/
A Dsock_map.c44 stab = kzalloc(sizeof(*stab), GFP_USER | __GFP_ACCOUNT); in sock_map_alloc()
1075 htab = kzalloc(sizeof(*htab), GFP_USER | __GFP_ACCOUNT); in sock_hash_alloc()
/linux/Documentation/core-api/
A Dmemory-allocation.rst53 of kmem accounting and must have ``__GFP_ACCOUNT`` bit set. There
/linux/arch/s390/mm/
A Dgmap.c65 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/fs/
A Dpipe.c494 page = alloc_page(GFP_HIGHUSER | __GFP_ACCOUNT); in pipe_write()

Completed in 65 milliseconds

12