/external/e2fsprogs/ext2ed/ |
blockbitmap_com.c | 36 This function changes the current entry in the bitmap. It just changes the entry_num variable in block_bitmap_info 42 unsigned long entry_num; local 54 entry_num=atol (buffer); 57 if (entry_num >= file_system_info.super_block.s_blocks_per_group) { /* Check if it is a valid entry number */ 65 block_bitmap_info.entry_num=entry_num; /* If it is, just change entry_num and */ 87 sprintf (buffer,"entry %ld",block_bitmap_info.entry_num+entry_offset); 103 sprintf (buffer,"entry %ld",block_bitmap_info.entry_num-entry_offset); 118 long entry_num,num=1 local 147 long entry_num,num=1; local 214 unsigned long block_num,entry_num; local [all...] |
inodebitmap_com.c | 29 unsigned long entry_num; local 38 entry_num=atol (buffer); 40 if (entry_num >= file_system_info.super_block.s_inodes_per_group) { 44 inode_bitmap_info.entry_num=entry_num; 60 sprintf (buffer,"entry %ld",inode_bitmap_info.entry_num+entry_offset); 76 sprintf (buffer,"entry %ld",inode_bitmap_info.entry_num-entry_offset); 83 long entry_num,num=1; local 92 entry_num=inode_bitmap_info.entry_num; 109 long entry_num,num=1; local 164 unsigned long inode_num,entry_num; local [all...] |
inode_com.c | 28 long group_num,group_offset,entry_num,block_num,first_entry,last_entry; local 46 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); 51 if (entry_num-mult+1>0) { 53 entry_num-=mult; 63 if (entry_num==0) { 75 long group_num,group_offset,entry_num,block_num,first_entry,last_entry; local 94 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode); 99 if (entry_num+mult-1<last_entry) { 101 entry_num+=mult; 111 if (entry_num==last_entry) 126 long group_num,group_offset,entry_num,block_num,first_entry,last_entry,inode_num; local 287 long group_num,group_offset,entry_num,block_num,wanted_entry; local 402 long group_num,group_offset,entry_num,block_num,first_entry,last_entry,inode_num; local [all...] |
dir_com.c | 548 long entry_num; local 561 entry_num=remember_lifo.entries_count++; 562 if (entry_num>REMEMBER_COUNT-1) { 563 entry_num=0; 576 remember_lifo.offset [entry_num]=device_offset; 577 remember_lifo.type [entry_num]=descriptor_ptr; 578 strcpy (remember_lifo.name [entry_num],buffer);
|
file_com.c | 400 long entry_num; local 413 entry_num=remember_lifo.entries_count++; 414 if (entry_num>REMEMBER_COUNT-1) { 415 entry_num=0; 428 remember_lifo.offset [entry_num]=device_offset; 429 remember_lifo.type [entry_num]=descriptor_ptr; 430 strcpy (remember_lifo.name [entry_num],buffer);
|
general_com.c | 774 long entry_num; local 791 entry_num=remember_lifo.entries_count++; 792 if (entry_num>REMEMBER_COUNT-1) { 793 entry_num=0; 797 remember_lifo.offset [entry_num]=device_offset; 798 remember_lifo.type [entry_num]=current_type; 799 strcpy (remember_lifo.name [entry_num],buffer); 813 long entry_num; local 830 for (entry_num=remember_lifo.entries_count-1;entry_num>=0;entry_num--) [all...] |
ext2ed.h | 162 unsigned long entry_num; member in struct:struct_block_bitmap_info 167 unsigned long entry_num; member in struct:struct_inode_bitmap_info 412 void allocate_block (long entry_num); 413 void deallocate_block (long entry_num); 423 void allocate_inode (long entry_num); 424 void deallocate_inode (long entry_num);
|