Searched refs:entry_num (Results 1 – 8 of 8) sorted by relevance
/external/e2fsprogs/ext2ed/ |
D | inodebitmap_com.c | 29 unsigned long entry_num; in type_ext2_inode_bitmap___entry() local 38 entry_num=atol (buffer); in type_ext2_inode_bitmap___entry() 40 if (entry_num >= file_system_info.super_block.s_inodes_per_group) { in type_ext2_inode_bitmap___entry() 44 inode_bitmap_info.entry_num=entry_num; in type_ext2_inode_bitmap___entry() 60 sprintf (buffer,"entry %ld",inode_bitmap_info.entry_num+entry_offset); in type_ext2_inode_bitmap___next() 76 sprintf (buffer,"entry %ld",inode_bitmap_info.entry_num-entry_offset); in type_ext2_inode_bitmap___prev() 83 long entry_num,num=1; in type_ext2_inode_bitmap___allocate() local 92 entry_num=inode_bitmap_info.entry_num; in type_ext2_inode_bitmap___allocate() 93 if (num > file_system_info.super_block.s_inodes_per_group-entry_num) { in type_ext2_inode_bitmap___allocate() 99 allocate_inode (entry_num); in type_ext2_inode_bitmap___allocate() [all …]
|
D | blockbitmap_com.c | 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() [all …]
|
D | inode_com.c | 28 long group_num,group_offset,entry_num,block_num,first_entry,last_entry; in type_ext2_inode___prev() local 46 …entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inod… in type_ext2_inode___prev() 51 if (entry_num-mult+1>0) { in type_ext2_inode___prev() 53 entry_num-=mult; in type_ext2_inode___prev() 63 if (entry_num==0) { 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 94 …entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inod… in type_ext2_inode___next() 99 if (entry_num+mult-1<last_entry) { in type_ext2_inode___next() 101 entry_num+=mult; in type_ext2_inode___next() 111 if (entry_num==last_entry) { in type_ext2_inode___next() [all …]
|
D | general_com.c | 774 long entry_num; in remember() local 791 entry_num=remember_lifo.entries_count++; in remember() 792 if (entry_num>REMEMBER_COUNT-1) { in remember() 793 entry_num=0; in remember() 797 remember_lifo.offset [entry_num]=device_offset; in remember() 798 remember_lifo.type [entry_num]=current_type; in remember() 799 strcpy (remember_lifo.name [entry_num],buffer); in remember() 813 long entry_num; in recall() local 830 for (entry_num=remember_lifo.entries_count-1;entry_num>=0;entry_num--) { in recall() 831 if (strcmp (remember_lifo.name [entry_num],buffer)==0) in recall() [all …]
|
D | ext2ed.h | 158 unsigned long entry_num; member 163 unsigned long entry_num; member 408 void allocate_block (long entry_num); 409 void deallocate_block (long entry_num); 419 void allocate_inode (long entry_num); 420 void deallocate_inode (long entry_num);
|
D | dir_com.c | 548 long entry_num; in type_dir___remember() local 561 entry_num=remember_lifo.entries_count++; in type_dir___remember() 562 if (entry_num>REMEMBER_COUNT-1) { in type_dir___remember() 563 entry_num=0; in type_dir___remember() 576 remember_lifo.offset [entry_num]=device_offset; in type_dir___remember() 577 remember_lifo.type [entry_num]=descriptor_ptr; in type_dir___remember() 578 strcpy (remember_lifo.name [entry_num],buffer); in type_dir___remember()
|
D | file_com.c | 400 long entry_num; in type_file___remember() local 413 entry_num=remember_lifo.entries_count++; in type_file___remember() 414 if (entry_num>REMEMBER_COUNT-1) { in type_file___remember() 415 entry_num=0; in type_file___remember() 428 remember_lifo.offset [entry_num]=device_offset; in type_file___remember() 429 remember_lifo.type [entry_num]=descriptor_ptr; in type_file___remember() 430 strcpy (remember_lifo.name [entry_num],buffer); in type_file___remember()
|
D | group_com.c | 151 block_bitmap_info.entry_num=0; in type_ext2_group_desc___blockbitmap() 165 inode_bitmap_info.entry_num=0; in type_ext2_group_desc___inodebitmap()
|