Home
last modified time | relevance | path

Searched refs:BPF_F_LOCK (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dtest_local_storage.c75 BPF_F_LOCK); in check_syscall_operations()
82 BPF_NOEXIST | BPF_F_LOCK); in check_syscall_operations()
89 BPF_F_LOCK); in check_syscall_operations()
106 BPF_F_LOCK); in check_syscall_operations()
Dmap_lock.c24 err = bpf_map_lookup_elem_flags(map_fd, &key, vars, BPF_F_LOCK); in parallel_map_access()
68 bpf_map_update_elem(map_fd[0], &key, vars, BPF_F_LOCK); in test_map_lock()
/tools/testing/selftests/bpf/map_tests/
Dsk_storage_map.c485 BPF_NOEXIST | BPF_F_LOCK); in test_sk_storage_map_basic()
489 BPF_F_LOCK); in test_sk_storage_map_basic()
498 BPF_EXIST | BPF_F_LOCK); in test_sk_storage_map_basic()
502 BPF_F_LOCK); in test_sk_storage_map_basic()
514 BPF_F_LOCK); in test_sk_storage_map_basic()
523 BPF_NOEXIST | BPF_F_LOCK); in test_sk_storage_map_basic()
532 BPF_F_LOCK); in test_sk_storage_map_basic()
544 BPF_F_LOCK); in test_sk_storage_map_basic()
555 BPF_F_LOCK); in test_sk_storage_map_basic()
/tools/include/uapi/linux/
Dbpf.h1172 BPF_F_LOCK = 4, /* spin_lock-ed map_lookup/map_update */ enumerator