Lines Matching refs:file_system_info
40 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___prev()
43 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc); in type_ext2_inode___prev()
47 …entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inod… in type_ext2_inode___prev()
49 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in type_ext2_inode___prev()
88 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___next()
91 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc); in type_ext2_inode___next()
95 …entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inod… in type_ext2_inode___next()
97 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in type_ext2_inode___next()
130 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___show()
133 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc); in type_ext2_inode___show()
137 …entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inod… in type_ext2_inode___show()
138 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in type_ext2_inode___show()
139 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1; in type_ext2_inode___show()
214 ,inode_num,file_system_info.super_block.s_inodes_count,entry_num,last_entry,group_num); in type_ext2_inode___show()
296 block_num=device_offset/file_system_info.block_size; in type_ext2_inode___entry()
299 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc); in type_ext2_inode___entry()
303 …entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inod… in type_ext2_inode___entry()
324 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc); in type_ext2_inode___group()
378 block_num=inode_offset/file_system_info.block_size; in inode_offset_to_group_num()
380 group_offset=file_system_info.first_group_desc_offset; in inode_offset_to_group_num()
381 group_num=(group_offset-file_system_info.first_group_desc_offset)/sizeof (struct ext2_group_desc); in inode_offset_to_group_num()
383 while (!found && group_num>=0 && group_num<file_system_info.groups_count) { in inode_offset_to_group_num()
385 …if (block_num>=desc.bg_inode_table && block_num<desc.bg_inode_table+file_system_info.blocks_per_gr… in inode_offset_to_group_num()
389 group_num=(group_offset-file_system_info.first_group_desc_offset)/sizeof (struct ext2_group_desc); in inode_offset_to_group_num()
406 block_num=inode_offset/file_system_info.block_size; in inode_offset_to_inode_num()
409 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc); in inode_offset_to_inode_num()
413 …entry_num=(inode_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode… in inode_offset_to_inode_num()
414 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1; in inode_offset_to_inode_num()
415 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1; in inode_offset_to_inode_num()
429 group_num=inode_num/file_system_info.super_block.s_inodes_per_group; in inode_num_to_inode_offset()
430 inode_entry=inode_num%file_system_info.super_block.s_inodes_per_group; in inode_num_to_inode_offset()
431 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc); in inode_num_to_inode_offset()
434 …inode_offset=desc.bg_inode_table*file_system_info.block_size+inode_entry*sizeof (struct ext2_inode… in inode_num_to_inode_offset()