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

#include <vfs_types.h>

+ 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
 

Detailed Description

Definition at line 155 of file vfs_types.h.

Member Data Documentation

◆ ino

◆ type

◆ perm

◆ size

◆ uid

uid_t uid

Definition at line 161 of file vfs_types.h.

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

◆ gid

gid_t gid

Definition at line 162 of file vfs_types.h.

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

◆ sticky

bool sticky

Definition at line 163 of file vfs_types.h.

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

◆ suid

bool suid

Definition at line 164 of file vfs_types.h.

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

◆ sgid

bool sgid

Definition at line 165 of file vfs_types.h.

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

◆ nlinks

◆ accessed

u64 accessed

Definition at line 167 of file vfs_types.h.

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

◆ created

u64 created

Definition at line 168 of file vfs_types.h.

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

◆ modified

u64 modified

Definition at line 169 of file vfs_types.h.

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 177 of file vfs_types.h.

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


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