Lines Matching refs:group_num
28 long group_num,group_offset,entry_num,block_num,first_entry,last_entry; in type_ext2_inode___prev() local
41 group_num=inode_offset_to_group_num (device_offset); in type_ext2_inode___prev()
42 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc); in type_ext2_inode___prev()
75 long group_num,group_offset,entry_num,block_num,first_entry,last_entry; in type_ext2_inode___next() local
89 group_num=inode_offset_to_group_num (device_offset); in type_ext2_inode___next()
90 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc); in type_ext2_inode___next()
126 long group_num,group_offset,entry_num,block_num,first_entry,last_entry,inode_num; in type_ext2_inode___show() local
131 group_num=inode_offset_to_group_num (device_offset); in type_ext2_inode___show()
132 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc); in type_ext2_inode___show()
138 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1; in type_ext2_inode___show()
213 ,inode_num,file_system_info.super_block.s_inodes_count,entry_num,last_entry,group_num); in type_ext2_inode___show()
287 long group_num,group_offset,entry_num,block_num,wanted_entry; in type_ext2_inode___entry() local
297 group_num=inode_offset_to_group_num (device_offset); in type_ext2_inode___entry()
298 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc); in type_ext2_inode___entry()
320 long group_num,group_offset; in type_ext2_inode___group() local
322 group_num=inode_offset_to_group_num (device_offset); in type_ext2_inode___group()
323 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc); in type_ext2_inode___group()
375 long block_num,group_offset,group_num; in inode_offset_to_group_num() local
380 group_num=(group_offset-file_system_info.first_group_desc_offset)/sizeof (struct ext2_group_desc); in inode_offset_to_group_num()
382 while (!found && group_num>=0 && group_num<file_system_info.groups_count) { in inode_offset_to_group_num()
388 group_num=(group_offset-file_system_info.first_group_desc_offset)/sizeof (struct ext2_group_desc); in inode_offset_to_group_num()
394 return (group_num); in inode_offset_to_group_num()
402 long group_num,group_offset,entry_num,block_num,first_entry,last_entry,inode_num; in inode_offset_to_inode_num() local
407 group_num=inode_offset_to_group_num (inode_offset); in inode_offset_to_inode_num()
408 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc); in inode_offset_to_inode_num()
414 inode_num=group_num*file_system_info.super_block.s_inodes_per_group+1; in inode_offset_to_inode_num()
423 long group_num,group_offset,inode_offset,inode_entry; in inode_num_to_inode_offset() local
428 group_num=inode_num/file_system_info.super_block.s_inodes_per_group; in inode_num_to_inode_offset()
430 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc); in inode_num_to_inode_offset()