Searched refs:map_paths (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | unpriv_bpf_disabled.c | 60 char **map_paths, int *map_fds) in test_unpriv_bpf_disabled_positive() argument 95 map_fds[i] = bpf_obj_get(map_paths[i]); in test_unpriv_bpf_disabled_positive() 101 bool prog_array = strstr(map_paths[i], "prog_array") != NULL; in test_unpriv_bpf_disabled_positive() 102 bool array = strstr(map_paths[i], "array") != NULL; in test_unpriv_bpf_disabled_positive() 103 bool buf = strstr(map_paths[i], "buf") != NULL; in test_unpriv_bpf_disabled_positive() 143 char **map_paths, int *map_fds) in test_unpriv_bpf_disabled_negative() argument 222 char *map_paths[NUM_MAPS] = { PINPATH "array", in test_unpriv_bpf_disabled() local 255 ASSERT_OK(bpf_obj_pin(map_fds[i], map_paths[i]), "pin map_fd"); in test_unpriv_bpf_disabled() 297 test_unpriv_bpf_disabled_positive(skel, prog_id, prog_fd, perf_fd, map_paths, in test_unpriv_bpf_disabled() 301 test_unpriv_bpf_disabled_negative(skel, prog_id, prog_fd, perf_fd, map_paths, in test_unpriv_bpf_disabled() [all …]
|