Home
last modified time | relevance | path

Searched refs:part_md (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/mmc/core/
Dblock.c232 struct mmc_blk_data *md, *part_md; in power_ro_lock_store() local
262 list_for_each_entry(part_md, &md->part, part) in power_ro_lock_store()
263 if (part_md->area_type == MMC_BLK_DATA_AREA_BOOT) { in power_ro_lock_store()
264 pr_info("%s: Locking boot partition ro until next power on\n", part_md->disk->disk_name); in power_ro_lock_store()
265 set_disk_ro(part_md->disk, 1); in power_ro_lock_store()
2449 struct mmc_blk_data *part_md; in mmc_blk_alloc_part() local
2451 part_md = mmc_blk_alloc_req(card, disk_to_dev(md->disk), size, default_ro, in mmc_blk_alloc_part()
2453 if (IS_ERR(part_md)) in mmc_blk_alloc_part()
2454 return PTR_ERR(part_md); in mmc_blk_alloc_part()
2455 part_md->part_type = part_type; in mmc_blk_alloc_part()
[all …]