Lines Matching refs:mpart
45 ALLOC_CACHE_ALIGN_BUFFER(mac_partition_t, mpart, 1); in part_test_mac()
58 if ((blk_dread(dev_desc, i, 1, (ulong *)mpart) != 1) || in part_test_mac()
59 (mpart->signature != MAC_PARTITION_MAGIC) ) { in part_test_mac()
63 n = mpart->map_count; in part_test_mac()
72 ALLOC_CACHE_ALIGN_BUFFER(mac_partition_t, mpart, 1); in part_print_mac()
113 if (blk_dread(dev_desc, i, 1, (ulong *)mpart) != 1) { in part_print_mac()
119 if (mpart->signature != MAC_PARTITION_MAGIC) { in part_print_mac()
122 mpart->signature); in part_print_mac()
127 n = mpart->map_count; in part_print_mac()
130 bytes = mpart->block_count; in part_print_mac()
142 mpart->type, in part_print_mac()
143 mpart->name, in part_print_mac()
144 mpart->block_count, in part_print_mac()
145 mpart->start_block, in part_print_mac()
220 ALLOC_CACHE_ALIGN_BUFFER(mac_partition_t, mpart, 1); in part_get_info_mac()
228 if (part_mac_read_pdb (dev_desc, part, mpart)) { in part_get_info_mac()
232 info->start = mpart->start_block; in part_get_info_mac()
233 info->size = mpart->block_count; in part_get_info_mac()
234 memcpy (info->type, mpart->type, sizeof(info->type)); in part_get_info_mac()
235 memcpy (info->name, mpart->name, sizeof(info->name)); in part_get_info_mac()