Lines Matching refs:entry_num
42 unsigned long entry_num; in type_ext2_block_bitmap___entry() local
54 entry_num=atol (buffer); in type_ext2_block_bitmap___entry()
57 …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()
65 block_bitmap_info.entry_num=entry_num; /* If it is, just change entry_num and */ in type_ext2_block_bitmap___entry()
87 sprintf (buffer,"entry %ld",block_bitmap_info.entry_num+entry_offset); in type_ext2_block_bitmap___next()
103 sprintf (buffer,"entry %ld",block_bitmap_info.entry_num-entry_offset); in type_ext2_block_bitmap___prev()
118 long entry_num,num=1; in type_ext2_block_bitmap___allocate() local
127 entry_num=block_bitmap_info.entry_num; in type_ext2_block_bitmap___allocate()
129 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) { in type_ext2_block_bitmap___allocate()
135 allocate_block (entry_num); /* for each block */ in type_ext2_block_bitmap___allocate()
136 num--;entry_num++; in type_ext2_block_bitmap___allocate()
147 long entry_num,num=1; in type_ext2_block_bitmap___deallocate() local
156 entry_num=block_bitmap_info.entry_num; in type_ext2_block_bitmap___deallocate()
157 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) { in type_ext2_block_bitmap___deallocate()
163 deallocate_block (entry_num); in type_ext2_block_bitmap___deallocate()
164 num--;entry_num++; in type_ext2_block_bitmap___deallocate()
171 void allocate_block (long entry_num) in allocate_block() argument
179 byte_offset=entry_num/8; /* Find the correct byte - entry_num/8 */ in allocate_block()
181 for (j=0;j<entry_num%8;j++) in allocate_block()
186 void deallocate_block (long entry_num) in deallocate_block() argument
194 byte_offset=entry_num/8; in deallocate_block()
195 for (j=0;j<entry_num%8;j++) in deallocate_block()
214 unsigned long block_num,entry_num; in type_ext2_block_bitmap___show() local
220 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()
222 if (entry_num==block_bitmap_info.entry_num) { /* Highlight the current entry */ in type_ext2_block_bitmap___show()
232 if (entry_num==block_bitmap_info.entry_num) in type_ext2_block_bitmap___show()
235 entry_num++; /* Pass to the next entry */ in type_ext2_block_bitmap___show()
252 …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()
256 ptr=type_data.u.buffer+block_bitmap_info.entry_num/8; in type_ext2_block_bitmap___show()
258 for (i=block_bitmap_info.entry_num % 8;i>0;i--) in type_ext2_block_bitmap___show()