VSF Documented
|
Data Structures | |
struct | vk_malfs_mount_partition_t |
struct | vk_malfs_dpt_t |
struct | vk_malfs_mbr_t |
struct | vk_malfs_gpt_header_t |
struct | vk_mal_gpt_entry_t |
Macros | |
#define | __VSF_FS_CLASS_INHERIT__ |
#define | __VSF_MAL_CLASS_INHERIT__ |
#define | __VSF_MALFS_CLASS_IMPLEMENT |
#define | __is_gpt() (vsf_local.partition_num > 0) |
Typedefs | |
typedef enum vk_malfs_mount_state_t | vk_malfs_mount_state_t |
typedef enum vk_malfs_partition_type_t | vk_malfs_partition_type_t |
typedef struct vk_malfs_mount_partition_t | vk_malfs_mount_partition_t |
typedef struct vk_malfs_dpt_t | vk_malfs_dpt_t |
typedef struct vk_malfs_mbr_t | vk_malfs_mbr_t |
typedef struct vk_malfs_gpt_header_t | vk_malfs_gpt_header_t |
typedef struct vk_mal_gpt_entry_t | vk_mal_gpt_entry_t |
Variables | ||
struct { | ||
const vk_fs_op_t * fsop | ||
uint8_t partition_type | ||
} | __vk_malfs_ops [] | |
#define __VSF_FS_CLASS_INHERIT__ |
#define __VSF_MAL_CLASS_INHERIT__ |
#define __VSF_MALFS_CLASS_IMPLEMENT |
#define __is_gpt | ( | ) | (vsf_local.partition_num > 0) |
typedef enum vk_malfs_mount_state_t vk_malfs_mount_state_t |
typedef enum vk_malfs_partition_type_t vk_malfs_partition_type_t |
typedef struct vk_malfs_mount_partition_t vk_malfs_mount_partition_t |
typedef struct vk_malfs_dpt_t vk_malfs_dpt_t |
typedef struct vk_malfs_mbr_t vk_malfs_mbr_t |
typedef struct vk_malfs_gpt_header_t vk_malfs_gpt_header_t |
typedef struct vk_mal_gpt_entry_t vk_mal_gpt_entry_t |
void __vk_malfs_init | ( | __vk_malfs_info_t * | info | ) |
void __vk_malfs_cache_init | ( | __vk_malfs_info_t * | info, |
__vk_malfs_cache_t * | cache | ||
) |
__vsf_component_peda_private_entry | ( | __vk_malfs_alloc_cache | , |
uint64_t block_addr;__vk_malfs_cache_node_t *result; | |||
) |
__vsf_component_peda_private_entry | ( | __vk_malfs_read | , |
uint64_t block_addr;uint32_t block_num;uint8_t *buff;uint8_t *cur_buff;uint8_t *read_buff;__vk_malfs_cache_node_t *node;uint32_t read_block_num;uint8_t state; | |||
) |
vsf_err_t __vk_malfs_alloc_cache | ( | __vk_malfs_info_t * | info, |
__vk_malfs_cache_t * | cache, | ||
uint_fast64_t | block_addr | ||
) |
vsf_err_t __vk_malfs_read | ( | __vk_malfs_info_t * | info, |
uint_fast64_t | block_addr, | ||
uint_fast32_t | block_num, | ||
uint8_t * | buff | ||
) |
vsf_err_t __vk_malfs_write | ( | __vk_malfs_info_t * | info, |
uint_fast64_t | block_addr, | ||
uint_fast32_t | block_num, | ||
uint8_t * | buff | ||
) |
void __vk_malfs_unmount | ( | __vk_malfs_info_t * | info | ) |
__vsf_component_peda_private_entry | ( | __vk_malfs_mount | , |
uint64_t partition_entry_lba;vk_malfs_mount_partition_t cur_partition;uint8_t *sectbuf;uint8_t *sectbuf_probe;char *cur_root_name;uint32_t start_sector;uint32_t sector_count;vk_malfs_mount_state_t mount_state;uint8_t partition_idx;uint8_t partition_type;uint8_t partition_num;uint8_t try_idx; | |||
) |
vsf_err_t vk_malfs_mount | ( | vk_malfs_mounter_t * | mounter | ) |
const vk_fs_op_t* fsop |
uint8_t partition_type |
struct { ... } __vk_malfs_ops[] |