Home
last modified time | relevance | path

Searched refs:AtFlags (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/src/filesystem/vfs/
H A Dopen.rs6 fcntl::AtFlags,
34 & (!((AtFlags::AT_EACCESS | AtFlags::AT_SYMLINK_NOFOLLOW | AtFlags::AT_EMPTY_PATH).bits() in do_faccessat()
75 flag: AtFlags, in do_fchownat() argument
78 if flag.contains(!(AtFlags::AT_SYMLINK_NOFOLLOW | AtFlags::AT_EMPTY_PATH)) { in do_fchownat()
82 let follow_symlink = flag.contains(!AtFlags::AT_SYMLINK_NOFOLLOW); in do_fchownat()
302 AtFlags::AT_FDCWD.bits(),
H A Dsyscall.rs27 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()
[all …]
H A Dutils.rs10 use super::{fcntl::AtFlags, FileType, IndexNode, ROOT_INODE};
50 if dirfd != AtFlags::AT_FDCWD.bits() { in user_path_at()
H A Dfcntl.rs70 pub struct AtFlags: i32 {
H A Dcore.rs25 fcntl::AtFlags,
268 let (old_begin_inode, old_remain_path) = user_path_at(&pcb, AtFlags::AT_FDCWD.bits(), from)?; in do_symlinkat()
316 AtFlags::AT_FDCWD.bits(), in do_mount()
348 AtFlags::AT_FDCWD.bits(), in do_mount_mkdir()
/DragonOS/kernel/src/syscall/
H A Dmod.rs31 fcntl::{AtFlags, FcntlCommand},
120 AtFlags::AT_FDCWD.bits(), in handle()
122 AtFlags::AT_FDCWD.bits(), in handle()