Lines Matching refs:block_buffer
31 static unsigned char block_buffer[DEFAULT_SECTOR_SIZE]; variable
144 ulong res = blk_dread(dev_desc, i, 1, (ulong *)block_buffer); in get_rdisk()
147 struct rigid_disk_block *trdb = (struct rigid_disk_block *)block_buffer; in get_rdisk()
151 if (sum_block((struct block_header *)block_buffer) == 0) in get_rdisk()
186 ulong res = blk_dread(dev_desc, i, 1, (ulong *)block_buffer); in get_bootcode()
189 struct bootcode_block *boot = (struct bootcode_block *)block_buffer; in get_bootcode()
193 if (sum_block((struct block_header *)block_buffer) == 0) in get_bootcode()
262 ulong res = blk_dread(dev_desc, block, 1, (ulong *)block_buffer); in find_partition()
265 p = (struct partition_block *)block_buffer; in find_partition()
288 return (struct partition_block *)block_buffer; in find_partition()
358 res = blk_dread(dev_desc, block, 1, (ulong *)block_buffer); in part_print_amiga()
361 p = (struct partition_block *)block_buffer; in part_print_amiga()