/openbmc/linux/kernel/ |
H 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()
|
/openbmc/linux/scripts/coccinelle/api/ |
H 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\));
|
/openbmc/linux/net/mptcp/ |
H 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()
|
/openbmc/linux/security/selinux/ |
H 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()
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | memory-allocation.rst | 57 * 用户空间的分配应该使用 ``GFP_USER`` 、 ``GFP_HIGHUSER`` 或 ``GFP_HIGHUSER_MOVABLE`` 65 ``GFP_USER`` 意味着分配的内存是不可迁移的,它必须被内核直接访问。
|
/openbmc/linux/include/linux/ |
H A D | gfp_types.h | 333 #define GFP_USER (__GFP_RECLAIM | __GFP_IO | __GFP_FS | __GFP_HARDWALL) macro 336 #define GFP_HIGHUSER (GFP_USER | __GFP_HIGHMEM)
|
H A D | bpfptr.h | 70 void *p = kvmalloc(len, GFP_USER | __GFP_NOWARN); in kvmemdup_bpfptr()
|
H A D | sockptr.h | 99 void *p = kmalloc_track_caller(len, GFP_USER | __GFP_NOWARN); in memdup_sockptr()
|
/openbmc/linux/arch/alpha/kernel/ |
H 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()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | tc.c | 129 ped = kzalloc(sizeof(*ped), GFP_USER); in efx_tc_flower_get_mac() 578 encap = kzalloc(sizeof(*encap), GFP_USER); in efx_tc_flower_record_encap_match() 692 rid = kzalloc(sizeof(*rid), GFP_USER); in efx_tc_get_recirc_id() 1481 rule = kzalloc(sizeof(*rule), GFP_USER); in efx_tc_flower_replace_foreign() 1502 act = kzalloc(sizeof(*act), GFP_USER); in efx_tc_flower_replace_foreign() 1587 act = kzalloc(sizeof(*act), GFP_USER); in efx_tc_flower_replace_foreign() 1702 rule = kzalloc(sizeof(*rule), GFP_USER); in efx_tc_flower_replace_lhs() 1863 rule = kzalloc(sizeof(*rule), GFP_USER); in efx_tc_flower_replace() 1885 act = kzalloc(sizeof(*act), GFP_USER); in efx_tc_flower_replace() 2026 act = kzalloc(sizeof(*act), GFP_USER); in efx_tc_flower_replace() [all …]
|
H A D | tc_counters.c | 138 cnt = kzalloc(sizeof(*cnt), GFP_USER); in efx_tc_flower_allocate_counter() 229 ctr = kzalloc(sizeof(*ctr), GFP_USER); in efx_tc_flower_get_counter_index()
|
H A D | tc_conntrack.c | 294 conn = kzalloc(sizeof(*conn), GFP_USER); in efx_tc_ct_replace() 478 ct_zone = kzalloc(sizeof(*ct_zone), GFP_USER); in efx_tc_ct_register_zone()
|
/openbmc/linux/kernel/bpf/ |
H A D | map_in_map.c | 38 inner_map_meta = kzalloc(inner_map_meta_size, GFP_USER); in bpf_map_meta_alloc()
|
H A D | bpf_struct_ops.c | 488 link = kzalloc(sizeof(*link), GFP_USER); in bpf_struct_ops_map_update_elem() 597 value = kmalloc(map->value_size, GFP_USER | __GFP_NOWARN); in bpf_struct_ops_map_seq_show_elem() 884 link = kzalloc(sizeof(*link), GFP_USER); in bpf_struct_ops_link_create()
|
H A D | syscall.c | 301 area = kmalloc_node(size, gfp | GFP_USER | __GFP_NORETRY, in __bpf_map_area_alloc() 1475 value = kvmalloc(value_size, GFP_USER | __GFP_NOWARN); in map_lookup_elem() 1653 next_key = kvmalloc(map->key_size, GFP_USER); in map_get_next_key() 1708 key = kvmalloc(map->key_size, GFP_USER | __GFP_NOWARN); in generic_map_delete_batch() 1768 key = kvmalloc(map->key_size, GFP_USER | __GFP_NOWARN); in generic_map_update_batch() 1772 value = kvmalloc(value_size, GFP_USER | __GFP_NOWARN); in generic_map_update_batch() 1955 value = kvmalloc(value_size, GFP_USER | __GFP_NOWARN); in map_lookup_and_delete_elem() 3214 link = kzalloc(sizeof(*link), GFP_USER); in bpf_tracing_prog_attach() 3634 link = kzalloc(sizeof(*link), GFP_USER); in bpf_perf_link_attach() 3710 link = kzalloc(sizeof(*link), GFP_USER); in bpf_raw_tp_link_attach() [all …]
|
/openbmc/linux/fs/isofs/ |
H A D | namei.c | 161 page = alloc_page(GFP_USER); in isofs_lookup()
|
/openbmc/linux/fs/nfs/ |
H 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()
|
/openbmc/linux/security/apparmor/ |
H 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() 116 puf = kunit_kmalloc(test, sizeof(*puf), GFP_USER); in policy_unpack_test_init()
|
/openbmc/linux/mm/ |
H A D | mincore.c | 256 tmp = (void *) __get_free_page(GFP_USER); in SYSCALL_DEFINE3()
|
H A D | util.c | 197 p = kmalloc_track_caller(len, GFP_USER | __GFP_NOWARN); in memdup_user() 223 p = kvmalloc(len, GFP_USER); in vmemdup_user()
|
/openbmc/linux/net/ethtool/ |
H A D | ioctl.c | 792 info_buf = kcalloc(n_bits, sizeof(u32), GFP_USER); in ethtool_get_sset_info() 1017 GFP_USER); in ethtool_get_rxnfc() 1091 indir = kcalloc(dev_size, sizeof(indir[0]), GFP_USER); in ethtool_get_rxfh_indir() 1135 indir = kcalloc(dev_size, sizeof(indir[0]), GFP_USER); in ethtool_set_rxfh_indir() 1217 rss_config = kzalloc(total_size, GFP_USER); in ethtool_get_rxfh() 1296 rss_config = kzalloc(indir_bytes + rxfh.key_size, GFP_USER); in ethtool_set_rxfh() 1555 data = kzalloc(PAGE_SIZE, GFP_USER); in ethtool_get_any_eeprom() 1624 data = kzalloc(PAGE_SIZE, GFP_USER); in ethtool_set_eeprom() 1921 data = kcalloc(test_len, sizeof(u64), GFP_USER); in ethtool_self_test() 2482 data = kzalloc(tuna.len, GFP_USER); in ethtool_get_tunable() [all …]
|
/openbmc/linux/net/bpf/ |
H A D | bpf_dummy_struct_ops.c | 111 link = kzalloc(sizeof(*link), GFP_USER); in bpf_struct_ops_test_run()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | mem.c | 155 gfp_t gfp = GFP_USER | __GFP_ZERO; in nvkm_mem_new_host()
|
/openbmc/linux/include/trace/events/ |
H A D | mmflags.h | 23 gfpflag_string(GFP_USER), \
|
/openbmc/u-boot/include/linux/ |
H A D | compat.h | 68 #define GFP_USER ((gfp_t) 0) macro
|