Home
last modified time | relevance | path

Searched refs:file_block (Results 1 – 2 of 2) sorted by relevance

/external/e2fsprogs/ext2ed/
Dfile_com.c507 long file_block_to_global_block (long file_block,struct struct_file_info *file_info_ptr) in file_block_to_global_block() argument
516 if (file_block <= last_direct) { in file_block_to_global_block()
518 return (file_info_ptr->inode_ptr->i_block [file_block]); in file_block_to_global_block()
521 if (file_block <= last_indirect) { in file_block_to_global_block()
523 file_block=file_block-last_direct-1; in file_block_to_global_block()
524 return (return_indirect (file_info_ptr->inode_ptr->i_block [EXT2_IND_BLOCK],file_block)); in file_block_to_global_block()
527 if (file_block <= last_dindirect) { in file_block_to_global_block()
529 file_block=file_block-last_indirect-1; in file_block_to_global_block()
530 return (return_dindirect (file_info_ptr->inode_ptr->i_block [EXT2_DIND_BLOCK],file_block)); in file_block_to_global_block()
534 file_block=file_block-last_dindirect-1; in file_block_to_global_block()
[all …]
Dext2ed.h328 extern long file_block_to_global_block (long file_block,struct struct_file_info *file_info_ptr);