Home
last modified time | relevance | path

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

/drivers/md/
Ddm-raid.c223 int new_level; member
263 l->new_level = mddev->new_level; in rs_config_backup()
272 mddev->new_level = l->new_level; in rs_config_restore()
714 mddev->new_level = mddev->level; in rs_set_cur()
727 mddev->level = mddev->new_level; in rs_set_new()
761 rs->md.new_level = rs->md.level; in raid_set_alloc()
1732 if ((mddev->new_level == 1 || mddev->new_level == 5) && in rs_check_takeover()
1737 if (mddev->new_level == 10 && in rs_check_takeover()
1742 if (__within_range(mddev->new_level, 4, 6) && in rs_check_takeover()
1757 if (mddev->new_level == 0) { in rs_check_takeover()
[all …]
Draid0.c689 mddev->new_level = 0; in raid0_takeover_raid45()
731 mddev->new_level = 0; in raid0_takeover_raid10()
774 mddev->new_level = 0; in raid0_takeover_raid1()
Draid5.c7178 if (mddev->new_level != 5 in setup_conf()
7179 && mddev->new_level != 4 in setup_conf()
7180 && mddev->new_level != 6) { in setup_conf()
7182 mdname(mddev), mddev->new_level); in setup_conf()
7185 if ((mddev->new_level == 5 in setup_conf()
7187 (mddev->new_level == 6 in setup_conf()
7193 if (mddev->new_level == 6 && mddev->raid_disks < 4) { in setup_conf()
7310 conf->level = mddev->new_level; in setup_conf()
7343 conf->level = mddev->new_level; in setup_conf()
7399 sprintf(pers_name, "raid%d", mddev->new_level); in setup_conf()
[all …]
Dmd.c1342 mddev->new_level = sb->new_level; in super_90_validate()
1350 mddev->new_level = mddev->level; in super_90_validate()
1485 sb->new_level = mddev->new_level; in super_90_sync()
1881 mddev->new_level = le32_to_cpu(sb->new_level); in super_1_validate()
1892 mddev->new_level = mddev->level; in super_1_validate()
2095 sb->new_level = cpu_to_le32(mddev->new_level); in super_1_sync()
4067 mddev->new_level = mddev->level; in level_store()
4090 mddev->level = mddev->new_level; in level_store()
5314 mddev->new_level = mddev->level; in reshape_position_store()
5961 mddev->new_level = pers->level; in md_run()
[all …]
Ddm-cache-policy-smq.c475 unsigned new_level = min(q->nr_levels - 1u, e->level + extra_levels); in q_requeue() local
479 for (de = l_head(q->es, q->qs + new_level); de && de->sentinel; de = l_next(q->es, de)) in q_requeue()
504 e->level = new_level; in q_requeue()
Dmd.h349 int delta_disks, new_level, new_layout; member
Draid1.c3269 mddev->level != mddev->new_level) { in raid1_reshape()
3272 mddev->new_level = mddev->level; in raid1_reshape()
3368 mddev->new_level = 1; in raid1_takeover()
Draid10.c4405 mddev->new_level = 10; in raid10_takeover_raid0()
/drivers/power/supply/
Ds3c_adc_battery.c140 int new_level; in s3c_adc_bat_get_property() local
172 new_level = 100000; in s3c_adc_bat_get_property()
188 new_level = (lut[1].level + in s3c_adc_bat_get_property()
194 new_level = lut[1].level * 1000; in s3c_adc_bat_get_property()
199 bat->level = new_level; in s3c_adc_bat_get_property()
/drivers/clk/mvebu/
Darmada-37xx-periph.c509 unsigned int new_level, unsigned long rate, in clk_pm_cpu_set_rate_wa() argument
517 if (cur_level == new_level) in clk_pm_cpu_set_rate_wa()
525 if (new_level == ARMADA_37XX_DVFS_LOAD_1) { in clk_pm_cpu_set_rate_wa()
/drivers/media/common/siano/
Dsmscoreapi.c2018 u8 new_level) { in smscore_gpio_set_level() argument
2029 if ((new_level > 1) || (pin_num > MAX_GPIO_PIN_NUMBER)) in smscore_gpio_set_level()
2048 p_msg->msg_data[1] = new_level; in smscore_gpio_set_level()
Dsmscoreapi.h1156 u8 new_level);
/drivers/platform/x86/
Dthinkpad_acpi.c7889 u8 new_level, new_mute; in volume_write() local
7911 new_level = s & TP_EC_AUDIO_LVL_MSK; in volume_write()
7919 else if (new_level < TP_EC_VOLUME_MAX) in volume_write()
7920 new_level++; in volume_write()
7925 else if (new_level > 0) in volume_write()
7926 new_level--; in volume_write()
7930 new_level = l; in volume_write()
7949 new_mute ? "" : "un", new_level); in volume_write()
7950 rc = volume_set_status(new_mute | new_level); in volume_write()
/drivers/net/wireless/realtek/rtw88/
Dphy.c199 u8 new_level = 0; in rtw_phy_get_rssi_level() local
208 new_level = i; in rtw_phy_get_rssi_level()
213 return new_level; in rtw_phy_get_rssi_level()