Lines Matching refs:part_md
247 struct mmc_blk_data *md, *part_md; in power_ro_lock_store() local
277 list_for_each_entry(part_md, &md->part, part) in power_ro_lock_store()
278 if (part_md->area_type == MMC_BLK_DATA_AREA_BOOT) { in power_ro_lock_store()
279 pr_info("%s: Locking boot partition ro until next power on\n", part_md->disk->disk_name); in power_ro_lock_store()
280 set_disk_ro(part_md->disk, 1); in power_ro_lock_store()
2552 struct mmc_blk_data *part_md; in mmc_blk_alloc_part() local
2554 part_md = mmc_blk_alloc_req(card, disk_to_dev(md->disk), size, default_ro, in mmc_blk_alloc_part()
2556 if (IS_ERR(part_md)) in mmc_blk_alloc_part()
2557 return PTR_ERR(part_md); in mmc_blk_alloc_part()
2558 list_add(&part_md->part, &md->part); in mmc_blk_alloc_part()
2771 struct mmc_blk_data *part_md; in mmc_blk_remove_parts() local
2782 part_md = list_entry(pos, struct mmc_blk_data, part); in mmc_blk_remove_parts()
2784 mmc_blk_remove_req(part_md); in mmc_blk_remove_parts()
3028 struct mmc_blk_data *part_md; in _mmc_blk_suspend() local
3033 list_for_each_entry(part_md, &md->part, part) { in _mmc_blk_suspend()
3034 mmc_queue_suspend(&part_md->queue); in _mmc_blk_suspend()
3055 struct mmc_blk_data *part_md; in mmc_blk_resume() local
3065 list_for_each_entry(part_md, &md->part, part) { in mmc_blk_resume()
3066 mmc_queue_resume(&part_md->queue); in mmc_blk_resume()