Home
last modified time | relevance | path

Searched defs:map_flags (Results 1 – 25 of 33) sorted by relevance

12

/linux/tools/testing/selftests/bpf/
H A Dtest_lru_map.c28 static int create_map(int map_type, int map_flags, unsigned int size) in create_map()
161 static void test_lru_sanity0(int map_type, int map_flags) in test_lru_sanity0()
252 static void test_lru_sanity1(int map_type, int map_flags, unsigned int tgt_free) in test_lru_sanity1()
320 static void test_lru_sanity2(int map_type, int map_flags, unsigned int tgt_free) in test_lru_sanity2()
426 static void test_lru_sanity3(int map_type, int map_flags, unsigned int tgt_free) in test_lru_sanity3()
487 static void test_lru_sanity4(int map_type, int map_flags, unsigned int tgt_free) in test_lru_sanity4()
564 static void test_lru_sanity5(int map_type, int map_flags) in test_lru_sanity5()
611 static void test_lru_sanity6(int map_type, int map_flags, int tgt_free) in test_lru_sanity6()
678 static void test_lru_sanity7(int map_type, int map_flags) in test_lru_sanity7()
769 static void test_lru_sanity8(int map_type, int map_flags) in test_lru_sanity8()
[all …]
/linux/samples/bpf/
H A Dtest_lru_dist.c202 static int create_map(int map_type, int map_flags, unsigned int size) in create_map()
307 static void test_parallel_lru_dist(int map_type, int map_flags, in test_parallel_lru_dist()
332 static void test_lru_loss0(int map_type, int map_flags) in test_lru_loss0()
386 static void test_lru_loss1(int map_type, int map_flags) in test_lru_loss1()
465 static void test_parallel_lru_loss(int map_type, int map_flags, int nr_tasks) in test_parallel_lru_loss()
489 int map_flags[] = {0, BPF_F_NO_COMMON_LRU}; in main() local
H A Dtcp_dumpstats_kern.c17 __u32 map_flags; member
/linux/kernel/bpf/
H A Dhashtab.c1019 pcpu_copy_value(struct bpf_htab * htab,void __percpu * pptr,void * value,bool onallcpus,u64 map_flags) pcpu_copy_value() argument
1052 pcpu_init_value(struct bpf_htab * htab,void __percpu * pptr,void * value,bool onallcpus,u64 map_flags) pcpu_init_value() argument
1085 alloc_htab_elem(struct bpf_htab * htab,void * key,void * value,u32 key_size,u32 hash,bool percpu,bool onallcpus,struct htab_elem * old_elem,u64 map_flags) alloc_htab_elem() argument
1166 check_flags(struct bpf_htab * htab,struct htab_elem * l_old,u64 map_flags) check_flags() argument
1181 htab_map_update_elem(struct bpf_map * map,void * key,void * value,u64 map_flags) htab_map_update_elem() argument
1288 htab_lru_map_update_elem(struct bpf_map * map,void * key,void * value,u64 map_flags) htab_lru_map_update_elem() argument
1353 htab_map_check_update_flags(bool onallcpus,u64 map_flags) htab_map_check_update_flags() argument
1363 htab_map_update_elem_in_place(struct bpf_map * map,void * key,void * value,u64 map_flags,bool percpu,bool onallcpus) htab_map_update_elem_in_place() argument
1426 __htab_lru_percpu_map_update_elem(struct bpf_map * map,void * key,void * value,u64 map_flags,bool onallcpus) __htab_lru_percpu_map_update_elem() argument
1495 htab_percpu_map_update_elem(struct bpf_map * map,void * key,void * value,u64 map_flags) htab_percpu_map_update_elem() argument
1501 htab_lru_percpu_map_update_elem(struct bpf_map * map,void * key,void * value,u64 map_flags) htab_lru_percpu_map_update_elem() argument
1797 u64 elem_map_flags, map_flags, allowed_flags; __htab_map_lookup_and_delete_batch() local
2500 bpf_percpu_hash_copy(struct bpf_map * map,void * key,void * value,u64 map_flags) bpf_percpu_hash_copy() argument
2539 bpf_percpu_hash_update(struct bpf_map * map,void * key,void * value,u64 map_flags) bpf_percpu_hash_update() argument
2678 bpf_fd_htab_map_update_elem(struct bpf_map * map,struct file * map_file,void * key,void * value,u64 map_flags) bpf_fd_htab_map_update_elem() argument
3021 rhtab_map_update_existing(struct bpf_map * map,struct rhtab_elem * elem,void * value,u64 map_flags) rhtab_map_update_existing() argument
3046 rhtab_map_update_elem(struct bpf_map * map,void * key,void * value,u64 map_flags) rhtab_map_update_elem() argument
3273 u64 elem_map_flags, map_flags; __rhtab_map_lookup_and_delete_batch() local
[all...]
H A Dreuseport_array.c192 u32 map_flags) in reuseport_array_update_check()
233 void *value, u64 map_flags) in bpf_fd_reuseport_array_update_elem()
H A Dlocal_storage.c183 void *value, u64 map_flags) in bpf_percpu_cgroup_storage_copy()
217 void *value, u64 map_flags) in bpf_percpu_cgroup_storage_update()
H A Dbpf_local_storage.c463 u64 map_flags) in check_flags()
548 void *value, u64 map_flags, bool swap_uptrs) in bpf_local_storage_update()
H A Darraymap.c339 int bpf_percpu_array_copy(struct bpf_map *map, void *key, void *value, u64 map_flags) in bpf_percpu_array_copy()
393 u64 map_flags) in array_map_update_elem()
432 u64 map_flags) in bpf_percpu_array_update()
960 void *key, void *value, u64 map_flags) in bpf_fd_array_map_update_elem()
H A Dbpf_inode_storage.c89 void *value, u64 map_flags) in bpf_fd_inode_storage_update_elem()
H A Dbpf_insn_array.c75 static long insn_array_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) in insn_array_update_elem()
H A Dcpumap.c582 u64 map_flags) in cpu_map_update_elem()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_map_keyless.c12 static void check_keyless(int map_type, __u32 map_flags, int btf_fd, int val_id) in check_keyless()
H A Dpercpu_alloc.c361 static void test_percpu_map_cpu_flag_create(enum bpf_map_type map_type, __u32 map_flags) in test_percpu_map_cpu_flag_create()
/linux/drivers/usb/usbip/
H A Dusbip_common.c409 unsigned int map_flags = 0; in urb_to_usbip() local
422 unsigned int map_flags = 0; in usbip_to_urb() local
/linux/drivers/infiniband/core/
H A Diwpm_util.h80 u32 map_flags; member
H A Diwpm_util.c109 u8 nl_client, u32 map_flags) in iwpm_create_mapinfo()
/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_bpf_hashmap_lookup.c22 __u32 map_flags; member
[all...]
/linux/net/xdp/
H A Dxskmap.c162 u64 map_flags) in xsk_map_update_elem()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dfw.h84 __be32 map_flags; /* reserved */ member
/linux/drivers/iommu/
H A Dvirtio-iommu.c53 u32 map_flags; member
67 u32 map_flags; member
/linux/tools/testing/selftests/bpf/map_tests/
H A Dmap_percpu_stats.c385 static int create_lru_hash(__u32 type, __u32 map_flags) in create_lru_hash()
/linux/fs/xfs/
H A Dxfs_healthmon.c707 #define map_flags(map, flags) __map_flags((map), ARRAY_SIZE(map), (flags)) macro
/linux/net/core/
H A Dbpf_sk_storage.c98 void *value, u64 map_flags) in bpf_fd_sk_storage_update_elem()
/linux/mm/
H A Dmremap.c958 unsigned long map_flags = 0; in vrm_set_new_addr() local
/linux/tools/lib/bpf/
H A Dlibbpf_internal.h289 __u32 map_flags; member

12