Searched refs:part_md (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/mmc/core/ |
D | block.c | 294 struct mmc_blk_data *md, *part_md; in power_ro_lock_store() local 325 list_for_each_entry(part_md, &md->part, part) in power_ro_lock_store() 326 if (part_md->area_type == MMC_BLK_DATA_AREA_BOOT) { in power_ro_lock_store() 327 pr_info("%s: Locking boot partition ro until next power on\n", part_md->disk->disk_name); in power_ro_lock_store() 328 set_disk_ro(part_md->disk, 1); in power_ro_lock_store() 2659 struct mmc_blk_data *part_md; in mmc_blk_alloc_part() local 2661 part_md = mmc_blk_alloc_req(card, disk_to_dev(md->disk), size, default_ro, in mmc_blk_alloc_part() 2663 if (IS_ERR(part_md)) in mmc_blk_alloc_part() 2664 return PTR_ERR(part_md); in mmc_blk_alloc_part() 2665 list_add(&part_md->part, &md->part); in mmc_blk_alloc_part() [all …]
|