Lines Matching refs:block_size
34 file_info.global_block_offset=ptr->i_block [0]*file_system_info.block_size; in init_file_info()
36 file_info.blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size; in init_file_info()
44 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); in init_file_info()
85 file_info.global_block_offset=file_info.global_block_num*file_system_info.block_size; in type_file___nextblock()
86 file_info.file_offset=file_info.block_num*file_system_info.block_size; in type_file___nextblock()
88 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); in type_file___nextblock()
106 if (file_info.offset_in_block+offset < file_system_info.block_size) { in type_file___next()
133 if (offset < file_system_info.block_size) { in type_file___offset()
186 file_info.global_block_offset=file_info.global_block_num*file_system_info.block_size; in type_file___prevblock()
187 file_info.file_offset=file_info.block_num*file_system_info.block_size; in type_file___prevblock()
189 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); in type_file___prevblock()
217 file_info.global_block_offset=file_info.global_block_num*file_system_info.block_size; in type_file___block()
218 file_info.file_offset=file_info.block_num*file_system_info.block_size; in type_file___block()
220 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); in type_file___block()
265 for (l=0;l<file_system_info.block_size/16;l++) { in file_show_hex()
329 last_offset=file_system_info.block_size-1; in file_show_text()
470 if (file_info.offset_in_block==file_system_info.block_size) { in type_file___set()
486 if (file_info.offset_in_block==file_system_info.block_size) { in type_file___set()
502 low_write (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); in type_file___writedata()
512 last_indirect=last_direct+file_system_info.block_size/4; in file_block_to_global_block()
513 last_dindirect=last_indirect+(file_system_info.block_size/4)*(file_system_info.block_size/4); in file_block_to_global_block()
542 …low_read ((char *) block_table,file_system_info.block_size,table_block*file_system_info.block_size… in return_indirect()
551 f_indirect=block_num/(file_system_info.block_size/4); in return_dindirect()
553 return (return_indirect (f_indirect,block_num%(file_system_info.block_size/4))); in return_dindirect()
561 s_indirect=block_num/((file_system_info.block_size/4)*(file_system_info.block_size/4)); in return_tindirect()
563 …urn_dindirect (s_indirect,block_num%((file_system_info.block_size/4)*(file_system_info.block_size/… in return_tindirect()