Searched refs:file_block (Results 1 - 4 of 4) sorted by relevance

/external/e2fsprogs/ext2ed/
H A Dfile_com.c506 long file_block_to_global_block (long file_block,struct struct_file_info *file_info_ptr) argument
515 if (file_block <= last_direct) {
517 return (file_info_ptr->inode_ptr->i_block [file_block]);
520 if (file_block <= last_indirect) {
522 file_block=file_block-last_direct-1;
523 return (return_indirect (file_info_ptr->inode_ptr->i_block [EXT2_IND_BLOCK],file_block));
526 if (file_block <= last_dindirect) {
528 file_block=file_block
[all...]
H A Dext2ed.h332 extern long file_block_to_global_block (long file_block,struct struct_file_info *file_info_ptr);
/external/grub/stage2/
H A Dfsys_ffs.c99 block_map (int file_block) argument
103 if (file_block < NDADDR)
104 return (INODE->i_db[file_block]);
113 offset = ((file_block - NDADDR) % NINDIR (SUPERBLOCK));
139 return (((int *) MAPBUF)[((file_block - NDADDR) % NINDIR (SUPERBLOCK))
H A Dfsys_ufs2.c123 block_map (int file_block) argument
127 if (file_block < NDADDR)
128 return (INODE_UFS2->di_db[file_block]);
138 offset = ((file_block - NDADDR) % NINDIR (SUPERBLOCK));
164 return (((grub_int64_t *) MAPBUF)[((file_block - NDADDR) % NINDIR (SUPERBLOCK))

Completed in 73 milliseconds