Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_pinning.c116 enum path_kind enum
124 enum path_kind path_kind) in validate_pin() argument
134 switch (path_kind) { in validate_pin()
159 if (path_kind == PATH_FD_REL && pin_opts.path_fd >= 0) in validate_pin()
184 enum path_kind path_kind) in validate_get() argument
199 switch (path_kind) { in validate_get()
224 if (path_kind == PATH_FD_REL && get_opts.path_fd >= 0) in validate_get()
244 static void bpf_obj_pinning_mounted(enum path_kind path_kind) in bpf_obj_pinning_mounted() argument
254 validate_pin(map_fd, map_name, 100 + (int)path_kind, path_kind); in bpf_obj_pinning_mounted()
255 validate_get(map_fd, map_name, 200 + (int)path_kind, path_kind); in bpf_obj_pinning_mounted()