Lines Matching refs:block
78 s32 *block = (s32 *)header; in sum_block() local
83 sum += *block++; in sum_block()
245 u32 block; in find_partition() local
257 block = rdb->partition_list; in find_partition()
258 PRINTF("find_partition: partition list at 0x%x\n", block); in find_partition()
260 while (block != 0xFFFFFFFF) in find_partition()
262 ulong res = blk_dread(dev_desc, block, 1, (ulong *)block_buffer); in find_partition()
268 PRINTF("PART block suspect at 0x%x, checking checksum\n",block); in find_partition()
275 block = p->next; in find_partition()
278 } else block = 0xFFFFFFFF; in find_partition()
279 } else block = 0xFFFFFFFF; in find_partition()
282 if (block == 0xFFFFFFFF) in find_partition()
327 u32 block; in part_print_amiga() local
339 block = rdb->partition_list; in part_print_amiga()
340 PRINTF("part_print_amiga: partition list at 0x%x\n", block); in part_print_amiga()
352 while (block != 0xFFFFFFFF) in part_print_amiga()
356 PRINTF("Trying to load block #0x%X\n", block); in part_print_amiga()
358 res = blk_dread(dev_desc, block, 1, (ulong *)block_buffer); in part_print_amiga()
364 PRINTF("PART block suspect at 0x%x, checking checksum\n",block); in part_print_amiga()
369 block = p->next; in part_print_amiga()
371 } else block = 0xFFFFFFFF; in part_print_amiga()
372 } else block = 0xFFFFFFFF; in part_print_amiga()