Home | History | Annotate | Download | only in ext2ed

Lines Matching full:file_system_info

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;
187 file_info.file_offset=file_info.block_num*file_system_info.block_size;
189 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset);
217 file_info.global_block_offset=file_info.global_block_num*file_system_info.block_size;
218 file_info.file_offset=file_info.block_num*file_system_info.block_size;
220 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset);
265 for (l=0;l<file_system_info.block_size/16;l++) {
329 last_offset=file_system_info.block_size-1;
470 if (file_info.offset_in_block==file_system_info.block_size) {
486 if (file_info.offset_in_block==file_system_info.block_size) {
502 low_write (file_info.buffer,file_system_info.block_size,file_info.global_block_offset);
512 last_indirect=last_direct+file_system_info.block_size/4;
513 last_dindirect=last_indirect+(file_system_info.block_size/4)*(file_system_info.block_size/4);
542 low_read ((char *) block_table,file_system_info.block_size,table_block*file_system_info.block_size);
551 f_indirect=block_num/(file_system_info.block_size/4);
553 return (return_indirect (f_indirect,block_num%(file_system_info.block_size/4)));
561 s_indirect=block_num/((file_system_info.block_size/4)*(file_system_info.block_size/4));
563 return (return_dindirect (s_indirect,block_num%((file_system_info.block_size/4)*(file_system_info.block_size/4))));