Lines Matching refs:block_buffer
28 static unsigned char block_buffer[DEFAULT_SECTOR_SIZE]; variable
141 ulong res = blk_dread(desc, i, 1, (ulong *)block_buffer); in get_rdisk()
144 struct rigid_disk_block *trdb = (struct rigid_disk_block *)block_buffer; in get_rdisk()
148 if (sum_block((struct block_header *)block_buffer) == 0) in get_rdisk()
183 ulong res = blk_dread(desc, i, 1, (ulong *)block_buffer); in get_bootcode()
186 struct bootcode_block *boot = (struct bootcode_block *)block_buffer; in get_bootcode()
190 if (sum_block((struct block_header *)block_buffer) == 0) in get_bootcode()
259 ulong res = blk_dread(desc, block, 1, (ulong *)block_buffer); in find_partition()
262 p = (struct partition_block *)block_buffer; in find_partition()
285 return (struct partition_block *)block_buffer; in find_partition()
354 res = blk_dread(desc, block, 1, (ulong *)block_buffer); in part_print_amiga()
357 p = (struct partition_block *)block_buffer; in part_print_amiga()