68typedef struct vnode_ops
EFI_PHYSICAL_ADDRESS buffer
mode_t
Path flags and permissions.
vnode_t * vnode_new(superblock_t *superblock, vtype_t type, const vnode_ops_t *ops, const file_ops_t *fileOps)
Create a new vnode.
void vnode_truncate(vnode_t *vnode)
Truncate the vnode.
size_t readlink(const char *path, char *buffer, uint64_t count)
System call for reading the target of a symbolic link.
uint64_t symlink(const char *target, const char *linkpath)
System call for creating a symbolic link.
uint64_t link(const char *oldPath, const char *newPath)
System call for creating a hardlink.
_PUBLIC int remove(const char *filename)
Directory entry structure.
File operations structure.
Intrusive RCU head structure.
Reference counting structure.
vnode operations structure.
superblock_t * superblock
const file_ops_t * fileOps
const irp_vtable_t * vtable
uint64_t size
Used for convenience by certain filesystems, does not represent the file size.
_Atomic(uint64_t) dentryCount
The number of dentries pointing to this vnode.
void * data
Filesystem defined data.
static file_ops_t fileOps