Lines Matching refs:part_info
80 * @param[in] part_info Partition in 'dev_desc' where to read from, normally
86 const struct disk_partition *part_info,
94 if (abc_offset % part_info->blksz) {
98 abc_offset /= part_info->blksz;
101 part_info->blksz);
102 if (abc_offset + abc_blocks > part_info->size) {
105 abc_offset + abc_blocks, part_info->size);
108 *abc = malloc_cache_aligned(abc_blocks * part_info->blksz);
112 ret = blk_dread(dev_desc, part_info->start + abc_offset, abc_blocks,
132 * @param[in] part_info Partition on the 'dev_desc' where to write
138 const struct disk_partition *part_info,
145 part_info->blksz;
147 part_info->blksz);
148 ret = blk_dwrite(dev_desc, part_info->start + abc_offset, abc_blocks,
186 int ab_select_slot(struct blk_desc *dev_desc, struct disk_partition *part_info,
197 ret = ab_control_create_from_disk(dev_desc, part_info, &abc, 0);
208 ret = ab_control_create_from_disk(dev_desc, part_info, &backup_abc,
333 ret = ab_control_store(dev_desc, part_info, abc, 0);
348 ret = ab_control_store(dev_desc, part_info, abc,