Home
last modified time | relevance | path

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

/external/e2fsprogs/ext2ed/
Dfile_com.c506 long file_block_to_global_block (long file_block,struct struct_file_info *file_info_ptr) in file_block_to_global_block() argument
515 if (file_block <= last_direct) { in file_block_to_global_block()
517 return (file_info_ptr->inode_ptr->i_block [file_block]); in file_block_to_global_block()
520 if (file_block <= last_indirect) { in file_block_to_global_block()
522 file_block=file_block-last_direct-1; in file_block_to_global_block()
523 return (return_indirect (file_info_ptr->inode_ptr->i_block [EXT2_IND_BLOCK],file_block)); in file_block_to_global_block()
526 if (file_block <= last_dindirect) { in file_block_to_global_block()
528 file_block=file_block-last_indirect-1; in file_block_to_global_block()
529 return (return_dindirect (file_info_ptr->inode_ptr->i_block [EXT2_DIND_BLOCK],file_block)); in file_block_to_global_block()
533 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);