| /linux/tools/testing/selftests/filesystems/overlayfs/ |
| H A D | set_layers_via_fds.c | 60 ASSERT_EQ(sys_fsconfig(fd_context, FSCONFIG_CMD_CREATE, NULL, NULL, 0), 0); in TEST_F() 108 ASSERT_NE(sys_fsconfig(fd_context, FSCONFIG_SET_FD, "lowerdir", NULL, layer_fds[2]), 0); in TEST_F() 110 ASSERT_EQ(sys_fsconfig(fd_context, FSCONFIG_SET_FD, "workdir", NULL, layer_fds[0]), 0); in TEST_F() 111 ASSERT_EQ(sys_fsconfig(fd_context, FSCONFIG_SET_FD, "upperdir", NULL, layer_fds[1]), 0); in TEST_F() 112 ASSERT_EQ(sys_fsconfig(fd_context, FSCONFIG_SET_FD, "lowerdir+", NULL, layer_fds[2]), 0); in TEST_F() 113 ASSERT_EQ(sys_fsconfig(fd_context, FSCONFIG_SET_FD, "lowerdir+", NULL, layer_fds[3]), 0); in TEST_F() 114 ASSERT_EQ(sys_fsconfig(fd_context, FSCONFIG_SET_FD, "lowerdir+", NULL, layer_fds[4]), 0); in TEST_F() 115 ASSERT_EQ(sys_fsconfig(fd_context, FSCONFIG_SET_FD, "lowerdir+", NULL, layer_fds[5]), 0); in TEST_F() 116 ASSERT_EQ(sys_fsconfig(fd_context, FSCONFIG_SET_FD, "datadir+", NULL, layer_fds[6]), 0); in TEST_F() 117 ASSERT_EQ(sys_fsconfig(fd_context, FSCONFIG_SET_FD, "datadir+", NULL, layer_fds[7]), 0); in TEST_F() [all …]
|
| H A D | dev_in_maps.c | 58 if (sys_fsconfig(fsfd, FSCONFIG_CMD_CREATE, NULL, NULL, 0) == -1) in ovl_mount() 80 if (sys_fsconfig(fsfd, FSCONFIG_SET_STRING, "source", "test", 0) == -1 || in ovl_mount() 81 sys_fsconfig(fsfd, FSCONFIG_SET_STRING, "lowerdir", "/tmp/l", 0) == -1 || in ovl_mount() 82 sys_fsconfig(fsfd, FSCONFIG_SET_STRING, "upperdir", "/tmp/u", 0) == -1 || in ovl_mount() 83 sys_fsconfig(fsfd, FSCONFIG_SET_STRING, "workdir", "/tmp/w", 0) == -1) in ovl_mount() 85 if (sys_fsconfig(fsfd, FSCONFIG_CMD_CREATE, NULL, NULL, 0) == -1) in ovl_mount()
|
| /linux/tools/testing/selftests/filesystems/ |
| H A D | file_stressor.c | 26 static inline int sys_fsconfig(int fd, unsigned int cmd, const char *key, in sys_fsconfig() function 70 ASSERT_EQ(sys_fsconfig(fd_context, FSCONFIG_CMD_CREATE, NULL, NULL, 0), 0); in FIXTURE_SETUP()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | bpf_obj_pinning.c | 18 static inline int sys_fsconfig(int fs_fd, unsigned cmd, const char *key, const void *val, int aux) in sys_fsconfig() function 55 err = sys_fsconfig(fs_fd, FSCONFIG_CMD_CREATE, NULL, NULL, 0); in bpf_obj_pinning_detached()
|
| H A D | token.c | 41 static inline int sys_fsconfig(int fs_fd, unsigned cmd, const char *key, const void *val, int aux) in sys_fsconfig() function 85 err = sys_fsconfig(fs_fd, FSCONFIG_SET_STRING, key, in set_delegate_mask() 135 err = sys_fsconfig(fs_fd, FSCONFIG_CMD_CREATE, NULL, NULL, 0); in materialize_bpffs_fd()
|
| /linux/tools/testing/selftests/coredump/ |
| H A D | coredump_test_helpers.c | 70 if (sys_fsconfig(fd_context, FSCONFIG_CMD_CREATE, NULL, NULL, 0) < 0) in create_detached_tmpfs()
|
| /linux/tools/perf/arch/mips/entry/syscalls/ |
| H A D | syscall_n64.tbl | 348 431 n64 fsconfig sys_fsconfig
|
| /linux/scripts/ |
| H A D | syscall.tbl | 374 431 common fsconfig sys_fsconfig
|
| /linux/tools/scripts/ |
| H A D | syscall.tbl | 374 431 common fsconfig sys_fsconfig
|
| /linux/tools/perf/arch/s390/entry/syscalls/ |
| H A D | syscall.tbl | 360 431 common fsconfig sys_fsconfig
|
| /linux/tools/perf/arch/sh/entry/syscalls/ |
| H A D | syscall.tbl | 437 431 common fsconfig sys_fsconfig
|
| /linux/tools/perf/arch/xtensa/entry/syscalls/ |
| H A D | syscall.tbl | 404 431 common fsconfig sys_fsconfig
|
| /linux/tools/perf/arch/x86/entry/syscalls/ |
| H A D | syscall_64.tbl | 358 431 common fsconfig sys_fsconfig
|
| H A D | syscall_32.tbl | 439 431 i386 fsconfig sys_fsconfig
|
| /linux/tools/perf/arch/sparc/entry/syscalls/ |
| H A D | syscall.tbl | 479 431 common fsconfig sys_fsconfig
|
| /linux/tools/perf/arch/arm/entry/syscalls/ |
| H A D | syscall.tbl | 448 431 common fsconfig sys_fsconfig
|
| /linux/include/uapi/asm-generic/ |
| H A D | unistd.h | 772 __SYSCALL(__NR_fsconfig, sys_fsconfig)
|
| /linux/tools/include/uapi/asm-generic/ |
| H A D | unistd.h | 772 __SYSCALL(__NR_fsconfig, sys_fsconfig)
|
| /linux/tools/perf/arch/powerpc/entry/syscalls/ |
| H A D | syscall.tbl | 524 431 common fsconfig sys_fsconfig
|
| /linux/tools/testing/selftests/mount_setattr/ |
| H A D | mount_setattr_test.c | 1749 ASSERT_EQ(sys_fsconfig(fd_context, FSCONFIG_CMD_CREATE, NULL, NULL, 0), 0); in TEST_F()
|
| /linux/include/linux/ |
| H A D | syscalls.h | 976 asmlinkage long sys_fsconfig(int fs_fd, unsigned int cmd, const char __user *key,
|