Home
last modified time | relevance | path

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

/external/linux-kselftest/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()
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dmap_lock.c10 err = bpf_map_lookup_elem_flags(map_fd, &key, vars, BPF_F_LOCK); in parallel_map_access()
54 bpf_map_update_elem(map_fd[0], &key, vars, BPF_F_LOCK); in test_map_lock()
/external/ltp/include/lapi/
Dbpf.h168 #define BPF_F_LOCK 4 /* spin_lock-ed map_lookup/map_update */ macro
/external/kernel-headers/original/uapi/linux/
Dbpf.h407 BPF_F_LOCK = 4, /* spin_lock-ed map_lookup/map_update */ enumerator