1 #ifndef _LFS_KERNEL_OPS_H_
2 #define _LFS_KERNEL_OPS_H_
5 #include <sys/statvfs.h>
11 int (*ko_open
)(const char *, int, ...);
12 int (*ko_statvfs
)(const char *, struct statvfs
*, int);
13 int (*ko_fcntl
)(int, int, ...);
14 int (*ko_fhopen
)(const void *, size_t, int);
17 ssize_t (*ko_pread
)(int, void *, size_t, off_t
);
18 ssize_t (*ko_pwrite
)(int, const void *, size_t, off_t
);
20 extern const struct kernelops kops
;
22 #endif /* _LFS_KERNEL_OPS_H_ */