Searched refs:block_buffer (Results 1 – 2 of 2) sorted by relevance
/u-boot/disk/ |
A D | part_amiga.c | 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() 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() [all …]
|
/u-boot/fs/ext4/ |
A D | ext4_common.c | 638 char *block_buffer = NULL; in search_dir() local 647 block_buffer = zalloc(fs->blksz); in search_dir() 648 if (!block_buffer) in search_dir() 659 0, fs->blksz, (char *)block_buffer); in search_dir() 688 free(block_buffer); in search_dir() 694 free(block_buffer); in search_dir() 871 char *block_buffer = NULL; in unlink_filename() local 878 block_buffer = zalloc(fs->blksz); in unlink_filename() 879 if (!block_buffer) in unlink_filename() 884 fs->blksz, block_buffer); in unlink_filename() [all …]
|
Completed in 7 milliseconds