Home
last modified time | relevance | path

Searched refs:GFP_USER (Results 1 – 25 of 88) sorted by relevance

1234

/kernel/linux/linux-5.10/kernel/
Dsysctl-test.c40 GFP_USER); in sysctl_test_api_dointvec_null_tbl_data()
86 GFP_USER); in sysctl_test_api_dointvec_table_maxlen_unset()
129 GFP_USER); in sysctl_test_api_dointvec_table_len_is_zero()
163 GFP_USER); in sysctl_test_api_dointvec_table_read_but_position_set()
199 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_positive()
230 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_negative()
260 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_positive()
290 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_negative()
321 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_less_int_min()
359 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_greater_int_max()
/kernel/linux/linux-5.10/scripts/coccinelle/api/
Dmemdup_user.cocci32 - (size,\(GFP_KERNEL\|GFP_USER\|
33 - \(GFP_KERNEL\|GFP_USER\)|__GFP_NOWARN\));
56 - to = \(kvmalloc@p\|kvzalloc@p\)(size,\(GFP_KERNEL\|GFP_USER\));
80 (size,\(GFP_KERNEL\|GFP_USER\|
81 \(GFP_KERNEL\|GFP_USER\)|__GFP_NOWARN\));
92 * to = \(kvmalloc@p\|kvzalloc@p\)(size,\(GFP_KERNEL\|GFP_USER\));
/kernel/linux/linux-5.10/net/mptcp/
Dtoken_test.c11 GFP_USER); in build_req_sock()
37 GFP_USER); in build_icsk()
47 GFP_USER); in build_ctx()
56 msk = kunit_kzalloc(test, sizeof(struct mptcp_sock), GFP_USER); in build_msk()
/kernel/linux/linux-5.10/security/selinux/
Dnetlink.c76 skb = nlmsg_new(len, GFP_USER); in selnl_notify()
87 netlink_broadcast(selnl, skb, 0, SELNLGRP_AVC, GFP_USER); in selnl_notify()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dsrm_env.c69 page = (char *)__get_free_page(GFP_USER); in srm_env_proc_show()
94 char *buf = (char *) __get_free_page(GFP_USER); in srm_env_proc_write()
/kernel/linux/linux-5.10/net/bpf/
Dtest_run.c192 data = kzalloc(size + headroom + tailroom, GFP_USER); in bpf_test_init()
288 info.ctx = kzalloc(ctx_size_in, GFP_USER); in bpf_prog_test_run_raw_tp()
338 data = kzalloc(max_size, GFP_USER); in bpf_ctx_init()
535 sk = sk_alloc(net, AF_UNSPEC, GFP_USER, &bpf_dummy_proto, 1); in bpf_prog_test_run_skb()
599 if (pskb_expand_head(skb, nhead, 0, GFP_USER)) { in bpf_prog_test_run_skb()
/kernel/linux/linux-5.10/include/linux/
Dsockptr.h69 void *p = kmalloc_track_caller(len, GFP_USER | __GFP_NOWARN); in memdup_sockptr()
Dgfp.h306 #define GFP_USER (__GFP_RECLAIM | __GFP_IO | __GFP_FS | __GFP_HARDWALL) macro
309 #define GFP_HIGHUSER (GFP_USER | __GFP_HIGHMEM)
/kernel/linux/linux-5.10/kernel/bpf/
Dlocal_storage.c314 __GFP_ZERO | GFP_USER, numa_node); in cgroup_storage_map_alloc()
513 __GFP_ZERO | GFP_USER, map->numa_node); in bpf_cgroup_storage_alloc()
517 flags = __GFP_ZERO | GFP_USER; in bpf_cgroup_storage_alloc()
Dmap_in_map.c41 inner_map_meta = kzalloc(inner_map_meta_size, GFP_USER); in bpf_map_meta_alloc()
Dsyscall.c312 area = kmalloc_node(size, gfp | GFP_USER | __GFP_NORETRY, in __bpf_map_area_alloc()
1055 value = kmalloc(value_size, GFP_USER | __GFP_NOWARN); in map_lookup_elem()
1126 value = kmalloc(value_size, GFP_USER | __GFP_NOWARN); in map_update_elem()
1236 next_key = kmalloc(map->key_size, GFP_USER); in map_get_next_key()
1288 key = kmalloc(map->key_size, GFP_USER | __GFP_NOWARN); in generic_map_delete_batch()
1346 key = kmalloc(map->key_size, GFP_USER | __GFP_NOWARN); in generic_map_update_batch()
1350 value = kmalloc(value_size, GFP_USER | __GFP_NOWARN); in generic_map_update_batch()
1411 buf_prevkey = kmalloc(map->key_size, GFP_USER | __GFP_NOWARN); in generic_map_lookup_batch()
1415 buf = kmalloc(map->key_size + value_size, GFP_USER | __GFP_NOWARN); in generic_map_lookup_batch()
1519 value = kmalloc(value_size, GFP_USER | __GFP_NOWARN); in map_lookup_and_delete_elem()
[all …]
Dbpf_local_storage.c559 smap = kzalloc(sizeof(*smap), GFP_USER | __GFP_NOWARN); in bpf_local_storage_map_alloc()
577 GFP_USER | __GFP_NOWARN); in bpf_local_storage_map_alloc()
Dhashtab.c270 pptr = __alloc_percpu_gfp(size, 8, GFP_USER | __GFP_NOWARN); in prealloc_init()
325 GFP_USER | __GFP_NOWARN); in alloc_extra_elems()
428 htab = kzalloc(sizeof(*htab), GFP_USER); in htab_map_alloc()
1428 keys = kvmalloc_array(key_size, bucket_size, GFP_USER | __GFP_NOWARN); in __htab_map_lookup_and_delete_batch()
1429 values = kvmalloc_array(value_size, bucket_size, GFP_USER | __GFP_NOWARN); in __htab_map_lookup_and_delete_batch()
1797 value_buf = kmalloc(buf_size, GFP_USER | __GFP_NOWARN); in bpf_iter_init_hash_map()
Doffload.c93 offload = kzalloc(sizeof(*offload), GFP_USER); in bpf_prog_offload_init()
375 offmap = kzalloc(sizeof(*offmap), GFP_USER); in bpf_map_offload_map_alloc()
/kernel/linux/linux-5.10/net/ethtool/
Dioctl.c777 info_buf = kcalloc(n_bits, sizeof(u32), GFP_USER); in ethtool_get_sset_info()
1001 GFP_USER); in ethtool_get_rxnfc()
1075 indir = kcalloc(dev_size, sizeof(indir[0]), GFP_USER); in ethtool_get_rxfh_indir()
1119 indir = kcalloc(dev_size, sizeof(indir[0]), GFP_USER); in ethtool_set_rxfh_indir()
1201 rss_config = kzalloc(total_size, GFP_USER); in ethtool_get_rxfh()
1280 rss_config = kzalloc(indir_bytes + rxfh.key_size, GFP_USER); in ethtool_set_rxfh()
1528 data = kzalloc(PAGE_SIZE, GFP_USER); in ethtool_get_any_eeprom()
1593 data = kzalloc(PAGE_SIZE, GFP_USER); in ethtool_set_eeprom()
1872 data = kcalloc(test_len, sizeof(u64), GFP_USER); in ethtool_self_test()
2390 data = kzalloc(tuna.len, GFP_USER); in ethtool_get_tunable()
[all …]
/kernel/linux/linux-5.10/fs/isofs/
Dnamei.c161 page = alloc_page(GFP_USER); in isofs_lookup()
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4namespace.c547 page = (char *) __get_free_page(GFP_USER); in nfs4_replace_transport()
550 page2 = (char *) __get_free_page(GFP_USER); in nfs4_replace_transport()
/kernel/linux/linux-5.10/security/apparmor/
Dpolicy_unpack_test.c57 buf = kunit_kzalloc(test, buf_size, GFP_USER); in build_aa_ext_struct()
60 e = kunit_kmalloc(test, sizeof(*e), GFP_USER); in build_aa_ext_struct()
114 puf = kunit_kmalloc(test, sizeof(*puf), GFP_USER); in policy_unpack_test_init()
/kernel/linux/linux-5.10/mm/
Dmincore.c253 tmp = (void *) __get_free_page(GFP_USER); in SYSCALL_DEFINE3()
Dutil.c173 p = kmalloc_track_caller(len, GFP_USER | __GFP_NOWARN); in memdup_user()
199 p = kvmalloc(len, GFP_USER); in vmemdup_user()
/kernel/linux/linux-5.10/include/trace/events/
Dmmflags.h21 {(unsigned long)GFP_USER, "GFP_USER"}, \
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_page_alloc.c840 gfp_t gfp_flags = GFP_USER; in ttm_get_pages()
976 GFP_USER | GFP_DMA32, "wc dma", 0); in ttm_page_alloc_init()
979 GFP_USER | GFP_DMA32, "uc dma", 0); in ttm_page_alloc_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dmem.c155 gfp_t gfp = GFP_USER | __GFP_ZERO; in nvkm_mem_new_host()
/kernel/linux/linux-5.10/drivers/misc/cxl/
Dcontext.c155 ctx->ff_page = alloc_page(GFP_USER); in cxl_mmap_fault()
/kernel/linux/linux-5.10/net/nfc/
Dllcp_commands.c687 msg_data = kmalloc(len, GFP_USER | __GFP_NOWARN); in nfc_llcp_send_i_frame()
753 msg_data = kmalloc(len, GFP_USER | __GFP_NOWARN); in nfc_llcp_send_ui_frame()

1234