56typedef struct file_ops
73typedef struct poll_file
file_t * file_new(inode_t *inode, const path_t *path, path_flags_t flags)
Create a new file structure.
uint64_t file_generic_seek(file_t *file, int64_t offset, seek_origin_t origin)
Helper function for basic seeking.
fd_t open(const char *path)
System call for opening files.
uint64_t close(fd_t fd)
System call for closing files.
uint64_t seek(fd_t fd, int64_t offset, seek_origin_t origin)
System call for changing the file offset.
uint64_t ioctl(fd_t fd, uint64_t request, void *argp, uint64_t size)
System call for extended driver behaviour.
uint8_t seek_origin_t
Type for the seek() origin argument.
uint64_t read(fd_t fd, void *buffer, uint64_t count)
System call for reading from files.
poll_events_t
Poll events type.
uint64_t open2(const char *path, fd_t fd[2])
System call for opening 2 file descriptors from one file.
uint64_t write(fd_t fd, const void *buffer, uint64_t count)
System call for writing to files.
EFI_PHYSICAL_ADDRESS buffer
Directory entry structure.
File operations structure.
A entry in a page table without a specified address or callback ID.
Structure for polling multiple files.
Reference counting structure.