Lines Matching refs:block_buffer
29 static unsigned char block_buffer[DEFAULT_SECTOR_SIZE]; variable
142 ulong res = blk_dread(dev_desc, i, 1, (ulong *)block_buffer); in get_rdisk()
145 struct rigid_disk_block *trdb = (struct rigid_disk_block *)block_buffer; in get_rdisk()
149 if (sum_block((struct block_header *)block_buffer) == 0) in get_rdisk()
184 ulong res = blk_dread(dev_desc, i, 1, (ulong *)block_buffer); in get_bootcode()
187 struct bootcode_block *boot = (struct bootcode_block *)block_buffer; in get_bootcode()
191 if (sum_block((struct block_header *)block_buffer) == 0) in get_bootcode()
260 ulong res = blk_dread(dev_desc, block, 1, (ulong *)block_buffer); in find_partition()
263 p = (struct partition_block *)block_buffer; in find_partition()
286 return (struct partition_block *)block_buffer; in find_partition()
356 res = blk_dread(dev_desc, block, 1, (ulong *)block_buffer); in part_print_amiga()
359 p = (struct partition_block *)block_buffer; in part_print_amiga()