#include <sys/stat.h>#include <sys/types.h>#include <fcntl.h>#include <unistd.h>#include <errno.h>#include <pwd.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <linux/ext3_fs.h>Include dependency graph for giis.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| union | get_ext_super_block |
| union | get_ext_group_desc |
| union | get_ext_inode |
| union | get_ext_dir |
| struct | file_system |
| union | u_file_recover_info |
| struct | u_file_recover_info::s_file_recover_info |
| union | u_dir_recover_info |
| struct | u_dir_recover_info::s_dir_recover_info |
| union | u_sample_file_data |
| struct | u_sample_file_data::s_sample_file_data |
Defines | |
| #define | _LARGEFILE64_SOURCE |
| #define | _GNU_SOURCE |
| #define | O_RDONLY 00 |
| #define | O_WRONLY 01 |
| #define | O_RDWR 02 |
| #define | O_CREAT 0100 |
| #define | O_EXCL 0200 |
| #define | O_TRUNC 01000 |
| #define | LEVEL_VALUE 11 |
| #define | INSTALL_DIR1 "/giis" |
| #define | INSTALL_DIR2 "/giis/sys" |
| #define | INSTALL_DIR3 "/giis/got_it" |
| #define | INSTALL_DIR4 "/giis/unrecovered" |
| #define | DIR_INFO_FILE "/giis/sys/dir" |
| #define | FILE_INFO_FILE "/giis/sys/file" |
| #define | SIND_INFO_FILE "/giis/sys/sind" |
| #define | DIND_INFO_FILE "/giis/sys/dind" |
| #define | SAMPLE_DATA_FILE "/giis/sys/sample" |
| #define | DEFAULT_OFFSET_OF_SUPER_BLOCK 1024 |
| #define | ACCESS 0 |
| #define | SUPER_BLOCK_SIZE sizeof(struct ext3_super_block) |
| #define | INODE_SIZE sizeof(struct ext3_inode) |
| #define | GROUP_DESC_SIZE sizeof(struct ext3_group_desc) |
| #define | DIR_SIZE sizeof(struct ext3_dir_entry_2) |
| #define | GIIS_DSIZE sizeof(struct s_dir_recover_info) |
| #define | GIIS_FSIZE sizeof(struct s_file_recover_info) |
| #define | GIIS_SSIZE sizeof(struct s_sample_file_data) |
| #define | ROOT_INODE 2 |
| #define | RANGE 4294967295 |
| #define | CHECK |
| #define | ERROR |
Functions | |
| int | set_content_offset () |
| int | read_dir () |
| int | record_dir (unsigned long) |
| int | record_file (unsigned long) |
| int | show_dir () |
| int | read_show_file (int, int) |
| int | read_dir_info_file () |
| int | read_file_info_file () |
| int | read_sind_info_file () |
| int | read_dind_info_file () |
| int | read_sample_info_file (unsigned long) |
| void | show_data (char[]) |
| int | file_repeated (char[]) |
| int | get_it () |
| int | verify_inode (unsigned long) |
| int | get_it_i_say () |
| int | get_data_from_block (int, int, unsigned long) |
| int | force_giis () |
| int | get_group_desc () |
| int | eye_on_gd () |
| int | search4fs () |
| int | search4super_block () |
| void | set_file_system () |
| int | search4group_desc () |
| int | init () |
| int | init_files () |
| int | fs_display () |
| int | find_inode_offset () |
| int | read_inode () |
| int | show_inode () |
| int | search4dir () |
| int | update_dir_info_file () |
| int | get_parent_inode_flag (unsigned long) |
| int | search4sequence12 () |
| int | search4sequence13 () |
| int | avoid_dups () |
| int | call2remove (int) |
| int | check4file_dups (unsigned long) |
| int | check4dir_dups (unsigned long) |
| int | dir_depth (unsigned long) |
| int | get_sample_data () |
| int | check4samplefile_dups (unsigned long) |
| int | remove_giis () |
Variables | |
| get_ext_super_block | isb |
| get_ext_group_desc | igd |
| get_ext_inode | iin |
| get_ext_dir | ide |
| file_system | fs |
| u_file_recover_info | giis_f |
| u_dir_recover_info | giis_d |
| u_dir_recover_info | giis_dt |
| u_sample_file_data | giis_s |
| unsigned long | idata_block [1024] |
| passwd * | pwfile |
| int | i_round |
| int | hole |
| int | gd |
| char | device_name [15] |
| char | user [25] |
| char | search_file [30] |
| int | dir |
| int | use_uid |
| int | install |
| int | fd |
| int | install_file |
| int | update_file |
| int | update_dir |
| int | entry |
| int | found |
| time_t | result |
| char | date_time [25] |
| unsigned long long | deleted_inode_offset |
| unsigned long | size |
| unsigned long | err_size |
| unsigned long | home_inode |
| unsigned long | root_inode |
| unsigned long | s_offy |
| unsigned long | d_offy |
| int | dir_level |
| int | fileoverwritten |
| int | search_format |
| int | startbyte |
| int | get_version |
| int | repeat |
| #define ACCESS 0 |
| #define CHECK |
Value:
if(i==-1) \ ERROR \
Definition at line 67 of file giis.h.
Referenced by check4dir_dups(), check4file_dups(), check4samplefile_dups(), dir_depth(), eye_on_gd(), file_repeated(), find_inode_offset(), get_group_desc(), get_it(), get_parent_inode_flag(), get_sample_data(), main(), read_dind_info_file(), read_dir(), read_dir_info_file(), read_file_info_file(), read_inode(), read_sample_info_file(), read_sind_info_file(), record_dir(), record_file(), search4dir(), search4fs(), search4group_desc(), and update_dir_info_file().
| #define DEFAULT_OFFSET_OF_SUPER_BLOCK 1024 |
| #define DIND_INFO_FILE "/giis/sys/dind" |
Definition at line 53 of file giis.h.
Referenced by get_it_i_say(), init_files(), read_dind_info_file(), remove_giis(), and search4sequence13().
| #define DIR_INFO_FILE "/giis/sys/dir" |
Definition at line 50 of file giis.h.
Referenced by avoid_dups(), call2remove(), check4dir_dups(), dir_depth(), get_parent_inode_flag(), init_files(), read_dir_info_file(), record_dir(), remove_giis(), search4dir(), and update_dir_info_file().
| #define DIR_SIZE sizeof(struct ext3_dir_entry_2) |
| #define ERROR |
Value:
{ \
perror(""); \
printf("Error Number:%d",errno); \
return -1;\
} \
Definition at line 71 of file giis.h.
Referenced by get_it_i_say(), get_sample_data(), read_show_file(), search4fs(), and search4super_block().
| #define FILE_INFO_FILE "/giis/sys/file" |
Definition at line 51 of file giis.h.
Referenced by check4file_dups(), file_repeated(), force_giis(), get_it(), get_sample_data(), init_files(), read_file_info_file(), record_file(), and remove_giis().
| #define GIIS_DSIZE sizeof(struct s_dir_recover_info) |
Definition at line 61 of file giis.h.
Referenced by avoid_dups(), call2remove(), check4dir_dups(), dir_depth(), get_parent_inode_flag(), read_dir_info_file(), record_dir(), search4dir(), and update_dir_info_file().
| #define GIIS_FSIZE sizeof(struct s_file_recover_info) |
Definition at line 62 of file giis.h.
Referenced by check4file_dups(), file_repeated(), force_giis(), get_it(), get_sample_data(), and read_file_info_file().
| #define GIIS_SSIZE sizeof(struct s_sample_file_data) |
Definition at line 63 of file giis.h.
Referenced by check4samplefile_dups(), get_sample_data(), and read_sample_info_file().
| #define GROUP_DESC_SIZE sizeof(struct ext3_group_desc) |
Definition at line 59 of file giis.h.
Referenced by eye_on_gd(), find_inode_offset(), get_group_desc(), and search4group_desc().
| #define INODE_SIZE sizeof(struct ext3_inode) |
Definition at line 58 of file giis.h.
Referenced by find_inode_offset(), read_inode(), and set_file_system().
| #define INSTALL_DIR1 "/giis" |
| #define INSTALL_DIR2 "/giis/sys" |
| #define INSTALL_DIR3 "/giis/got_it" |
| #define INSTALL_DIR4 "/giis/unrecovered" |
| #define LEVEL_VALUE 11 |
| #define O_CREAT 0100 |
| #define O_RDWR 02 |
| #define O_TRUNC 01000 |
| #define RANGE 4294967295 |
| #define ROOT_INODE 2 |
Definition at line 65 of file giis.h.
Referenced by check4dir_dups(), dir_depth(), find_inode_offset(), and main().
| #define SAMPLE_DATA_FILE "/giis/sys/sample" |
Definition at line 54 of file giis.h.
Referenced by check4samplefile_dups(), get_sample_data(), init_files(), read_sample_info_file(), and remove_giis().
| #define SIND_INFO_FILE "/giis/sys/sind" |
Definition at line 52 of file giis.h.
Referenced by get_it_i_say(), init_files(), read_sind_info_file(), remove_giis(), and search4sequence12().
| #define SUPER_BLOCK_SIZE sizeof(struct ext3_super_block) |
| int avoid_dups | ( | ) |
Definition at line 430 of file searchnupdate.c.
References u_dir_recover_info::buffer, call2remove(), DIR_INFO_FILE, giis_d, GIIS_DSIZE, giis_dt, u_dir_recover_info::info, u_dir_recover_info::s_dir_recover_info::inode_number, and u_dir_recover_info::s_dir_recover_info::search_flag.
Referenced by search4dir().
Here is the call graph for this function:

| int call2remove | ( | int | ) |
Definition at line 504 of file searchnupdate.c.
References u_dir_recover_info::buffer, DIR_INFO_FILE, GIIS_DSIZE, giis_dt, u_dir_recover_info::info, and u_dir_recover_info::s_dir_recover_info::search_flag.
Referenced by avoid_dups().
| int check4dir_dups | ( | unsigned | long | ) |
Definition at line 584 of file searchnupdate.c.
References u_dir_recover_info::buffer, CHECK, get_ext_dir::de, dir_depth(), DIR_INFO_FILE, dir_level, giis_d, GIIS_DSIZE, ide, u_dir_recover_info::info, u_dir_recover_info::s_dir_recover_info::inode_number, LEVEL_VALUE, and ROOT_INODE.
Referenced by record_dir().
Here is the call graph for this function:

| int check4file_dups | ( | unsigned | long | ) |
Definition at line 547 of file searchnupdate.c.
References u_file_recover_info::buffer, CHECK, get_ext_dir::de, FILE_INFO_FILE, u_file_recover_info::s_file_recover_info::file_size, giis_f, GIIS_FSIZE, ide, iin, get_ext_inode::in, u_file_recover_info::info, u_file_recover_info::s_file_recover_info::inode_number, and u_file_recover_info::s_file_recover_info::parent_inode_number.
Referenced by record_file().
| int check4samplefile_dups | ( | unsigned | long | ) |
Definition at line 778 of file searchnupdate.c.
References u_sample_file_data::buffer, CHECK, giis_s, GIIS_SSIZE, u_sample_file_data::info, u_sample_file_data::s_sample_file_data::inode_number, and SAMPLE_DATA_FILE.
Referenced by get_sample_data().
| int dir_depth | ( | unsigned | long | ) |
Definition at line 631 of file searchnupdate.c.
References u_dir_recover_info::buffer, CHECK, dir_depth(), DIR_INFO_FILE, dir_level, giis_d, GIIS_DSIZE, u_dir_recover_info::info, u_dir_recover_info::s_dir_recover_info::inode_number, u_dir_recover_info::s_dir_recover_info::parent_inode_number, and ROOT_INODE.
Referenced by check4dir_dups(), and dir_depth().
Here is the call graph for this function:

| int eye_on_gd | ( | ) |
Definition at line 33 of file group.c.
References file_system::block_bitmap, file_system::block_number, file_system::blocks_per_group, CHECK, file_system::first_group_desc, fs, gd, get_group_desc(), GROUP_DESC_SIZE, file_system::group_number, file_system::group_offset, and file_system::groups_count.
Referenced by get_data_from_block(), and get_sample_data().
Here is the call graph for this function:

| int file_repeated | ( | char | [] | ) |
| int find_inode_offset | ( | ) |
Definition at line 14 of file inode.c.
References file_system::block_size, CHECK, file_system::first_group_desc, fs, get_group_desc(), GROUP_DESC_SIZE, file_system::group_number, file_system::group_offset, file_system::index_number, file_system::inode_number, file_system::inode_offset, INODE_SIZE, file_system::inode_table, file_system::inodes_per_group, ROOT_INODE, and file_system::root_inode_offset.
Referenced by main(), record_file(), search4dir(), and verify_inode().
Here is the call graph for this function:

| int force_giis | ( | ) |
Definition at line 559 of file get_it_i_say.c.
References u_file_recover_info::buffer, d_offy, FILE_INFO_FILE, file_repeated(), get_it_i_say(), get_version, giis_f, GIIS_FSIZE, u_file_recover_info::s_file_recover_info::id_offset, u_file_recover_info::info, u_file_recover_info::s_file_recover_info::is_offset, u_file_recover_info::s_file_recover_info::name, repeat, s_offy, and search_file.
Referenced by get_it().
Here is the call graph for this function:

| 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 get_data_from_block | ( | int | , | |
| int | , | |||
| unsigned | long | |||
| ) |
Definition at line 442 of file get_it_i_say.c.
References file_system::block_bitmap, file_system::block_number, file_system::block_size, file_system::blocks_per_group, file_system::content_offset, err_size, eye_on_gd(), u_file_recover_info::s_file_recover_info::file_size, fileoverwritten, file_system::first_data_block, fs, gd, giis_f, file_system::group_number, u_file_recover_info::info, u_file_recover_info::s_file_recover_info::last_data_block, u_file_recover_info::s_file_recover_info::name, read_show_file(), and size.
Referenced by get_it_i_say().
Here is the call graph for this function:

| int get_group_desc | ( | ) |
Definition at line 14 of file group.c.
References file_system::block_bitmap, get_ext_group_desc::buffer, CHECK, fd, file_system::free_blocks_count, file_system::free_inodes_count, fs, get_ext_group_desc::gd, GROUP_DESC_SIZE, file_system::group_offset, igd, file_system::inode_bitmap, file_system::inode_table, and RANGE.
Referenced by eye_on_gd(), and find_inode_offset().
| int get_it | ( | ) |
Definition at line 17 of file get_it_i_say.c.
References u_file_recover_info::buffer, CHECK, d_offy, fd, FILE_INFO_FILE, force_giis(), giis_f, GIIS_FSIZE, u_file_recover_info::info, u_file_recover_info::s_file_recover_info::inode_number, u_file_recover_info::s_file_recover_info::name, u_file_recover_info::s_file_recover_info::owner, pwfile, s_offy, search_format, use_uid, user, and verify_inode().
Referenced by main().
Here is the call graph for this function:

| int get_it_i_say | ( | ) |
Definition at line 195 of file get_it_i_say.c.
References d_offy, u_file_recover_info::s_file_recover_info::data_block, device_name, u_file_recover_info::s_file_recover_info::dfragment_flag, DIND_INFO_FILE, err_size, ERROR, fd, u_file_recover_info::s_file_recover_info::file_size, fileoverwritten, gd, get_data_from_block(), giis_f, hole, u_file_recover_info::s_file_recover_info::id_offset, u_file_recover_info::info, u_file_recover_info::s_file_recover_info::is_offset, u_file_recover_info::s_file_recover_info::name, O_CREAT, O_RDWR, O_TRUNC, s_offy, u_file_recover_info::s_file_recover_info::sfragment_flag, SIND_INFO_FILE, and size.
Referenced by force_giis().
Here is the call graph for this function:

| int get_parent_inode_flag | ( | unsigned | long | ) |
Definition at line 162 of file searchnupdate.c.
References u_dir_recover_info::buffer, CHECK, DIR_INFO_FILE, giis_d, GIIS_DSIZE, u_dir_recover_info::info, and u_dir_recover_info::s_dir_recover_info::inode_number.
Referenced by update_dir_info_file().
| int get_sample_data | ( | ) |
Definition at line 671 of file searchnupdate.c.
References file_system::block_number, file_system::block_size, file_system::blocks_per_group, u_file_recover_info::buffer, u_sample_file_data::buffer, CHECK, check4samplefile_dups(), file_system::content_offset, u_file_recover_info::s_file_recover_info::data_block, device_name, ERROR, eye_on_gd(), FILE_INFO_FILE, file_system::first_data_block, fs, giis_f, GIIS_FSIZE, giis_s, GIIS_SSIZE, file_system::group_number, u_file_recover_info::info, u_sample_file_data::info, u_file_recover_info::s_file_recover_info::inode_number, u_sample_file_data::s_sample_file_data::inode_number, O_RDWR, SAMPLE_DATA_FILE, and u_sample_file_data::s_sample_file_data::sdata.
Referenced by main(), and search4dir().
Here is the call graph for this function:

| 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 read_dind_info_file | ( | ) |
Definition at line 303 of file file.c.
References CHECK, d_offy, DIND_INFO_FILE, giis_f, u_file_recover_info::s_file_recover_info::id_offset, and u_file_recover_info::info.
Referenced by read_file_info_file().
| int read_dir | ( | ) |
Definition at line 24 of file dir.c.
References get_ext_dir::buffer, CHECK, DIR_SIZE, fd, and ide.
Referenced by main(), and search4dir().
| int read_dir_info_file | ( | ) |
Definition at line 116 of file file.c.
References u_dir_recover_info::buffer, CHECK, DIR_INFO_FILE, fd, giis_d, GIIS_DSIZE, u_dir_recover_info::info, u_dir_recover_info::s_dir_recover_info::inode_number, u_dir_recover_info::s_dir_recover_info::name, u_dir_recover_info::s_dir_recover_info::parent_inode_number, and u_dir_recover_info::s_dir_recover_info::search_flag.
Referenced by main().
| int read_file_info_file | ( | ) |
Definition at line 163 of file file.c.
References u_file_recover_info::buffer, CHECK, d_offy, u_file_recover_info::s_file_recover_info::data_block, u_file_recover_info::s_file_recover_info::date_time, u_file_recover_info::s_file_recover_info::dfragment_flag, fd, u_file_recover_info::s_file_recover_info::file_blocks_count, FILE_INFO_FILE, u_file_recover_info::s_file_recover_info::file_size, giis_f, GIIS_FSIZE, u_file_recover_info::s_file_recover_info::id_offset, u_file_recover_info::info, u_file_recover_info::s_file_recover_info::inode_number, u_file_recover_info::s_file_recover_info::is_offset, u_file_recover_info::s_file_recover_info::last_data_block, u_file_recover_info::s_file_recover_info::mode, u_file_recover_info::s_file_recover_info::name, u_file_recover_info::s_file_recover_info::owner, u_file_recover_info::s_file_recover_info::parent_inode_number, read_dind_info_file(), read_sample_info_file(), read_sind_info_file(), s_offy, u_file_recover_info::s_file_recover_info::search_flag, and u_file_recover_info::s_file_recover_info::sfragment_flag.
Referenced by main().
Here is the call graph for this function:

| int read_inode | ( | ) |
Definition at line 33 of file inode.c.
References get_ext_inode::buffer, CHECK, dir, fd, fs, iin, get_ext_inode::in, file_system::inode_offset, INODE_SIZE, and RANGE.
Referenced by main(), record_file(), search4dir(), and verify_inode().
| int read_sample_info_file | ( | unsigned | long | ) |
Definition at line 336 of file file.c.
References u_sample_file_data::buffer, CHECK, giis_s, GIIS_SSIZE, u_sample_file_data::info, u_sample_file_data::s_sample_file_data::inode_number, SAMPLE_DATA_FILE, u_sample_file_data::s_sample_file_data::sdata, and show_data().
Referenced by read_file_info_file(), and read_show_file().
Here is the call graph for this function:

| int read_show_file | ( | int | , | |
| int | ||||
| ) |
Definition at line 20 of file file.c.
References file_system::block_size, file_system::content_offset, err_size, ERROR, u_file_recover_info::s_file_recover_info::file_size, fileoverwritten, fs, giis_f, giis_s, u_sample_file_data::info, u_file_recover_info::info, u_file_recover_info::s_file_recover_info::inode_number, u_file_recover_info::s_file_recover_info::name, read_sample_info_file(), u_sample_file_data::s_sample_file_data::sdata, show_data(), size, and startbyte.
Referenced by get_data_from_block().
Here is the call graph for this function:

| int read_sind_info_file | ( | ) |
Definition at line 269 of file file.c.
References CHECK, giis_f, u_file_recover_info::info, u_file_recover_info::s_file_recover_info::is_offset, s_offy, and SIND_INFO_FILE.
Referenced by read_file_info_file().
| int record_dir | ( | unsigned | long | ) |
Definition at line 39 of file dir.c.
References u_dir_recover_info::buffer, CHECK, check4dir_dups(), u_dir_recover_info::s_dir_recover_info::date_time, date_time, get_ext_dir::de, DIR_INFO_FILE, entry, found, giis_d, GIIS_DSIZE, ide, u_dir_recover_info::info, u_dir_recover_info::s_dir_recover_info::inode_number, install, u_dir_recover_info::s_dir_recover_info::name, u_dir_recover_info::s_dir_recover_info::parent_inode_number, result, and u_dir_recover_info::s_dir_recover_info::search_flag.
Referenced by show_dir().
Here is the call graph for this function:

| int record_file | ( | unsigned | long | ) |
Definition at line 151 of file dir.c.
References CHECK, check4file_dups(), u_file_recover_info::s_file_recover_info::data_block, u_file_recover_info::s_file_recover_info::date_time, date_time, get_ext_dir::de, u_file_recover_info::s_file_recover_info::dfragment_flag, u_file_recover_info::s_file_recover_info::file_blocks_count, u_file_recover_info::s_file_recover_info::file_flags, FILE_INFO_FILE, u_file_recover_info::s_file_recover_info::file_size, find_inode_offset(), fs, giis_f, u_file_recover_info::s_file_recover_info::id_offset, ide, iin, get_ext_inode::in, u_file_recover_info::info, u_file_recover_info::s_file_recover_info::inode_number, file_system::inode_number, install, u_file_recover_info::s_file_recover_info::is_offset, u_file_recover_info::s_file_recover_info::last_data_block, u_file_recover_info::s_file_recover_info::mode, u_file_recover_info::s_file_recover_info::name, u_file_recover_info::s_file_recover_info::owner, u_file_recover_info::s_file_recover_info::parent_inode_number, read_inode(), result, search4sequence12(), u_file_recover_info::s_file_recover_info::search_flag, and u_file_recover_info::s_file_recover_info::sfragment_flag.
Referenced by show_dir().
Here is the call graph for this function:

| int remove_giis | ( | ) |
Definition at line 17 of file uninit.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 main().
| int search4dir | ( | ) |
Definition at line 21 of file searchnupdate.c.
References avoid_dups(), u_dir_recover_info::buffer, CHECK, dir, DIR_INFO_FILE, find_inode_offset(), fs, get_sample_data(), giis_d, GIIS_DSIZE, u_dir_recover_info::info, file_system::inode_number, u_dir_recover_info::s_dir_recover_info::inode_number, install, install_file, LEVEL_VALUE, read_dir(), read_inode(), search4dir(), u_dir_recover_info::s_dir_recover_info::search_flag, set_content_offset(), show_dir(), update_dir, update_dir_info_file(), and update_file.
Referenced by main(), and search4dir().
Here is the call graph for this function:

| 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 search4sequence12 | ( | ) |
Definition at line 209 of file searchnupdate.c.
References file_system::block_size, u_file_recover_info::s_file_recover_info::data_block, fd, fs, giis_f, hole, idata_block, u_file_recover_info::info, u_file_recover_info::s_file_recover_info::is_offset, u_file_recover_info::s_file_recover_info::last_data_block, u_file_recover_info::s_file_recover_info::sfragment_flag, and SIND_INFO_FILE.
Referenced by record_file().
| int search4sequence13 | ( | ) |
Definition at line 301 of file searchnupdate.c.
References file_system::block_size, u_file_recover_info::s_file_recover_info::data_block, u_file_recover_info::s_file_recover_info::dfragment_flag, DIND_INFO_FILE, fd, fs, giis_f, hole, i_round, u_file_recover_info::s_file_recover_info::id_offset, idata_block, u_file_recover_info::info, u_file_recover_info::s_file_recover_info::last_data_block, and search4sequence13().
Referenced by search4sequence13().
Here is the call graph for this function:

| 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().
| int set_content_offset | ( | ) |
Definition at line 13 of file dir.c.
References file_system::block_number, file_system::block_size, file_system::content_offset, fd, fs, iin, and get_ext_inode::in.
Referenced by main(), and search4dir().
| 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().
| void show_data | ( | char | [] | ) |
| int show_dir | ( | ) |
Definition at line 285 of file dir.c.
References get_ext_dir::buffer, file_system::content_offset, get_ext_dir::de, DIR_SIZE, entry, fd, found, fs, ide, install_file, record_dir(), record_file(), update_dir, and update_file.
Referenced by main(), and search4dir().
Here is the call graph for this function:

| int show_inode | ( | ) |
Definition at line 52 of file inode.c.
References fs, iin, get_ext_inode::in, file_system::inode_number, and file_system::inode_offset.
| int update_dir_info_file | ( | ) |
Referenced by search4dir().
| int verify_inode | ( | unsigned | long | ) |
Definition at line 164 of file get_it_i_say.c.
References deleted_inode_offset, find_inode_offset(), fs, iin, get_ext_inode::in, file_system::inode_number, file_system::inode_offset, and read_inode().
Referenced by get_it().
Here is the call graph for this function:

| unsigned long d_offy |
Definition at line 199 of file giis.h.
Referenced by force_giis(), get_it(), get_it_i_say(), read_dind_info_file(), and read_file_info_file().
| char date_time[25] |
| unsigned long long deleted_inode_offset |
| char device_name[15] |
Definition at line 187 of file giis.h.
Referenced by fs_display(), get_it_i_say(), get_sample_data(), init(), search4fs(), and search4super_block().
| int dir |
| int dir_level |
| int entry |
| unsigned long err_size |
Definition at line 195 of file giis.h.
Referenced by get_data_from_block(), get_it_i_say(), and read_show_file().
| int fd |
Definition at line 188 of file giis.h.
Referenced by file_repeated(), get_group_desc(), get_it(), get_it_i_say(), read_dir(), read_dir_info_file(), read_file_info_file(), read_inode(), search4group_desc(), search4sequence12(), search4sequence13(), search4super_block(), set_content_offset(), and show_dir().
| int fileoverwritten |
Definition at line 201 of file giis.h.
Referenced by get_data_from_block(), get_it_i_say(), and read_show_file().
| int found |
| struct file_system fs |
Referenced by eye_on_gd(), find_inode_offset(), fs_display(), get_data_from_block(), get_group_desc(), get_sample_data(), init(), main(), read_inode(), read_show_file(), record_file(), search4dir(), search4group_desc(), search4sequence12(), search4sequence13(), search4super_block(), set_content_offset(), set_file_system(), show_dir(), show_inode(), and verify_inode().
| int gd |
Definition at line 186 of file giis.h.
Referenced by eye_on_gd(), get_data_from_block(), and get_it_i_say().
| int get_version |
| union u_dir_recover_info giis_d |
Referenced by avoid_dups(), check4dir_dups(), dir_depth(), get_parent_inode_flag(), read_dir_info_file(), record_dir(), search4dir(), and update_dir_info_file().
| union u_dir_recover_info giis_dt |
Referenced by avoid_dups(), and call2remove().
| union u_file_recover_info giis_f |
| union u_sample_file_data giis_s |
Referenced by check4samplefile_dups(), get_sample_data(), read_sample_info_file(), and read_show_file().
| int hole |
Definition at line 186 of file giis.h.
Referenced by get_it_i_say(), search4sequence12(), and search4sequence13().
| unsigned long home_inode |
| int i_round |
| unsigned long idata_block[1024] |
| union get_ext_dir ide |
Referenced by check4dir_dups(), check4file_dups(), read_dir(), record_dir(), record_file(), and show_dir().
| union get_ext_group_desc igd |
Referenced by get_group_desc(), and search4group_desc().
| union get_ext_inode iin |
Referenced by check4file_dups(), read_inode(), record_file(), set_content_offset(), show_inode(), and verify_inode().
| int install |
Definition at line 188 of file giis.h.
Referenced by main(), record_dir(), record_file(), and search4dir().
| int install_file |
| union get_ext_super_block isb |
Referenced by fs_display(), search4super_block(), and set_file_system().
| int repeat |
| time_t result |
| unsigned long root_inode |
| unsigned long s_offy |
Definition at line 198 of file giis.h.
Referenced by force_giis(), get_it(), get_it_i_say(), read_file_info_file(), and read_sind_info_file().
| char search_file[30] |
| int search_format |
| unsigned long size |
Definition at line 195 of file giis.h.
Referenced by get_data_from_block(), get_it_i_say(), and read_show_file().
| int startbyte |
| int update_dir |
| int update_file |
1.5.1