Lines Matching refs:block_buffer
30 static unsigned char block_buffer[DEFAULT_SECTOR_SIZE]; variable
143 ulong res = blk_dread(dev_desc, i, 1, (ulong *)block_buffer); in get_rdisk()
146 struct rigid_disk_block *trdb = (struct rigid_disk_block *)block_buffer; in get_rdisk()
150 if (sum_block((struct block_header *)block_buffer) == 0) in get_rdisk()
185 ulong res = blk_dread(dev_desc, i, 1, (ulong *)block_buffer); in get_bootcode()
188 struct bootcode_block *boot = (struct bootcode_block *)block_buffer; in get_bootcode()
192 if (sum_block((struct block_header *)block_buffer) == 0) in get_bootcode()
261 ulong res = blk_dread(dev_desc, block, 1, (ulong *)block_buffer); in find_partition()
264 p = (struct partition_block *)block_buffer; in find_partition()
287 return (struct partition_block *)block_buffer; in find_partition()
357 res = blk_dread(dev_desc, block, 1, (ulong *)block_buffer); in part_print_amiga()
360 p = (struct partition_block *)block_buffer; in part_print_amiga()