Home
last modified time | relevance | path

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

/linux/tools/include/uapi/linux/
H A Dfcntl.h
/linux/include/uapi/linux/
H A Dfcntl.h128 * For example, the constants AT_REMOVEDIR and AT_EACCESS have the same value.
129 * AT_EACCESS is meaningful only to faccessat, while AT_REMOVEDIR is meaningful
132 * AT_REMOVEDIR to faccessat would be undefined behavior and thus treating it
149 #define AT_REMOVEDIR 0x200 /* Remove directory instead of macro
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dfcntl.h149 #define AT_REMOVEDIR 0x200 /* Remove directory instead of macro
/linux/io_uring/
H A Dfs.c117 if (un->flags & ~AT_REMOVEDIR) in io_unlinkat_prep()
137 if (un->flags & AT_REMOVEDIR) in io_unlinkat()
/linux/fs/9p/
H A Dvfs_inode.c475 if (flags & AT_REMOVEDIR) in v9fs_at_to_dotl_flags()
541 if (flags & AT_REMOVEDIR) { in v9fs_remove()
852 return v9fs_remove(i, d, AT_REMOVEDIR); in v9fs_vfs_rmdir()
/linux/tools/include/nolibc/
H A Dsys.h642 return my_syscall3(__NR_unlinkat, AT_FDCWD, path, AT_REMOVEDIR); in sys_rmdir()
/linux/tools/testing/selftests/landlock/
H A Dfs_test.c3149 ASSERT_EQ(0, unlinkat(AT_FDCWD, dir_s1d3, AT_REMOVEDIR)); in TEST_F_FORK()
3154 ASSERT_EQ(-1, unlinkat(AT_FDCWD, dir_s1d2, AT_REMOVEDIR)); in TEST_F_FORK()
3158 ASSERT_EQ(-1, unlinkat(AT_FDCWD, dir_s1d1, AT_REMOVEDIR)); in TEST_F_FORK()
/linux/fs/
H A Dnamei.c4625 if ((flag & ~AT_REMOVEDIR) != 0) in SYSCALL_DEFINE3()
4628 if (flag & AT_REMOVEDIR) in SYSCALL_DEFINE3()