AquilaOS documentation
How it works, and its code
Toggle main menu visibility
Loading...
Searching...
No Matches
sync.c
Go to the documentation of this file.
1
6
7
#include <
core/system.h
>
8
#include <
fs/vfs.h
>
9
#include <aquila/errno.h>
10
18
int
vfs_vsync
(
struct
vnode
*
vnode
,
int
mode)
19
{
20
return
-ENOTSUP;
21
}
22
31
int
vfs_fssync
(
struct
vnode
*super,
int
mode)
32
{
33
return
-ENOTSUP;
34
}
35
43
int
vfs_sync
(
int
mode)
44
{
45
return
-ENOTSUP;
46
}
system.h
vnode
A file in memory (a vnode): what its inode says, and the kernel's own state.
Definition
vfs.h:113
vfs_sync
int vfs_sync(int mode)
Would write every filesystem's data and metadata to its disk.
Definition
sync.c:43
vfs_vsync
int vfs_vsync(struct vnode *vnode, int mode)
Would write a vnode's data and metadata to its disk.
Definition
sync.c:18
vfs_fssync
int vfs_fssync(struct vnode *super, int mode)
Would write a filesystem's data and metadata to its disk.
Definition
sync.c:31
vfs.h
kernel
fs
sync.c
Generated by
1.18.0