Searched refs:pmd (Results 1 – 6 of 6) sorted by relevance
/drivers/md/ |
D | dm-thin-metadata.c | 230 struct dm_pool_metadata *pmd; member 413 static inline void pmd_write_lock_in_core(struct dm_pool_metadata *pmd) in pmd_write_lock_in_core() argument 414 __acquires(pmd->root_lock) in pmd_write_lock_in_core() 416 down_write(&pmd->root_lock); in pmd_write_lock_in_core() 419 static inline void pmd_write_lock(struct dm_pool_metadata *pmd) in pmd_write_lock() argument 421 pmd_write_lock_in_core(pmd); in pmd_write_lock() 422 if (unlikely(!pmd->in_service)) in pmd_write_lock() 423 pmd->in_service = true; in pmd_write_lock() 426 static inline void pmd_write_unlock(struct dm_pool_metadata *pmd) in pmd_write_unlock() argument 427 __releases(pmd->root_lock) in pmd_write_unlock() [all …]
|
D | dm-thin-metadata.h | 48 int dm_pool_metadata_close(struct dm_pool_metadata *pmd); 61 int dm_pool_create_thin(struct dm_pool_metadata *pmd, dm_thin_id dev); 69 int dm_pool_create_snap(struct dm_pool_metadata *pmd, dm_thin_id dev, 77 int dm_pool_delete_thin_device(struct dm_pool_metadata *pmd, 84 int dm_pool_commit_metadata(struct dm_pool_metadata *pmd); 94 int dm_pool_abort_metadata(struct dm_pool_metadata *pmd); 99 int dm_pool_set_metadata_transaction_id(struct dm_pool_metadata *pmd, 103 int dm_pool_get_metadata_transaction_id(struct dm_pool_metadata *pmd, 115 int dm_pool_reserve_metadata_snap(struct dm_pool_metadata *pmd); 116 int dm_pool_release_metadata_snap(struct dm_pool_metadata *pmd); [all …]
|
D | dm-thin.c | 236 struct dm_pool_metadata *pmd; member 1095 r = dm_pool_block_is_shared(pool->pmd, b, &shared); in passdown_double_checking_shared_status() 1108 r = dm_pool_block_is_shared(pool->pmd, e, &shared); in passdown_double_checking_shared_status() 1173 r = dm_pool_inc_data_range(pool->pmd, m->data_block, data_end); in process_prepared_discard_passdown_pt1() 1214 r = dm_pool_dec_data_range(pool->pmd, m->data_block, in process_prepared_discard_passdown_pt2() 1458 r = dm_pool_get_free_metadata_block_count(pool->pmd, &nr_free); in check_for_metadata_space() 1478 r = dm_pool_get_free_block_count(pool->pmd, &nr_free); in check_for_data_space() 1499 r = dm_pool_commit_metadata(pool->pmd); in commit() 1531 r = dm_pool_get_free_block_count(pool->pmd, &free_blocks); in alloc_data_block() 1548 r = dm_pool_get_free_block_count(pool->pmd, &free_blocks); in alloc_data_block() [all …]
|
/drivers/soc/bcm/bcm63xx/ |
D | bcm63xx-power.c | 39 static int bcm63xx_power_get_state(struct bcm63xx_power_dev *pmd, bool *is_on) in bcm63xx_power_get_state() argument 41 struct bcm63xx_power *power = pmd->power; in bcm63xx_power_get_state() 43 if (!pmd->mask) { in bcm63xx_power_get_state() 48 *is_on = !(__raw_readl(power->base) & pmd->mask); in bcm63xx_power_get_state() 53 static int bcm63xx_power_set_state(struct bcm63xx_power_dev *pmd, bool on) in bcm63xx_power_set_state() argument 55 struct bcm63xx_power *power = pmd->power; in bcm63xx_power_set_state() 59 if (!pmd->mask) in bcm63xx_power_set_state() 65 val &= ~pmd->mask; in bcm63xx_power_set_state() 67 val |= pmd->mask; in bcm63xx_power_set_state() 76 struct bcm63xx_power_dev *pmd = container_of(genpd, in bcm63xx_power_on() local [all …]
|
/drivers/edac/ |
D | xgene_edac.c | 515 u32 pmd; member 533 ctx->pmd * MAX_CPU_PER_PMD + cpu_idx, val, in xgene_edac_pmd_l1_check() 573 ctx->pmd * MAX_CPU_PER_PMD + cpu_idx, val, in xgene_edac_pmd_l1_check() 617 ctx->pmd * MAX_CPU_PER_PMD + cpu_idx, val, in xgene_edac_pmd_l1_check() 677 ctx->pmd, val, val_hi, val_lo); in xgene_edac_pmd_l2_check() 729 ctx->pmd, val, val_hi, val_lo); in xgene_edac_pmd_l2_check() 741 if (!((PMD0_MERR_MASK << ctx->pmd) & pcp_hp_stat)) in xgene_edac_pmd_check() 791 PMD0_MERR_MASK << ctx->pmd); in xgene_edac_pmd_hw_ctl() 794 PMD0_MERR_MASK << ctx->pmd); in xgene_edac_pmd_hw_ctl() 870 snprintf(name, sizeof(name), "PMD%d", ctx->pmd); in xgene_edac_pmd_create_debugfs_nodes() [all …]
|
/drivers/soc/renesas/ |
D | rmobile-sysc.c | 314 struct device_node *np, *pmd; in rmobile_init_pm_domains() local 326 pmd = of_get_child_by_name(np, "pm-domains"); in rmobile_init_pm_domains() 327 if (!pmd) { in rmobile_init_pm_domains() 339 ret = rmobile_add_pm_domains(base, pmd, NULL); in rmobile_init_pm_domains() 340 of_node_put(pmd); in rmobile_init_pm_domains()
|