src/searchnupdate.c File Reference

#include "giis.h"

Include dependency graph for searchnupdate.c:

Go to the source code of this file.

Functions

int search4dir ()
int update_dir_info_file (int level_count)
int get_parent_inode_flag (unsigned long parent)
int search4sequence12 ()
int search4sequence13 ()
int avoid_dups ()
int call2remove (int record_no)
int check4file_dups (unsigned long parent)
int check4dir_dups (unsigned long parent)
int dir_depth (unsigned long inode)
int get_sample_data ()
int check4samplefile_dups (unsigned long temp_inode_number)


Function Documentation

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  record_no  ) 

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  parent  ) 

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  parent  ) 

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  temp_inode_number  ) 

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  inode  ) 

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 get_parent_inode_flag ( unsigned long  parent  ) 

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_sample_file_data::buffer, u_file_recover_info::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_sample_file_data::info, u_file_recover_info::info, u_sample_file_data::s_sample_file_data::inode_number, u_file_recover_info::s_file_recover_info::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 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, u_dir_recover_info::s_dir_recover_info::inode_number, file_system::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 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 update_dir_info_file ( int  level_count  ) 

Definition at line 105 of file searchnupdate.c.

References u_dir_recover_info::buffer, CHECK, DIR_INFO_FILE, get_parent_inode_flag(), giis_d, GIIS_DSIZE, u_dir_recover_info::info, u_dir_recover_info::s_dir_recover_info::parent_inode_number, and u_dir_recover_info::s_dir_recover_info::search_flag.

Here is the call graph for this function:


Generated on Wed Jul 25 20:43:45 2007 for giis by  doxygen 1.5.1