Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/kernel/
A Dsysctl-test.c37 GFP_USER); in sysctl_test_api_dointvec_null_tbl_data()
83 GFP_USER); in sysctl_test_api_dointvec_table_maxlen_unset()
126 GFP_USER); in sysctl_test_api_dointvec_table_len_is_zero()
160 GFP_USER); in sysctl_test_api_dointvec_table_read_but_position_set()
196 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_positive()
227 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_read_happy_single_negative()
257 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_positive()
287 char *buffer = kunit_kzalloc(test, len, GFP_USER); in sysctl_test_dointvec_write_happy_single_negative()
318 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_less_int_min()
356 char *buffer = kunit_kzalloc(test, max_len, GFP_USER); in sysctl_test_api_dointvec_write_single_greater_int_max()
/linux-6.3-rc2/scripts/coccinelle/api/
A 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\));
/linux-6.3-rc2/net/mptcp/
A 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()
/linux-6.3-rc2/security/selinux/
A Dnetlink.c76 skb = nlmsg_new(len, GFP_USER); in selnl_notify()
87 netlink_broadcast(selnl, skb, 0, SELNLGRP_AVC, GFP_USER); in selnl_notify()
/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/
A Dmemory-allocation.rst57 * 用户空间的分配应该使用 ``GFP_USER`` 、 ``GFP_HIGHUSER`` 或 ``GFP_HIGHUSER_MOVABLE``
65 ``GFP_USER`` 意味着分配的内存是不可迁移的,它必须被内核直接访问。
/linux-6.3-rc2/include/linux/
A Dgfp_types.h334 #define GFP_USER (__GFP_RECLAIM | __GFP_IO | __GFP_FS | __GFP_HARDWALL) macro
337 #define GFP_HIGHUSER (GFP_USER | __GFP_HIGHMEM)
A Dbpfptr.h70 void *p = kvmalloc(len, GFP_USER | __GFP_NOWARN); in kvmemdup_bpfptr()
A Dsockptr.h74 void *p = kmalloc_track_caller(len, GFP_USER | __GFP_NOWARN); in memdup_sockptr()
/linux-6.3-rc2/arch/alpha/kernel/
A 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()
/linux-6.3-rc2/kernel/bpf/
A Dmap_in_map.c38 inner_map_meta = kzalloc(inner_map_meta_size, GFP_USER); in bpf_map_meta_alloc()
A Dsyscall.c326 area = kmalloc_node(size, gfp | GFP_USER | __GFP_NORETRY, in __bpf_map_area_alloc()
1383 value = kvmalloc(value_size, GFP_USER | __GFP_NOWARN); in map_lookup_elem()
1561 next_key = kvmalloc(map->key_size, GFP_USER); in map_get_next_key()
1613 key = kvmalloc(map->key_size, GFP_USER | __GFP_NOWARN); in generic_map_delete_batch()
1670 key = kvmalloc(map->key_size, GFP_USER | __GFP_NOWARN); in generic_map_update_batch()
1674 value = kvmalloc(value_size, GFP_USER | __GFP_NOWARN); in generic_map_update_batch()
1857 value = kvmalloc(value_size, GFP_USER | __GFP_NOWARN); in map_lookup_and_delete_elem()
3039 link = kzalloc(sizeof(*link), GFP_USER); in bpf_tracing_prog_attach()
3273 link = kzalloc(sizeof(*link), GFP_USER); in bpf_perf_link_attach()
3349 link = kzalloc(sizeof(*link), GFP_USER); in bpf_raw_tp_link_attach()
[all …]
A Dbpf_struct_ops.c471 link = kzalloc(sizeof(*link), GFP_USER); in bpf_struct_ops_map_update_elem()
559 value = kmalloc(map->value_size, GFP_USER | __GFP_NOWARN); in bpf_struct_ops_map_seq_show_elem()
/linux-6.3-rc2/fs/isofs/
A Dnamei.c161 page = alloc_page(GFP_USER); in isofs_lookup()
/linux-6.3-rc2/fs/nfs/
A Dnfs4namespace.c552 page = (char *) __get_free_page(GFP_USER); in nfs4_replace_transport()
555 page2 = (char *) __get_free_page(GFP_USER); in nfs4_replace_transport()
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Dtc_counters.c85 cnt = kzalloc(sizeof(*cnt), GFP_USER); in efx_tc_flower_allocate_counter()
172 ctr = kzalloc(sizeof(*ctr), GFP_USER); in efx_tc_flower_get_counter_index()
A Dtc.c371 rule = kzalloc(sizeof(*rule), GFP_USER); in efx_tc_flower_replace()
388 act = kzalloc(sizeof(*act), GFP_USER); in efx_tc_flower_replace()
490 act = kzalloc(sizeof(*act), GFP_USER); in efx_tc_flower_replace()
/linux-6.3-rc2/security/apparmor/
A Dpolicy_unpack_test.c60 buf = kunit_kzalloc(test, buf_size, GFP_USER); in build_aa_ext_struct()
63 e = kunit_kmalloc(test, sizeof(*e), GFP_USER); in build_aa_ext_struct()
117 puf = kunit_kmalloc(test, sizeof(*puf), GFP_USER); in policy_unpack_test_init()
/linux-6.3-rc2/net/ethtool/
A Dioctl.c788 info_buf = kcalloc(n_bits, sizeof(u32), GFP_USER); in ethtool_get_sset_info()
1012 GFP_USER); in ethtool_get_rxnfc()
1086 indir = kcalloc(dev_size, sizeof(indir[0]), GFP_USER); in ethtool_get_rxfh_indir()
1130 indir = kcalloc(dev_size, sizeof(indir[0]), GFP_USER); in ethtool_set_rxfh_indir()
1212 rss_config = kzalloc(total_size, GFP_USER); in ethtool_get_rxfh()
1291 rss_config = kzalloc(indir_bytes + rxfh.key_size, GFP_USER); in ethtool_set_rxfh()
1539 data = kzalloc(PAGE_SIZE, GFP_USER); in ethtool_get_any_eeprom()
1608 data = kzalloc(PAGE_SIZE, GFP_USER); in ethtool_set_eeprom()
1905 data = kcalloc(test_len, sizeof(u64), GFP_USER); in ethtool_self_test()
2466 data = kzalloc(tuna.len, GFP_USER); in ethtool_get_tunable()
[all …]
/linux-6.3-rc2/mm/
A Dmincore.c256 tmp = (void *) __get_free_page(GFP_USER); in SYSCALL_DEFINE3()
A Dutil.c196 p = kmalloc_track_caller(len, GFP_USER | __GFP_NOWARN); in memdup_user()
222 p = kvmalloc(len, GFP_USER); in vmemdup_user()
/linux-6.3-rc2/net/bpf/
A Dbpf_dummy_struct_ops.c111 link = kzalloc(sizeof(*link), GFP_USER); in bpf_struct_ops_test_run()
/linux-6.3-rc2/include/trace/events/
A Dmmflags.h23 gfpflag_string(GFP_USER), \
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
A Dmem.c155 gfp_t gfp = GFP_USER | __GFP_ZERO; in nvkm_mem_new_host()
/linux-6.3-rc2/drivers/misc/cxl/
A Dcontext.c155 ctx->ff_page = alloc_page(GFP_USER); in cxl_mmap_fault()
/linux-6.3-rc2/Documentation/core-api/
A Dmemory-allocation.rst56 * Userspace allocations should use either of the ``GFP_USER``,
69 ``GFP_USER`` means that the allocated memory is not movable and it

Completed in 45 milliseconds

1234