Lines Matching refs:entry_num
43 unsigned long entry_num; in type_ext2_block_bitmap___entry() local
55 entry_num=atol (buffer); in type_ext2_block_bitmap___entry()
58 …if (entry_num >= file_system_info.super_block.s_blocks_per_group) { /* Check if it is a valid entr… in type_ext2_block_bitmap___entry()
66 block_bitmap_info.entry_num=entry_num; /* If it is, just change entry_num and */ in type_ext2_block_bitmap___entry()
88 sprintf (buffer,"entry %ld",block_bitmap_info.entry_num+entry_offset); in type_ext2_block_bitmap___next()
104 sprintf (buffer,"entry %ld",block_bitmap_info.entry_num-entry_offset); in type_ext2_block_bitmap___prev()
119 long entry_num,num=1; in type_ext2_block_bitmap___allocate() local
128 entry_num=block_bitmap_info.entry_num; in type_ext2_block_bitmap___allocate()
130 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) { in type_ext2_block_bitmap___allocate()
136 allocate_block (entry_num); /* for each block */ in type_ext2_block_bitmap___allocate()
137 num--;entry_num++; in type_ext2_block_bitmap___allocate()
148 long entry_num,num=1; in type_ext2_block_bitmap___deallocate() local
157 entry_num=block_bitmap_info.entry_num; in type_ext2_block_bitmap___deallocate()
158 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) { in type_ext2_block_bitmap___deallocate()
164 deallocate_block (entry_num); in type_ext2_block_bitmap___deallocate()
165 num--;entry_num++; in type_ext2_block_bitmap___deallocate()
172 void allocate_block (long entry_num) in allocate_block() argument
180 byte_offset=entry_num/8; /* Find the correct byte - entry_num/8 */ in allocate_block()
182 for (j=0;j<entry_num%8;j++) in allocate_block()
187 void deallocate_block (long entry_num) in deallocate_block() argument
195 byte_offset=entry_num/8; in deallocate_block()
196 for (j=0;j<entry_num%8;j++) in deallocate_block()
215 unsigned long block_num,entry_num; in type_ext2_block_bitmap___show() local
221 for (i=0,entry_num=0;i<file_system_info.super_block.s_blocks_per_group/8;i++,ptr++) { in type_ext2_block_bitmap___show()
223 if (entry_num==block_bitmap_info.entry_num) { /* Highlight the current entry */ in type_ext2_block_bitmap___show()
233 if (entry_num==block_bitmap_info.entry_num) in type_ext2_block_bitmap___show()
236 entry_num++; /* Pass to the next entry */ in type_ext2_block_bitmap___show()
253 …block_num=block_bitmap_info.entry_num+block_bitmap_info.group_num*file_system_info.super_block.s_b… in type_ext2_block_bitmap___show()
257 ptr=type_data.u.buffer+block_bitmap_info.entry_num/8; in type_ext2_block_bitmap___show()
259 for (i=block_bitmap_info.entry_num % 8;i>0;i--) in type_ext2_block_bitmap___show()