HomeSort by relevance Sort by last modified time
    Searched full:file_system_info (Results 1 - 15 of 15) sorted by null

  /external/e2fsprogs/ext2ed/
inode_com.c 39 block_num=device_offset/file_system_info.block_size;
42 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc);
46 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode);
48 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1;
87 block_num=device_offset/file_system_info.block_size;
90 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc);
94 entry_num=(device_offset-desc.bg_inode_table*file_system_info.block_size)/sizeof (struct ext2_inode);
96 first_entry=0;last_entry=file_system_info.super_block.s_inodes_per_group-1;
129 block_num=device_offset/file_system_info.block_size;
132 group_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc)
    [all...]
group_com.c 67 if (group_num < 0 || group_num >= file_system_info.groups_count) {
71 device_offset=file_system_info.first_group_desc_offset+group_num*sizeof (struct ext2_group_desc);
93 offset=file_system_info.first_group_desc_offset+copy_num*file_system_info.super_block.s_blocks_per_group*file_system_info.block_size;
95 if (offset > file_system_info.file_system_size) {
112 temp=(device_offset-file_system_info.first_group_desc_offset) % (file_system_info.super_block.s_blocks_per_group*file_system_info.block_size);
118 wprintw (show_win,"Group %ld of %ld ",group_num,file_system_info.groups_count-1)
    [all...]
file_com.c 34 file_info.global_block_offset=ptr->i_block [0]*file_system_info.block_size;
36 file_info.blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size;
44 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset);
85 file_info.global_block_offset=file_info.global_block_num*file_system_info.block_size;
86 file_info.file_offset=file_info.block_num*file_system_info.block_size;
88 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset);
106 if (file_info.offset_in_block+offset < file_system_info.block_size) {
133 if (offset < file_system_info.block_size) {
186 file_info.global_block_offset=file_info.global_block_num*file_system_info.block_size
    [all...]
super_com.c 133 offset=file_system_info.super_block_offset+copy_num*file_system_info.no_blocks_in_group*file_system_info.block_size;
135 if (offset > file_system_info.file_system_size) {
init.c 379 file_system_info.super_block_offset=1024;
380 file_system_info.file_system_size=DefaultTotalBlocks*DefaultBlockSize;
382 low_read ((char *) &file_system_info.super_block,sizeof (struct ext2_super_block),file_system_info.super_block_offset);
384 sb=&file_system_info.super_block;
413 file_system_info.block_size=EXT2_MIN_BLOCK_SIZE << sb->s_log_block_size;
414 if (file_system_info.block_size == EXT2_MIN_BLOCK_SIZE)
415 file_system_info.first_group_desc_offset=2*EXT2_MIN_BLOCK_SIZE;
417 file_system_info.first_group_desc_offset=file_system_info.block_size
    [all...]
inodebitmap_com.c 40 if (entry_num >= file_system_info.super_block.s_inodes_per_group) {
93 if (num > file_system_info.super_block.s_inodes_per_group-entry_num) {
119 if (num > file_system_info.super_block.s_inodes_per_group-entry_num) {
170 for (i=0,entry_num=0;i<file_system_info.super_block.s_inodes_per_group/8;i++,ptr++) {
203 inode_num=1+inode_bitmap_info.entry_num+inode_bitmap_info.group_num*file_system_info.super_block.s_inodes_per_group;
blockbitmap_com.c 57 if (entry_num >= file_system_info.super_block.s_blocks_per_group) { /* Check if it is a valid entry number */
129 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) {
157 if (num > file_system_info.super_block.s_blocks_per_group-entry_num) {
220 for (i=0,entry_num=0;i<file_system_info.super_block.s_blocks_per_group/8;i++,ptr++) {
252 block_num=block_bitmap_info.entry_num+block_bitmap_info.group_num*file_system_info.super_block.s_blocks_per_group;
253 block_num+=file_system_info.super_block.s_first_data_block;
ext2_com.c 38 sprintf (buffer,"setoffset %ld",file_system_info.super_block_offset);dispatch (buffer);
94 sprintf (buffer,"setoffset %ld",file_system_info.first_group_desc_offset);dispatch (buffer);
dir_com.c 61 info_ptr->global_block_offset=ptr->i_block [0]*file_system_info.block_size;
66 info_ptr->blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size;
105 low_read (info.buffer,file_system_info.block_size,info.global_block_offset);
122 next = file_system_info.block_size - info.dir_entry_offset;
128 if (info.dir_entry_offset >= file_system_info.block_size) { /* We crossed a block boundary */
132 info.global_block_offset=info.global_block_num*file_system_info.block_size;
133 info.file_offset=info.block_num*file_system_info.block_size;
137 low_read (info.buffer,file_system_info.block_size,info.global_block_offset);
402 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset)
    [all...]
disk.c 52 if (offset > file_system_info.file_system_size) { /* Check that the offset is within limits */
104 if (offset > file_system_info.file_system_size) {
233 if (low_write (type_data.u.buffer,file_system_info.block_size,device_offset)==0)
win.c 173 block_num=device_offset/file_system_info.block_size;
174 block_offset=device_offset%file_system_info.block_size;
general_com.c 223 mult=file_system_info.block_size;
460 if (type_data.offset_in_block==file_system_info.block_size) {
476 if (type_data.offset_in_block==file_system_info.block_size) {
629 for (l=0;l<file_system_info.block_size/16;l++) {
711 if (type_data.offset_in_block+offset < file_system_info.block_size) {
ext2ed.h 211 extern struct struct_file_system_info file_system_info;
main.c 80 struct struct_file_system_info file_system_info; /* Essential information on the filesystem */ variable in typeref:struct:struct_file_system_info
  /external/e2fsprogs/ext2ed/doc/
ext2ed-design.sgml     [all...]

Completed in 1556 milliseconds