Lines Matching full:file_system_info
39 block_num=device_offset/file_system_info.block_size;
42 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc);
46 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode);
48 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1;
87 block_num=device_offset/file_system_info.block_size;
90 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc);
94 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode);
96 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1;
129 block_num=device_offset/file_system_info.block_size;
132 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc);
136 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode);
137 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1;
138 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1;
213 ,inode_num,file_system_info.super_block.s_inodes_count,entry_num,last_entry,group_num);
295 block_num=device_offset/file_system_info.block_size;
298 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc);
302 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode);
323 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc);
377 block_num=inode_offset/file_system_info.block_size;
379 group_offset=file_system_info.first_group_desc_offset;
380 group_num=(group_offset-file_system_info.first_group_desc_offset)/sizeof (struct ext2_group_desc);
382 while (!found && group_num>=0 && group_num<file_system_info.groups_count) {
384 if (block_num>=desc.bg_inode_table && block_num<desc.bg_inode_table+file_system_info.blocks_per_group)
388 group_num=(group_offset-file_system_info.first_group_desc_offset)/sizeof (struct ext2_group_desc);
405 block_num=inode_offset/file_system_info.block_size;
408 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc);
412 entry_num=(inode_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode);
413 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1;
414 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1;
428 group_num=inode_num/file_system_info.super_block.s_inodes_per_group;
429 inode_entry=inode_num%file_system_info.super_block.s_inodes_per_group;
430 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc);
433 inode_offset=desc.bg_inode_table*file_system_info.block_size+inode_entry*sizeof (struct ext2_inode);