#include "giis.h"
Include dependency graph for init.c:
Go to the source code of this file.
Functions | |
int | init () |
int | search4fs () |
int | search4super_block () |
void | set_file_system () |
int | search4group_desc () |
int | init_files () |
int | fs_display () |
int fs_display | ( | ) |
Definition at line 324 of file init.c.
References file_system::block_size, file_system::blocks_count, file_system::blocks_per_group, device_name, fs, file_system::groups_count, file_system::inode_table_size, file_system::inodes_count, file_system::inodes_per_block, file_system::inodes_per_group, isb, file_system::root_inode_offset, and get_ext_super_block::sb.
Referenced by main().
int init | ( | ) |
Definition at line 14 of file init.c.
References device_name, fs, init_files(), search4fs(), search4group_desc(), search4super_block(), set_file_system(), and file_system::super_block_offset.
Referenced by main().
Here is the call graph for this function:
int init_files | ( | ) |
Definition at line 155 of file init.c.
References DIND_INFO_FILE, DIR_INFO_FILE, FILE_INFO_FILE, INSTALL_DIR1, INSTALL_DIR2, INSTALL_DIR3, INSTALL_DIR4, SAMPLE_DATA_FILE, and SIND_INFO_FILE.
Referenced by init().
int search4fs | ( | ) |
int search4group_desc | ( | ) |
Definition at line 143 of file init.c.
References get_ext_group_desc::buffer, CHECK, fd, file_system::first_group_desc, fs, GROUP_DESC_SIZE, and igd.
Referenced by init().
int search4super_block | ( | ) |
Definition at line 89 of file init.c.
References ACCESS, get_ext_super_block::buffer, DEFAULT_OFFSET_OF_SUPER_BLOCK, device_name, ERROR, fd, fs, isb, get_ext_super_block::sb, file_system::super_block_offset, and SUPER_BLOCK_SIZE.
Referenced by init().
void set_file_system | ( | ) |
Definition at line 120 of file init.c.
References file_system::block_size, file_system::blocks_count, file_system::blocks_per_group, file_system::first_data_block, file_system::first_group_desc, fs, file_system::groups_count, INODE_SIZE, file_system::inode_table_size, file_system::inodes_count, file_system::inodes_per_block, file_system::inodes_per_group, isb, and get_ext_super_block::sb.
Referenced by init().