Searched refs:__GFP_ACCOUNT (Results 1 – 25 of 35) sorted by relevance
12
/linux/arch/powerpc/include/asm/ |
A D | pgalloc.h | 12 return gfp | __GFP_ACCOUNT; in pgtable_gfp_flags() 17 return gfp | __GFP_ACCOUNT; in pgtable_gfp_flags()
|
/linux/tools/testing/radix-tree/linux/ |
A D | gfp.h | 16 #define __GFP_ACCOUNT 0x100000u macro
|
/linux/include/asm-generic/ |
A D | pgalloc.h | 8 #define GFP_PGTABLE_USER (GFP_PGTABLE_KERNEL | __GFP_ACCOUNT)
|
/linux/arch/powerpc/mm/ |
A D | pgtable-frag.c | 61 page = alloc_page(PGALLOC_GFP | __GFP_ACCOUNT); in __alloc_for_ptecache()
|
/linux/Documentation/translations/zh_CN/core-api/ |
A D | memory-allocation.rst | 53 * 从用户空间触发的不可信任的分配应该是kmem核算的对象,必须设置 ``__GFP_ACCOUNT`` 位。
|
/linux/include/linux/ |
A D | gfp.h | 109 #define __GFP_ACCOUNT ((__force gfp_t)___GFP_ACCOUNT) macro 325 #define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT)
|
A D | slab.h | 338 (IS_ENABLED(CONFIG_MEMCG_KMEM) ? __GFP_ACCOUNT : 0))
|
/linux/kernel/bpf/ |
A D | bpf_local_storage.c | 564 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 D | ringbuf.c | 166 rb_map = kzalloc(sizeof(*rb_map), GFP_USER | __GFP_ACCOUNT); in ringbuf_map_alloc()
|
A D | local_storage.c | 317 __GFP_ZERO | GFP_USER | __GFP_ACCOUNT, numa_node); in cgroup_storage_map_alloc()
|
A D | lpm_trie.c | 560 trie = kzalloc(sizeof(*trie), GFP_USER | __GFP_NOWARN | __GFP_ACCOUNT); in trie_alloc()
|
A D | cpumap.c | 99 cmap = kzalloc(sizeof(*cmap), GFP_USER | __GFP_ACCOUNT); in cpu_map_alloc()
|
A D | syscall.c | 308 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 D | devmap.c | 165 dtab = kzalloc(sizeof(*dtab), GFP_USER | __GFP_ACCOUNT); in dev_map_alloc()
|
/linux/arch/x86/include/asm/ |
A D | pgalloc.h | 155 gfp &= ~__GFP_ACCOUNT; in p4d_alloc_one()
|
/linux/include/trace/events/ |
A D | mmflags.h | 47 {(unsigned long)__GFP_ACCOUNT, "__GFP_ACCOUNT"}, \
|
/linux/arch/powerpc/mm/book3s64/ |
A D | pgtable.c | 309 gfp &= ~__GFP_ACCOUNT; in __alloc_for_pmdcache()
|
/linux/mm/ |
A D | slab.h | 280 if (!(flags & __GFP_ACCOUNT) && !(s->flags & SLAB_ACCOUNT)) in memcg_slab_pre_alloc_hook()
|
/linux/lib/ |
A D | xarray.c | 304 gfp |= __GFP_ACCOUNT; in xas_nomem() 334 gfp |= __GFP_ACCOUNT; in __xas_nomem() 372 gfp |= __GFP_ACCOUNT; in xas_alloc()
|
A D | radix-tree.c | 330 gfp_mask &= ~__GFP_ACCOUNT; in __radix_tree_preload()
|
/linux/arch/x86/mm/ |
A D | pgtable.c | 232 gfp &= ~__GFP_ACCOUNT; in preallocate_pmds()
|
/linux/net/core/ |
A D | sock_map.c | 44 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 D | memory-allocation.rst | 53 of kmem accounting and must have ``__GFP_ACCOUNT`` bit set. There
|
/linux/arch/s390/mm/ |
A 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/fs/ |
A D | pipe.c | 494 page = alloc_page(GFP_HIGHUSER | __GFP_ACCOUNT); in pipe_write()
|
Completed in 65 milliseconds
12