/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/ |
D | fbsysfs.rs | 8 vfs::syscall::ModeType, 42 ) -> Option<ModeType> { in is_visible() argument 55 fn mode(&self) -> ModeType { in mode() argument 56 ModeType::S_IRUGO in mode() 79 fn mode(&self) -> ModeType { in mode() argument 80 ModeType::S_IRUGO | ModeType::S_IWUSR in mode() 109 fn mode(&self) -> ModeType { in mode() argument 110 ModeType::S_IWUSR in mode() 132 fn mode(&self) -> ModeType { in mode() argument 133 ModeType::S_IRUGO | ModeType::S_IWUSR in mode() [all …]
|
/DragonOS-0.1.9/kernel/src/filesystem/sysfs/ |
D | mod.rs | 7 vfs::{syscall::ModeType, FileSystem}, 110 fn is_visible(&self, kobj: Arc<dyn KObject>, attr: &'static dyn Attribute) -> Option<ModeType>; in is_visible() argument 114 pub const SYSFS_ATTR_MODE_RO: ModeType = ModeType::from_bits_truncate(0o444); 116 pub const SYSFS_ATTR_MODE_WO: ModeType = ModeType::from_bits_truncate(0o200); 118 pub const SYSFS_ATTR_MODE_RW: ModeType = ModeType::from_bits_truncate(0o644); 123 fn mode(&self) -> ModeType; in mode() argument
|
D | group.rs | 11 vfs::{syscall::ModeType, IndexNode}, 83 ModeType::S_IRWXU | ModeType::S_IRUGO | ModeType::S_IXUGO, in do_create_group() 199 mode = ModeType::from_bits_truncate(mode.bits() & 0o644); in group_create_files()
|
D | dir.rs | 13 vfs::syscall::ModeType, 69 ModeType::from_bits_truncate(0o755), in create_dir()
|
D | file.rs | 17 vfs::{syscall::ModeType, PollStatus}, 119 mode: ModeType, in add_file_with_mode() argument 157 mode.bitand(ModeType::from_bits_truncate(0o777)), in add_file_with_mode() 237 mode: ModeType, in add_bin_file_with_mode() argument 269 mode.bitand(ModeType::from_bits_truncate(0o777)), in add_bin_file_with_mode()
|
/DragonOS-0.1.9/kernel/src/filesystem/vfs/ |
D | open.rs | 12 syscall::{ModeType, OpenHow, OpenHowResolve}, 20 mode: ModeType, in do_faccessat() argument 23 if (mode.bits() & (!ModeType::S_IRWXO.bits())) != 0 { in do_faccessat() 52 pub fn do_fchmodat(dirfd: i32, path: *const u8, _mode: ModeType) -> Result<usize, SystemError> { in do_fchmodat() 74 mode: ModeType, in do_sys_open() argument 117 ModeType::from_bits_truncate(0o755), in do_sys_openat2()
|
D | syscall.rs | 42 pub struct ModeType: u32 { 98 mode: ModeType, 125 mode: ModeType { bits: 0 }, in new() 185 pub mode: ModeType, 190 pub fn new(mut o_flags: FileMode, mut mode: ModeType, resolve: OpenHowResolve) -> Self { in new() argument 192 mode = ModeType::empty(); in new() 210 let mode = ModeType::from_bits_truncate(posix_open_how.mode as u32); in from() 253 mode: ModeType, in open() argument 263 mode: ModeType, in openat() argument 835 FileType::File => kstat.mode.insert(ModeType::S_IFREG), in do_fstat() [all …]
|
D | core.rs | 17 vfs::{mount::MountFS, syscall::ModeType, AtomicInodeId, FileSystem, FileType}, 64 .create("proc", FileType::Dir, ModeType::from_bits_truncate(0o755)) in vfs_init() 67 .create("dev", FileType::Dir, ModeType::from_bits_truncate(0o755)) in vfs_init() 70 .create("sys", FileType::Dir, ModeType::from_bits_truncate(0o755)) in vfs_init() 102 ModeType::from_bits_truncate(0o755), in do_migrate() 203 ModeType::from_bits_truncate(0o755), in do_mkdir()
|
D | mod.rs | 23 use self::{core::generate_inode_id, file::FileMode, syscall::ModeType}; 221 mode: ModeType, in create() argument 240 _mode: ModeType, in create_with_data() argument 386 _mode: ModeType, in mknod() argument 535 pub mode: ModeType, 562 mode: ModeType::empty(), in default() 610 pub fn new(file_type: FileType, mode: ModeType) -> Self { in new()
|
D | mount.rs | 15 file::FileMode, syscall::ModeType, FilePrivateData, FileSystem, FileType, IndexNode, InodeId, 147 mode: ModeType, in create_with_data() argument 214 mode: ModeType, in create() argument 357 mode: ModeType, in mknod() argument
|
/DragonOS-0.1.9/kernel/src/exception/ |
D | sysfs.rs | 15 vfs::syscall::ModeType, 84 ) -> Option<ModeType> { in is_visible() argument 142 fn mode(&self) -> ModeType { in mode() argument 173 fn mode(&self) -> ModeType { in mode() argument 199 fn mode(&self) -> ModeType { in mode() argument 230 fn mode(&self) -> ModeType { in mode() argument 256 fn mode(&self) -> ModeType { in mode() argument 286 fn mode(&self) -> ModeType { in mode() argument
|
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/fbcon/ |
D | mod.rs | 21 vfs::syscall::ModeType, 259 ) -> Option<ModeType> { in is_visible() argument 272 fn mode(&self) -> ModeType { in mode() argument 273 ModeType::S_IRUGO | ModeType::S_IWUSR in mode() 301 fn mode(&self) -> ModeType { in mode() argument 302 ModeType::S_IWUSR in mode() 324 fn mode(&self) -> ModeType { in mode() argument 325 ModeType::S_IRUGO | ModeType::S_IWUSR in mode()
|
/DragonOS-0.1.9/kernel/src/misc/ |
D | ksysfs.rs | 5 vfs::syscall::ModeType, 60 ) -> Option<ModeType> { in is_visible() argument
|
/DragonOS-0.1.9/kernel/src/filesystem/devfs/ |
D | mod.rs | 8 syscall::ModeType, 60 DevFSInode::new(FileType::Dir, ModeType::from_bits_truncate(0o755), 0), in new() 117 ModeType::from_bits_truncate(0o755), in register_device() 140 ModeType::from_bits_truncate(0o755), in register_device() 235 pub fn new(dev_type_: FileType, mode: ModeType, data_: usize) -> Self { in new() argument 242 mode: ModeType, in new_with_parent() argument 282 ModeType::from_bits_truncate(0o755), in add_dir() 322 mode: ModeType, in do_create_with_data() argument 388 mode: ModeType, in create_with_data() argument
|
D | null_dev.rs | 3 use crate::filesystem::vfs::syscall::ModeType; 48 mode: ModeType::from_bits_truncate(0o666), in new()
|
D | zero_dev.rs | 3 use crate::filesystem::vfs::syscall::ModeType; 48 mode: ModeType::from_bits_truncate(0o666), in new()
|
/DragonOS-0.1.9/kernel/src/filesystem/ramfs/ |
D | mod.rs | 21 file::FilePrivateData, syscall::ModeType, FileSystem, FsInfo, IndexNode, InodeId, Metadata, 99 mode: ModeType::from_bits_truncate(0o777), in new() 256 mode: ModeType, in create_with_data() argument 478 mode: ModeType, in mknod() argument 487 if unlikely(mode.contains(ModeType::S_IFREG)) { in mknod() 519 if mode.contains(ModeType::S_IFIFO) { in mknod() 525 } else if mode.contains(ModeType::S_IFBLK) { in mknod() 528 } else if mode.contains(ModeType::S_IFCHR) { in mknod()
|
/DragonOS-0.1.9/kernel/src/filesystem/kernfs/ |
D | mod.rs | 24 core::generate_inode_id, file::FileMode, syscall::ModeType, FilePrivateData, FileSystem, 76 mode: ModeType::from_bits_truncate(0o755), in create_root_inode() 176 _mode: ModeType, in create_with_data() argument 435 mode: ModeType, in add_dir() argument 466 mode: ModeType, in add_file() argument 490 mode: ModeType, in inner_create() argument 582 ModeType::S_IFLNK | ModeType::from_bits_truncate(0o777), in add_link()
|
/DragonOS-0.1.9/kernel/src/driver/base/platform/ |
D | subsys.rs | 19 vfs::syscall::ModeType, 158 fn is_visible(&self, _kobj: Arc<dyn KObject>, attr: &dyn Attribute) -> Option<ModeType> { in is_visible() argument
|
/DragonOS-0.1.9/kernel/src/driver/input/serio/ |
D | subsys.rs | 19 vfs::syscall::ModeType, 137 fn is_visible(&self, _kobj: Arc<dyn KObject>, _attr: &dyn Attribute) -> Option<ModeType> { in is_visible() argument
|
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/ |
D | ahci_inode.rs | 5 use crate::filesystem::vfs::syscall::ModeType; 53 mode: ModeType::from_bits_truncate(0o666), in new()
|
/DragonOS-0.1.9/kernel/src/driver/acpi/ |
D | sysfs.rs | 11 vfs::syscall::ModeType, 136 fn mode(&self) -> ModeType { in mode() argument 219 fn mode(&self) -> ModeType { in mode() argument 220 return ModeType::from_bits_truncate(0o400); in mode()
|
/DragonOS-0.1.9/kernel/src/filesystem/procfs/ |
D | mod.rs | 32 syscall::ModeType, 305 mode: ModeType::from_bits_truncate(0o555), in new() 333 ModeType::from_bits_truncate(0o444), in new() 347 let binding = inode.create("kmsg", FileType::File, ModeType::from_bits_truncate(0o444)); in new() 371 ModeType::from_bits_truncate(0o555), in register_pid() 378 ModeType::from_bits_truncate(0o444), in register_pid() 549 mode: ModeType, in create_with_data() argument
|
/DragonOS-0.1.9/kernel/src/driver/base/device/ |
D | dd.rs | 12 vfs::syscall::ModeType, 596 fn mode(&self) -> ModeType { in mode() argument 598 return ModeType::S_IRUGO; in mode() 632 fn mode(&self) -> ModeType { in mode() argument
|
D | bus.rs | 17 vfs::syscall::ModeType, 592 fn mode(&self) -> ModeType { in mode() argument 593 return ModeType::S_IWUSR; in mode() 630 fn mode(&self) -> ModeType { in mode() argument 740 fn mode(&self) -> ModeType { in mode() argument 789 fn mode(&self) -> ModeType { in mode() argument
|