Lines Matching refs:mpart
47 ALLOC_CACHE_ALIGN_BUFFER(mac_partition_t, mpart, 1); in part_test_mac()
60 if ((blk_dread(dev_desc, i, 1, (ulong *)mpart) != 1) || in part_test_mac()
61 (mpart->signature != MAC_PARTITION_MAGIC) ) { in part_test_mac()
65 n = mpart->map_count; in part_test_mac()
74 ALLOC_CACHE_ALIGN_BUFFER(mac_partition_t, mpart, 1); in part_print_mac()
115 if (blk_dread(dev_desc, i, 1, (ulong *)mpart) != 1) { in part_print_mac()
121 if (mpart->signature != MAC_PARTITION_MAGIC) { in part_print_mac()
124 mpart->signature); in part_print_mac()
129 n = mpart->map_count; in part_print_mac()
132 bytes = mpart->block_count; in part_print_mac()
144 mpart->type, in part_print_mac()
145 mpart->name, in part_print_mac()
146 mpart->block_count, in part_print_mac()
147 mpart->start_block, in part_print_mac()
222 ALLOC_CACHE_ALIGN_BUFFER(mac_partition_t, mpart, 1); in part_get_info_mac()
230 if (part_mac_read_pdb (dev_desc, part, mpart)) { in part_get_info_mac()
234 info->start = mpart->start_block; in part_get_info_mac()
235 info->size = mpart->block_count; in part_get_info_mac()
236 memcpy (info->type, mpart->type, sizeof(info->type)); in part_get_info_mac()
237 memcpy (info->name, mpart->name, sizeof(info->name)); in part_get_info_mac()