Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
vfs.h
Go to the documentation of this file.
1
2#ifndef __VFS__VFS_H__
3#define __VFS__VFS_H__
4
5#include "vfs/dentry.h"
6#include <type.h>
7#include <vector.h>
8#include <vfs/vnode.h>
9
10#define ROOT_UUID 0
11
15
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
25
26int vfs_mount(dentry_ptr dev_dentry, char* fs, dentry_ptr dentry,
27 int flags);
29
30#ifdef __cplusplus
31}
32#endif
33
34#endif // __VFS__VFS_H__
struct dentry * dentry_ptr
Definition dentry.h:20
struct vnode vnode_t
Definition filesystem.h:10
uint16_t flags
Definition thread.h:5
int vfs_umount(dentry_ptr dentry)
Definition vfs.c:217
vnode_t * create_and_attach_vnode()
vfs_notify_block
Definition vfs.h:12
@ VFS_NOTIFY_PROBE
Definition vfs.h:13
vfs_notify_root
Definition vfs.h:16
@ VFS_NOTIFY_ROOT_FOUND
Definition vfs.h:17
int vfs_mount(dentry_ptr dev_dentry, char *fs, dentry_ptr dentry, int flags)