Searched refs:fd_upper (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/testing/selftests/filesystems/overlayfs/ |
| H A D | set_layers_via_fds.c | 168 int fd_context, fd_tmpfs, fd_overlay, fd_work, fd_upper, fd_lower; in TEST_F() local 196 fd_upper = openat(fd_tmpfs, "u", O_DIRECTORY); in TEST_F() 197 ASSERT_GE(fd_upper, 0); in TEST_F() 212 ASSERT_EQ(sys_fsconfig(fd_context, FSCONFIG_SET_FD, "upperdir", NULL, fd_upper), 0); in TEST_F() 213 ASSERT_EQ(close(fd_upper), 0); in TEST_F() 531 int fd_context, fd_tmpfs, fd_overlay, fd_work, fd_upper, fd_lower; in TEST_F() local 559 fd_upper = openat(fd_tmpfs, "u", O_DIRECTORY | O_PATH); in TEST_F() 560 ASSERT_GE(fd_upper, 0); in TEST_F() 575 ASSERT_EQ(sys_fsconfig(fd_context, FSCONFIG_SET_FD, "upperdir", NULL, fd_upper), 0); in TEST_F() 576 ASSERT_EQ(close(fd_upper), 0); in TEST_F()
|
| /linux/Documentation/filesystems/ |
| H A D | overlayfs.rst | 478 fsconfig(fs_fd, FSCONFIG_SET_FD, "upperdir", NULL, fd_upper);
|