Searched refs:part_md (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/drivers/mmc/core/ |
D | block.c | 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() [all …]
|