Home
last modified time | relevance | path

Searched refs:AT_REMOVEDIR (Results 1 - 25 of 58) sorted by relevance

123

/third_party/libbpf/include/uapi/linux/
H A Dfcntl.h89 * The constants AT_REMOVEDIR and AT_EACCESS have the same value. AT_EACCESS is
90 * meaningful only to faccessat, while AT_REMOVEDIR is meaningful only to
92 * the flags can be allowed to overlap. For example, passing AT_REMOVEDIR to
102 #define AT_REMOVEDIR 0x200 /* Remove directory instead of macro
116 #define AT_HANDLE_FID AT_REMOVEDIR /* file handle is needed to
/third_party/ltp/include/lapi/
H A Dfcntl.h93 #ifndef AT_REMOVEDIR
94 # define AT_REMOVEDIR 0x200 macro
/third_party/NuttX/fs/vfs/
H A Dfs_unlink.c186 /* Now flag only support 0 && AT_REMOVEDIR */ in unlinkat()
187 if ((flag & ~AT_REMOVEDIR) != 0) in unlinkat()
193 if (flag & AT_REMOVEDIR) in unlinkat()
/third_party/musl/src/unistd/
H A Drmdir.c10 return syscall(SYS_unlinkat, AT_FDCWD, path, AT_REMOVEDIR); in rmdir()
/third_party/musl/src/stdio/
H A Dremove.c16 if (r==-EISDIR) r = __syscall(SYS_unlinkat, AT_FDCWD, path, AT_REMOVEDIR); in remove()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dunlinkat.c42 * @tc.desc : delete a name and possibly the file it refers to with AT_REMOVEDIR flag
50 int result = unlinkat(AT_FDCWD, path, AT_REMOVEDIR); in unlinkat_0200()
/third_party/toybox/lib/
H A Dportability.h58 #ifndef AT_REMOVEDIR
59 #define AT_REMOVEDIR 0x200 macro
/third_party/ltp/testcases/kernel/syscalls/unlinkat/
H A Dunlinkat01.c50 {0, subpathname, AT_REMOVEDIR, 0},
/third_party/toybox/toys/other/
H A Dswitch_root.c36 flag = AT_REMOVEDIR; in del_node()
/third_party/toybox/toys/posix/
H A Drm.c55 using = AT_REMOVEDIR; in do_rm()
H A Dcp.c346 if (unlinkat(tfd, try->name, S_ISDIR(try->st.st_mode) ? AT_REMOVEDIR :0)) in cp_node()
/third_party/musl/porting/linux/user/include/
H A Dfcntl.h63 #define AT_REMOVEDIR 0x200 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dfcntl.h62 #define AT_REMOVEDIR 0x200 macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dfcntl.h62 #define AT_REMOVEDIR 0x200 macro
/third_party/musl/porting/uniproton/kernel/include/
H A Dfcntl.h62 #define AT_REMOVEDIR 0x200 macro
/third_party/musl/porting/liteos_a/kernel/include/
H A Dfcntl.h63 #define AT_REMOVEDIR 0x200 macro
/third_party/musl/porting/liteos_m/user/include/
H A Dfcntl.h62 #define AT_REMOVEDIR 0x200 macro
/third_party/musl/libc-test/src/api/
H A Dfcntl.c68 C(AT_REMOVEDIR) in f()
/third_party/musl/include/
H A Dfcntl.h65 #define AT_REMOVEDIR 0x200 macro
/third_party/ltp/lib/
H A Dtst_cgroup.c996 AT_REMOVEDIR); in tst_cg_cleanup()
1008 root->drain_dir.dir_name, AT_REMOVEDIR); in tst_cg_cleanup()
1013 root->ltp_dir.dir_name, AT_REMOVEDIR); in tst_cg_cleanup()
1134 AT_REMOVEDIR); in tst_cg_group_rm()
H A Dtst_safe_file_at.c184 case AT_REMOVEDIR: in safe_unlinkat()
185 flags_sym = "AT_REMOVEDIR"; in safe_unlinkat()
/third_party/eudev/src/udev/
H A Dudevadm-info.c218 (void) unlinkat(dirfd(dir), dent->d_name, AT_REMOVEDIR); in cleanup_dir() local
/third_party/musl/Benchmark/musl/
H A Dlibc_unistd.cpp567 if (unlinkat(AT_FDCWD, path, AT_REMOVEDIR) != 0) { in Bm_function_Unlinkat_AT_REMOVEDIR()
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dcp.c319 if (unlinkat(tfd, try->name, S_ISDIR(try->st.st_mode) ? AT_REMOVEDIR :0)) in cp_node()
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
H A Dtypes.rs30 /// `AT_REMOVEDIR`
31 const REMOVEDIR = linux_raw_sys::general::AT_REMOVEDIR;

Completed in 14 milliseconds

123