Lines Matching refs:entry_num
30 unsigned long entry_num; in type_ext2_inode_bitmap___entry() local
39 entry_num=atol (buffer); in type_ext2_inode_bitmap___entry()
41 if (entry_num >= file_system_info.super_block.s_inodes_per_group) { in type_ext2_inode_bitmap___entry()
45 inode_bitmap_info.entry_num=entry_num; in type_ext2_inode_bitmap___entry()
61 sprintf (buffer,"entry %ld",inode_bitmap_info.entry_num+entry_offset); in type_ext2_inode_bitmap___next()
77 sprintf (buffer,"entry %ld",inode_bitmap_info.entry_num-entry_offset); in type_ext2_inode_bitmap___prev()
84 long entry_num,num=1; in type_ext2_inode_bitmap___allocate() local
93 entry_num=inode_bitmap_info.entry_num; in type_ext2_inode_bitmap___allocate()
94 if (num > file_system_info.super_block.s_inodes_per_group-entry_num) { in type_ext2_inode_bitmap___allocate()
100 allocate_inode (entry_num); in type_ext2_inode_bitmap___allocate()
101 num--;entry_num++; in type_ext2_inode_bitmap___allocate()
110 long entry_num,num=1; in type_ext2_inode_bitmap___deallocate() local
119 entry_num=inode_bitmap_info.entry_num; in type_ext2_inode_bitmap___deallocate()
120 if (num > file_system_info.super_block.s_inodes_per_group-entry_num) { in type_ext2_inode_bitmap___deallocate()
126 deallocate_inode (entry_num); in type_ext2_inode_bitmap___deallocate()
127 num--;entry_num++; in type_ext2_inode_bitmap___deallocate()
134 void allocate_inode (long entry_num) in allocate_inode() argument
140 byte_offset=entry_num/8; in allocate_inode()
141 for (j=0;j<entry_num%8;j++) in allocate_inode()
146 void deallocate_inode (long entry_num) in deallocate_inode() argument
152 byte_offset=entry_num/8; in deallocate_inode()
153 for (j=0;j<entry_num%8;j++) in deallocate_inode()
165 unsigned long inode_num,entry_num; in type_ext2_inode_bitmap___show() local
171 for (i=0,entry_num=0;i<file_system_info.super_block.s_inodes_per_group/8;i++,ptr++) { in type_ext2_inode_bitmap___show()
173 if (entry_num==inode_bitmap_info.entry_num) { in type_ext2_inode_bitmap___show()
183 if (entry_num==inode_bitmap_info.entry_num) in type_ext2_inode_bitmap___show()
186 entry_num++; in type_ext2_inode_bitmap___show()
204 …inode_num=1+inode_bitmap_info.entry_num+inode_bitmap_info.group_num*file_system_info.super_block.s… in type_ext2_inode_bitmap___show()
206 ptr=type_data.u.buffer+inode_bitmap_info.entry_num/8; in type_ext2_inode_bitmap___show()
208 for (i=inode_bitmap_info.entry_num % 8;i>0;i--) in type_ext2_inode_bitmap___show()