Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_pinning.c40 int fs_fd = -1, mnt_fd = -1; in bpf_obj_pinning_detached() local
60 mnt_fd = sys_fsmount(fs_fd, 0, 0); in bpf_obj_pinning_detached()
61 if (!ASSERT_GE(mnt_fd, 0, "mnt_fd")) in bpf_obj_pinning_detached()
81 pin_opts.path_fd = mnt_fd; in bpf_obj_pinning_detached()
88 get_opts.path_fd = mnt_fd; in bpf_obj_pinning_detached()
112 if (mnt_fd >= 0) in bpf_obj_pinning_detached()
113 ASSERT_OK(close(mnt_fd), "close_mnt_fd"); in bpf_obj_pinning_detached()