/linux-6.3-rc2/kernel/ |
A D | sysctl-test.c | 37 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 D | memdup_user.cocci | 32 - (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 D | token_test.c | 11 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 D | netlink.c | 76 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 D | memory-allocation.rst | 57 * 用户空间的分配应该使用 ``GFP_USER`` 、 ``GFP_HIGHUSER`` 或 ``GFP_HIGHUSER_MOVABLE`` 65 ``GFP_USER`` 意味着分配的内存是不可迁移的,它必须被内核直接访问。
|
/linux-6.3-rc2/include/linux/ |
A D | gfp_types.h | 334 #define GFP_USER (__GFP_RECLAIM | __GFP_IO | __GFP_FS | __GFP_HARDWALL) macro 337 #define GFP_HIGHUSER (GFP_USER | __GFP_HIGHMEM)
|
A D | bpfptr.h | 70 void *p = kvmalloc(len, GFP_USER | __GFP_NOWARN); in kvmemdup_bpfptr()
|
A D | sockptr.h | 74 void *p = kmalloc_track_caller(len, GFP_USER | __GFP_NOWARN); in memdup_sockptr()
|
/linux-6.3-rc2/arch/alpha/kernel/ |
A D | srm_env.c | 69 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 D | map_in_map.c | 38 inner_map_meta = kzalloc(inner_map_meta_size, GFP_USER); in bpf_map_meta_alloc()
|
A D | syscall.c | 326 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 D | bpf_struct_ops.c | 471 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 D | namei.c | 161 page = alloc_page(GFP_USER); in isofs_lookup()
|
/linux-6.3-rc2/fs/nfs/ |
A D | nfs4namespace.c | 552 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 D | tc_counters.c | 85 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 D | tc.c | 371 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 D | policy_unpack_test.c | 60 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 D | ioctl.c | 788 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 D | mincore.c | 256 tmp = (void *) __get_free_page(GFP_USER); in SYSCALL_DEFINE3()
|
A D | util.c | 196 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 D | bpf_dummy_struct_ops.c | 111 link = kzalloc(sizeof(*link), GFP_USER); in bpf_struct_ops_test_run()
|
/linux-6.3-rc2/include/trace/events/ |
A D | mmflags.h | 23 gfpflag_string(GFP_USER), \
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
A D | mem.c | 155 gfp_t gfp = GFP_USER | __GFP_ZERO; in nvkm_mem_new_host()
|
/linux-6.3-rc2/drivers/misc/cxl/ |
A D | context.c | 155 ctx->ff_page = alloc_page(GFP_USER); in cxl_mmap_fault()
|
/linux-6.3-rc2/Documentation/core-api/ |
A D | memory-allocation.rst | 56 * Userspace allocations should use either of the ``GFP_USER``, 69 ``GFP_USER`` means that the allocated memory is not movable and it
|