|
Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
|
#include <type.h>Go to the source code of this file.
Data Structures | |
| struct | fs_operations |
| struct | fs_magic |
| struct | fs_data |
| struct | filesystem |
| struct | fs_instance |
Typedefs | |
| typedef struct vnode | vnode_t |
| typedef struct dentry * | dentry_ptr |
| typedef struct cdev * | cdev_ptr_t |
| typedef struct filesystem | filesystem_t |
| typedef struct fs_operations | fs_operations_t |
| typedef filesystem_t * | filesystem_ptr_t |
Functions | |
| struct filesystem | __attribute__ ((aligned(64))) |
| int | create_filesystem (char name[16], struct fs_data *fs_data) |
| filesystem_ptr_t | retrieve_filesystem (const char name[16]) |
| filesystem_t * | get_all_filesystem () |
| filesystem_t * | get_filesystem (const char name[16]) |
Variables | |
| char | name [16] |
| struct fs_data | data |
| struct filesystem * | next |
| struct fs_instance | __attribute__ |
| typedef struct cdev* cdev_ptr_t |
Definition at line 12 of file filesystem.h.
| typedef struct dentry* dentry_ptr |
Definition at line 11 of file filesystem.h.
| typedef filesystem_t* filesystem_ptr_t |
Definition at line 36 of file filesystem.h.
| typedef struct filesystem filesystem_t |
Definition at line 14 of file filesystem.h.
| typedef struct fs_operations fs_operations_t |
Definition at line 10 of file filesystem.h.
| struct filesystem __attribute__ | ( | (aligned(64)) | ) |
| int create_filesystem | ( | char | name[16], |
| struct fs_data * | fs_data ) |
Definition at line 7 of file filesystem.c.
References kalloc(), memcopy(), memset(), name, fs_data::ops, registered_filesystems, strncpy(), VFS_ERR, and VFS_OK.
Referenced by INIT().
| filesystem_t * get_all_filesystem | ( | ) |
| filesystem_t * get_filesystem | ( | const char | name[16] | ) |
References name.
| filesystem_ptr_t retrieve_filesystem | ( | const char | name[16] | ) |
References name.
| struct fs_instance __attribute__ |
| struct fs_data data |
Definition at line 1 of file filesystem.h.
Referenced by __attribute__(), __attribute__(), checksum16_adc(), checksum16_raw(), E1000SendPacketCWrapper(), elf_count_load_size(), elf_dyn_find(), elf_dyn_map_all(), elf_find_base_addr(), elf_find_symbol(), elf_get_entry(), elf_get_phdr_dynamic(), elf_get_symbol(), elf_gnu_hash_parse(), elf_load(), elf_section_map_all(), ethernet_send_frame(), HIDKeyboard::fireHandler(), initrd_read(), HIDKeyboard::load(), notify_call(), notify_unregister(), HIDKeyboard::parse_report(), EHCIModule::probe(), proccess_elf(), rbt_insert_node(), E1000Module::readEeprom(), send_tcp_data(), E1000Module::sendPacket(), ssfn_load(), HIDKeyboard::store_in_vfs(), tty_input_handler(), EHCIModule::unload(), EHCIModule::usb_get_descriptor(), EHCIModule::usb_get_string_descriptor(), vfs_event_handler(), and vxVoxmoInstall().
| char name[16] |
Definition at line 0 of file filesystem.h.
| struct filesystem* next |
Definition at line 2 of file filesystem.h.