|
PatchworkOS
|
#include <kernel/fs/path.h>#include <kernel/mem/paging_types.h>#include <kernel/utils/ref.h>#include <stdatomic.h>#include <stdint.h>#include <sys/io.h>#include <sys/proc.h>Go to the source code of this file.
Data Structures | |
| struct | file_t |
| File structure. More... | |
| struct | file_ops_t |
| File operations structure. More... | |
| struct | poll_file_t |
| Structure for polling multiple files. More... | |
Typedefs | |
| typedef struct wait_queue | wait_queue_t |
| typedef struct file | file_t |
| typedef struct file_ops | file_ops_t |
| typedef struct dentry | dentry_t |
| typedef struct inode | inode_t |
| typedef struct poll_file | poll_file_t |
Functions | |
| 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. | |
| typedef struct file_ops file_ops_t |
| typedef struct poll_file poll_file_t |
| typedef struct wait_queue wait_queue_t |