Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/filesystems/overlayfs/
H A Dset_layers_via_fds.c60 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 Ddev_in_maps.c58 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 Dfile_stressor.c26 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 Dbpf_obj_pinning.c18 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 Dtoken.c41 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 Dcoredump_test_helpers.c70 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 Dsyscall_n64.tbl348 431 n64 fsconfig sys_fsconfig
/linux/scripts/
H A Dsyscall.tbl374 431 common fsconfig sys_fsconfig
/linux/tools/scripts/
H A Dsyscall.tbl374 431 common fsconfig sys_fsconfig
/linux/tools/perf/arch/s390/entry/syscalls/
H A Dsyscall.tbl360 431 common fsconfig sys_fsconfig
/linux/tools/perf/arch/sh/entry/syscalls/
H A Dsyscall.tbl437 431 common fsconfig sys_fsconfig
/linux/tools/perf/arch/xtensa/entry/syscalls/
H A Dsyscall.tbl404 431 common fsconfig sys_fsconfig
/linux/tools/perf/arch/x86/entry/syscalls/
H A Dsyscall_64.tbl358 431 common fsconfig sys_fsconfig
H A Dsyscall_32.tbl439 431 i386 fsconfig sys_fsconfig
/linux/tools/perf/arch/sparc/entry/syscalls/
H A Dsyscall.tbl479 431 common fsconfig sys_fsconfig
/linux/tools/perf/arch/arm/entry/syscalls/
H A Dsyscall.tbl448 431 common fsconfig sys_fsconfig
/linux/include/uapi/asm-generic/
H A Dunistd.h772 __SYSCALL(__NR_fsconfig, sys_fsconfig)
/linux/tools/include/uapi/asm-generic/
H A Dunistd.h772 __SYSCALL(__NR_fsconfig, sys_fsconfig)
/linux/tools/perf/arch/powerpc/entry/syscalls/
H A Dsyscall.tbl524 431 common fsconfig sys_fsconfig
/linux/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c1749 ASSERT_EQ(sys_fsconfig(fd_context, FSCONFIG_CMD_CREATE, NULL, NULL, 0), 0); in TEST_F()
/linux/include/linux/
H A Dsyscalls.h976 asmlinkage long sys_fsconfig(int fs_fd, unsigned int cmd, const char __user *key,