CS350 COS
COS
Loading...
Searching...
No Matches
VFSOp Struct Reference

#include <vfs.h>

Collaboration diagram for VFSOp:
[legend]

Data Fields

int(* unmount )(VFS *fs)
 
int(* getroot )(VFS *fs, VNode **dn)
 
int(* lookup )(VNode *dn, VNode **fn, const char *name)
 
int(* open )(VNode *fn)
 
int(* close )(VNode *fn)
 
int(* stat )(VNode *fn, struct stat *sb)
 
int(* read )(VNode *fn, void *buf, uint64_t off, uint64_t len)
 
int(* write )(VNode *fn, void *buf, uint64_t off, uint64_t len)
 
int(* readdir )(VNode *fn, void *buf, uint64_t len, uint64_t *off)
 

Detailed Description

Definition at line 38 of file vfs.h.

Field Documentation

◆ close

int(* VFSOp::close) (VNode *fn)

Definition at line 45 of file vfs.h.

◆ getroot

int(* VFSOp::getroot) (VFS *fs, VNode **dn)

Definition at line 41 of file vfs.h.

◆ lookup

int(* VFSOp::lookup) (VNode *dn, VNode **fn, const char *name)

Definition at line 43 of file vfs.h.

◆ open

int(* VFSOp::open) (VNode *fn)

Definition at line 44 of file vfs.h.

◆ read

int(* VFSOp::read) (VNode *fn, void *buf, uint64_t off, uint64_t len)

Definition at line 47 of file vfs.h.

◆ readdir

int(* VFSOp::readdir) (VNode *fn, void *buf, uint64_t len, uint64_t *off)

Definition at line 49 of file vfs.h.

◆ stat

int(* VFSOp::stat) (VNode *fn, struct stat *sb)

Definition at line 46 of file vfs.h.

◆ unmount

int(* VFSOp::unmount) (VFS *fs)

Definition at line 40 of file vfs.h.

◆ write

int(* VFSOp::write) (VNode *fn, void *buf, uint64_t off, uint64_t len)

Definition at line 48 of file vfs.h.


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