Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/proc/
H A Dproc-pidns.c120 ASSERT_SUCCESS(fsconfig(fsfd, FSCONFIG_SET_STRING, "pidns", "/tmp/dummy/pidns", 0)); in TEST_F()
121 ASSERT_SUCCESS(fsconfig(fsfd, FSCONFIG_CMD_CREATE, NULL, NULL, 0)); in TEST_F()
138 ASSERT_SUCCESS(fsconfig(fsfd, FSCONFIG_SET_FD, "pidns", NULL, self->dummy_pidns)); in TEST_F()
139 ASSERT_SUCCESS(fsconfig(fsfd, FSCONFIG_CMD_CREATE, NULL, NULL, 0)); in TEST_F()
170 ASSERT_SUCCESS(fsconfig(fsfd, FSCONFIG_CMD_CREATE, NULL, NULL, 0)); in TEST_F()
178 ASSERT_ERRNO_EQ(-EBUSY, fsconfig(fsfd, FSCONFIG_SET_STRING, "pidns", "/tmp/dummy/pidns", 0)); in TEST_F()
179 ASSERT_SUCCESS(fsconfig(fsfd, FSCONFIG_CMD_RECONFIGURE, NULL, NULL, 0)); /* noop */ in TEST_F()
193 ASSERT_SUCCESS(fsconfig(fsfd, FSCONFIG_CMD_CREATE, NULL, NULL, 0)); in TEST_F()
201 ASSERT_ERRNO_EQ(-EBUSY, fsconfig(fsfd, FSCONFIG_SET_FD, "pidns", NULL, self->dummy_pidns)); in TEST_F()
202 ASSERT_SUCCESS(fsconfig(fsfd, FSCONFIG_CMD_RECONFIGURE, NULL, NULL, 0)); /* noop */ in TEST_F()
H A Dproc-fsconfig-hidepid.c28 static inline int fsconfig(int fd, unsigned int cmd, const char *key, const void *val, int aux) in fsconfig() function
40 ret = fsconfig(fsfd, FSCONFIG_SET_BINARY, "hidepid", &hidepid, 0); in main()
44 assert(!fsconfig(fsfd, FSCONFIG_SET_STRING, "hidepid", "2", 0)); in main()
45 assert(!fsconfig(fsfd, FSCONFIG_SET_STRING, "hidepid", "invisible", 0)); in main()
H A D.gitignore6 /proc-fsconfig-hidepid
H A DMakefile31 TEST_GEN_PROGS += proc-fsconfig-hidepid
/linux/tools/testing/selftests/filesystems/
H A Dfclog.c69 ASSERT_ERRNO_EQ(-EINVAL, fsconfig(fsfd, FSCONFIG_SET_STRING, "invalid-arg", "123", 0)); in TEST_F()
85 ASSERT_ERRNO_EQ(-EINVAL, fsconfig(fsfd, FSCONFIG_SET_STRING, "invalid-arg", "123", 0)); in TEST_F()
87 ASSERT_SUCCESS(fsconfig(fsfd, FSCONFIG_CMD_CREATE, NULL, NULL, 0)); in TEST_F()
110 ASSERT_ERRNO_EQ(-EINVAL, fsconfig(fsfd, FSCONFIG_SET_STRING, "invalid-arg", "123", 0)); in TEST_F()
/linux/samples/vfs/
H A Dtest-fsmount.c82 static inline int fsconfig(int fsfd, unsigned int cmd, in fsconfig() function
99 if (fsconfig(fd, cmd, key, val, aux) == -1) \
/linux/tools/include/uapi/
H A DREADME22 tools/perf/trace/beauty/fsconfig.sh
/linux/fs/
H A Dfsopen.c350 SYSCALL_DEFINE5(fsconfig, in SYSCALL_DEFINE5() argument
/linux/tools/testing/selftests/filesystems/mount-notify/
H A Dmount-notify_test.c340 ret = fsconfig(fs, FSCONFIG_CMD_CREATE, 0, 0, 0); in TEST_F()
H A Dmount-notify_test_ns.c367 ret = fsconfig(fs, FSCONFIG_CMD_CREATE, 0, 0, 0); in TEST_F()
/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/tools/perf/arch/powerpc/entry/syscalls/
H A Dsyscall.tbl524 431 common fsconfig sys_fsconfig
/linux/tools/perf/
H A DMakefile.perf575 fsconfig_tbls := $(srctree)/tools/perf/trace/beauty/fsconfig.sh