Home
last modified time | relevance | path

Searched refs:VNode (Results 1 – 8 of 8) sorted by relevance

/sys/include/
Dvfs.h9 typedef struct VNode VNode; typedef
20 VNode *root;
24 typedef struct VNode { struct
33 } VNode; typedef
36 DECLARE_SLAB(VNode);
41 int (*getroot)(VFS *fs, VNode **dn);
43 int (*lookup)(VNode *dn, VNode **fn, const char *name);
44 int (*open)(VNode *fn);
45 int (*close)(VNode *fn);
46 int (*stat)(VNode *fn, struct stat *sb);
[all …]
Dloader.h8 bool Loader_Load(Thread *thr, VNode *vn, void *buf, uint64_t len);
Dhandle.h21 VNode *vnode; // File VNode
/sys/kern/
Dvfs.c22 static VNode *rootNode;
28 DEFINE_SLAB(VNode, &vnodeSlab);
43 Slab_Init(&vnodeSlab, "VNode Slab", sizeof(VNode), 16); in VFS_MountRoot()
62 VNode *
69 VNode *curNode; in VFS_Lookup()
70 VNode *oldNode; in VFS_Lookup()
126 VNode *vn = VFS_Lookup(path); in VFS_Stat()
147 VFS_Open(VNode *fn) in VFS_Open()
162 VFS_Close(VNode *fn) in VFS_Close()
180 VFS_Read(VNode *fn, void *buf, uint64_t off, uint64_t len) in VFS_Read()
[all …]
Dloader.c61 LoaderLoadSegment(AS *as, VNode *vn, uintptr_t vaddr, in LoaderLoadSegment()
131 Loader_Load(Thread *thr, VNode *vn, void *buf, uint64_t len) in Loader_Load()
191 VNode *initvn; in Loader_LoadInit()
Dvfsuio.c65 VNode *vn = VFS_Lookup(path); in VFSUIO_Open()
Dsyscall.c74 VNode *file; in Syscall_Spawn()
/sys/fs/o2fs/
Do2fs.c20 int O2FS_GetRoot(VFS *fs, VNode **dn);
21 int O2FS_Lookup(VNode *dn, VNode **fn, const char *name);
22 int O2FS_Open(VNode *fn);
23 int O2FS_Close(VNode *fn);
24 int O2FS_Stat(VNode *fn, struct stat *statinfo);
25 int O2FS_Read(VNode *fn, void *buf, uint64_t off, uint64_t len);
26 int O2FS_Write(VNode *fn, void *buf, uint64_t off, uint64_t len);
27 int O2FS_ReadDir(VNode *fn, void *buf, uint64_t len, uint64_t *off);
209 VNode *
213 VNode *vn; in O2FSLoadVNode()
[all …]