Home
last modified time | relevance | path

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

/DragonOS/kernel/src/filesystem/vfs/
H A Dsyscall.rs33 Dirent, FileType, IndexNode, SuperBlock, FSMAKER, MAX_PATHLEN, ROOT_INODE,
490 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))? in open()
512 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))? in openat()
695 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))? in chdir()
802 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))? in mkdir()
815 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))? in mkdir_at()
888 let res = check_and_clone_cstr(cstr, Some(MAX_PATHLEN))? in link()
892 if res.len() >= MAX_PATHLEN { in link()
918 let old = check_and_clone_cstr(old, Some(MAX_PATHLEN))? in linkat()
921 let new = check_and_clone_cstr(new, Some(MAX_PATHLEN))? in linkat()
[all …]
H A Dcore.rs16 mount::MountFS, syscall::ModeType, AtomicInodeId, FileSystem, FileType, MAX_PATHLEN,
256 let oldname = check_and_clone_cstr(from, Some(MAX_PATHLEN))? in do_symlinkat()
259 let newname = check_and_clone_cstr(to, Some(MAX_PATHLEN))? in do_symlinkat()
H A Dopen.rs10 FileType, IndexNode, MAX_PATHLEN, ROOT_INODE, VFS_MAX_FOLLOW_SYMLINK_TIMES,
43 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))?; in do_faccessat()
56 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))?; in do_fchmodat()
H A Dmod.rs36 pub const MAX_PATHLEN: usize = 1024; constant
/DragonOS/kernel/src/process/
H A Dsyscall.rs26 vfs::{file::FileDescriptorVec, MAX_PATHLEN},
125 let path: CString = check_and_clone_cstr(path, Some(MAX_PATHLEN))?; in execve()
/DragonOS/kernel/src/syscall/
H A Dmod.rs34 MAX_PATHLEN,
275 && (verify_area(virt_path_ptr, MAX_PATHLEN).is_err() in handle()