Home
last modified time | relevance | path

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

/drivers/md/
Ddm-raid.c220 int new_level; member
258 l->new_level = mddev->new_level; in rs_config_backup()
267 mddev->new_level = l->new_level; in rs_config_restore()
711 mddev->new_level = mddev->level; in rs_set_cur()
724 mddev->level = mddev->new_level; in rs_set_new()
758 rs->md.new_level = rs->md.level; in raid_set_alloc()
1754 if ((mddev->new_level == 1 || mddev->new_level == 5) && in rs_check_takeover()
1759 if (mddev->new_level == 10 && in rs_check_takeover()
1764 if (__within_range(mddev->new_level, 4, 6) && in rs_check_takeover()
1779 if (mddev->new_level == 0) { in rs_check_takeover()
[all …]
Draid0.c669 mddev->new_level = 0; in raid0_takeover_raid45()
711 mddev->new_level = 0; in raid0_takeover_raid10()
754 mddev->new_level = 0; in raid0_takeover_raid1()
Draid5.c6889 if (mddev->new_level != 5 in setup_conf()
6890 && mddev->new_level != 4 in setup_conf()
6891 && mddev->new_level != 6) { in setup_conf()
6893 mdname(mddev), mddev->new_level); in setup_conf()
6896 if ((mddev->new_level == 5 in setup_conf()
6898 (mddev->new_level == 6 in setup_conf()
6904 if (mddev->new_level == 6 && mddev->raid_disks < 4) { in setup_conf()
7016 conf->level = mddev->new_level; in setup_conf()
7049 conf->level = mddev->new_level; in setup_conf()
7105 sprintf(pers_name, "raid%d", mddev->new_level); in setup_conf()
[all …]
Dmd.c1248 mddev->new_level = sb->new_level; in super_90_validate()
1256 mddev->new_level = mddev->level; in super_90_validate()
1391 sb->new_level = mddev->new_level; in super_90_sync()
1787 mddev->new_level = le32_to_cpu(sb->new_level); in super_1_validate()
1798 mddev->new_level = mddev->level; in super_1_validate()
1969 sb->new_level = cpu_to_le32(mddev->new_level); in super_1_sync()
3880 mddev->new_level = mddev->level; in level_store()
3903 mddev->level = mddev->new_level; in level_store()
5093 mddev->new_level = mddev->level; in reshape_position_store()
5697 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.h332 int delta_disks, new_level, new_layout; member
Draid1.c3253 mddev->level != mddev->new_level) { in raid1_reshape()
3256 mddev->new_level = mddev->level; in raid1_reshape()
3352 mddev->new_level = 1; in raid1_takeover()
Draid10.c4023 mddev->new_level = 10; in raid10_takeover_raid0()
/drivers/power/supply/
Ds3c_adc_battery.c146 int new_level; in s3c_adc_bat_get_property() local
178 new_level = 100000; in s3c_adc_bat_get_property()
194 new_level = (lut[1].level + in s3c_adc_bat_get_property()
200 new_level = lut[1].level * 1000; in s3c_adc_bat_get_property()
205 bat->level = new_level; in s3c_adc_bat_get_property()
/drivers/net/wireless/realtek/rtw88/
Dphy.c175 u8 new_level = 0; in rtw_phy_get_rssi_level() local
184 new_level = i; in rtw_phy_get_rssi_level()
189 return new_level; in rtw_phy_get_rssi_level()
/drivers/media/common/siano/
Dsmscoreapi.c2022 u8 new_level) { in smscore_gpio_set_level() argument
2033 if ((new_level > 1) || (pin_num > MAX_GPIO_PIN_NUMBER)) in smscore_gpio_set_level()
2052 p_msg->msg_data[1] = new_level; in smscore_gpio_set_level()
Dsmscoreapi.h1161 u8 new_level);
/drivers/platform/x86/
Dthinkpad_acpi.c7847 u8 new_level, new_mute; in volume_write() local
7869 new_level = s & TP_EC_AUDIO_LVL_MSK; in volume_write()
7877 else if (new_level < TP_EC_VOLUME_MAX) in volume_write()
7878 new_level++; in volume_write()
7883 else if (new_level > 0) in volume_write()
7884 new_level--; in volume_write()
7888 new_level = l; in volume_write()
7907 new_mute ? "" : "un", new_level); in volume_write()
7908 rc = volume_set_status(new_mute | new_level); in volume_write()