Lines Matching refs:AtFlags
27 fcntl::{AtFlags, FcntlCommand, FD_CLOEXEC},
497 AtFlags::AT_FDCWD.bits(), in open()
807 AtFlags::AT_FDCWD.bits(), in mkdir()
838 flags: AtFlags, in do_linkat() argument
841 if !(AtFlags::AT_EMPTY_PATH | AtFlags::AT_SYMLINK_FOLLOW).contains(flags) { in do_linkat()
845 let symlink_times = if flags.contains(AtFlags::AT_SYMLINK_FOLLOW) { in do_linkat()
854 if flags.contains(AtFlags::AT_EMPTY_PATH) { in do_linkat()
903 AtFlags::AT_FDCWD.bits(), in link()
905 AtFlags::AT_FDCWD.bits(), in link()
907 AtFlags::empty(), in link()
931 let flags = AtFlags::from_bits(flags).ok_or(SystemError::EINVAL)?; in linkat()
945 let flags = AtFlags::from_bits(flags as i32).ok_or(SystemError::EINVAL)?; in unlinkat()
951 if flags.contains(AtFlags::AT_REMOVEDIR) { in unlinkat()
977 return do_remove_dir(AtFlags::AT_FDCWD.bits(), &path).map(|v| v as usize); in rmdir()
984 return do_unlink_at(AtFlags::AT_FDCWD.bits(), &path).map(|v| v as usize); in unlink()
988 return do_symlinkat(oldname, AtFlags::AT_FDCWD.bits(), newname); in symlink()
1589 return Self::readlink_at(AtFlags::AT_FDCWD.bits(), path, user_buf, buf_size); in readlink()
1594 AtFlags::AT_FDCWD.bits(), in access()
1617 AtFlags::AT_FDCWD.bits(), in chmod()
1650 AtFlags::AT_FDCWD.bits(), in chown()
1654 AtFlags::AT_STATX_SYNC_AS_STAT, in chown()
1663 AtFlags::AT_FDCWD.bits(), in lchown()
1667 AtFlags::AT_SYMLINK_NOFOLLOW, in lchown()
1682 let flags = AtFlags::from_bits_truncate(flags); in fchownat()
1739 AtFlags::AT_FDCWD.bits(), in umount2()