Lines Matching refs:file_system_info
35 file_info.global_block_offset=ptr->i_block [0]*file_system_info.block_size; in init_file_info()
37 file_info.blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size; in init_file_info()
45 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); in init_file_info()
86 file_info.global_block_offset=file_info.global_block_num*file_system_info.block_size; in type_file___nextblock()
87 file_info.file_offset=file_info.block_num*file_system_info.block_size; in type_file___nextblock()
89 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); in type_file___nextblock()
107 if (file_info.offset_in_block+offset < file_system_info.block_size) { in type_file___next()
134 if (offset < file_system_info.block_size) { in type_file___offset()
187 file_info.global_block_offset=file_info.global_block_num*file_system_info.block_size; in type_file___prevblock()
188 file_info.file_offset=file_info.block_num*file_system_info.block_size; in type_file___prevblock()
190 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); in type_file___prevblock()
218 file_info.global_block_offset=file_info.global_block_num*file_system_info.block_size; in type_file___block()
219 file_info.file_offset=file_info.block_num*file_system_info.block_size; in type_file___block()
221 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); in type_file___block()
266 for (l=0;l<file_system_info.block_size/16;l++) { in file_show_hex()
330 last_offset=file_system_info.block_size-1; in file_show_text()
471 if (file_info.offset_in_block==file_system_info.block_size) { in type_file___set()
487 if (file_info.offset_in_block==file_system_info.block_size) { in type_file___set()
503 low_write (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); in type_file___writedata()
513 last_indirect=last_direct+file_system_info.block_size/4; in file_block_to_global_block()
514 last_dindirect=last_indirect+(file_system_info.block_size/4)*(file_system_info.block_size/4); in file_block_to_global_block()
543 …low_read ((char *) block_table,file_system_info.block_size,table_block*file_system_info.block_size… in return_indirect()
552 f_indirect=block_num/(file_system_info.block_size/4); in return_dindirect()
554 return (return_indirect (f_indirect,block_num%(file_system_info.block_size/4))); in return_dindirect()
562 s_indirect=block_num/((file_system_info.block_size/4)*(file_system_info.block_size/4)); in return_tindirect()
564 …return (return_dindirect (s_indirect,block_num%((file_system_info.block_size/4)*(file_system_info.… in return_tindirect()