Lines Matching refs:AccessMode
398 enum AccessMode { enum
406 access_mode: AccessMode, in create_stat() argument
413 AccessMode::ReadOnly => { in create_stat()
417 AccessMode::Variable(mode) => libc::S_IFREG | mode, in create_stat()
434 access_mode: AccessMode, in create_dir_stat() argument
441 AccessMode::ReadOnly => { in create_dir_stat()
445 AccessMode::Variable(mode) => libc::S_IFDIR | mode, in create_dir_stat()
537 create_dir_stat(inode, dir.number_of_entries(), AccessMode::ReadOnly) in lookup()
540 create_stat(inode, *file_size, AccessMode::ReadOnly) in lookup()
543 create_stat(inode, reader.file_size()?, AccessMode::ReadOnly) in lookup()
546 create_stat(inode, editor.size(), AccessMode::Variable(attr.mode())) in lookup()
551 AccessMode::Variable(attr.mode()), in lookup()
613 create_dir_stat(inode, dir.number_of_entries(), AccessMode::ReadOnly) in getattr()
616 create_stat(inode, *file_size, AccessMode::ReadOnly) in getattr()
619 create_stat(inode, reader.file_size()?, AccessMode::ReadOnly) in getattr()
622 create_stat(inode, editor.size(), AccessMode::Variable(attr.mode())) in getattr()
627 AccessMode::Variable(attr.mode()), in getattr()
694 attr: create_stat(new_inode, /* file_size */ 0, AccessMode::Variable(mode))?, in create()
778 create_stat(inode, editor.size(), AccessMode::Variable(attr.mode()))?; in setattr()
803 AccessMode::Variable(attr.mode()), in setattr()
880 attr: create_dir_stat(new_inode, /* file_number */ 0, AccessMode::Variable(mode))?, in mkdir()