MOS Source Code
Loading...
Searching...
No Matches
inode_t Struct Referencefinal

#include <vfs_types.hpp>

Inheritance diagram for inode_t:
Collaboration diagram for inode_t:

Public Attributes

u64 ino
file_type_t type
file_perm_t perm
size_t size
uid_t uid
gid_t gid
bool sticky
bool suid
bool sgid
ssize_t nlinks
u64 accessed
u64 created
u64 modified
superblock_tsuperblock
const inode_ops_tops
const file_ops_tfile_ops
voidprivate_data
inode_cache_t cache
atomic_t refcount
 number of references to this inode

Additional Inherited Members

Static Public Attributes inherited from NamedType<"inode">
static constexpr mos::string_view type_name

Detailed Description

Definition at line 161 of file vfs_types.hpp.

Member Data Documentation

◆ ino

◆ type

◆ perm

◆ size

◆ uid

uid_t uid

Definition at line 167 of file vfs_types.hpp.

Referenced by cpio_inode_trycreate(), i_from_pbfull(), i_to_pb_full(), and vfs_copy_stat().

◆ gid

gid_t gid

Definition at line 168 of file vfs_types.hpp.

Referenced by cpio_inode_trycreate(), i_from_pbfull(), i_to_pb_full(), and vfs_copy_stat().

◆ sticky

bool sticky

Definition at line 169 of file vfs_types.hpp.

Referenced by cpio_inode_trycreate(), i_from_pbfull(), i_to_pb_full(), and vfs_copy_stat().

◆ suid

bool suid

Definition at line 170 of file vfs_types.hpp.

Referenced by cpio_inode_trycreate(), i_from_pbfull(), i_to_pb_full(), and vfs_copy_stat().

◆ sgid

bool sgid

Definition at line 171 of file vfs_types.hpp.

Referenced by cpio_inode_trycreate(), i_from_pbfull(), i_to_pb_full(), and vfs_copy_stat().

◆ nlinks

◆ accessed

u64 accessed

Definition at line 173 of file vfs_types.hpp.

Referenced by i_from_pbfull(), i_to_pb_full(), and vfs_copy_stat().

◆ created

u64 created

Definition at line 174 of file vfs_types.hpp.

Referenced by i_from_pbfull(), i_to_pb_full(), and vfs_copy_stat().

◆ modified

u64 modified

Definition at line 175 of file vfs_types.hpp.

Referenced by i_from_pbfull(), i_to_pb_full(), and vfs_copy_stat().

◆ superblock

◆ ops

◆ file_ops

◆ private_data

◆ cache

◆ refcount

atomic_t refcount

number of references to this inode

Definition at line 183 of file vfs_types.hpp.

Referenced by inode_init(), inode_ref(), inode_try_drop(), and inode_unref().


The documentation for this struct was generated from the following file: