Searched refs:new_level (Results 1 – 12 of 12) sorted by relevance
/drivers/md/ |
D | dm-raid.c | 220 int new_level; member 259 l->new_level = mddev->new_level; in rs_config_backup() 268 mddev->new_level = l->new_level; in rs_config_restore() 712 mddev->new_level = mddev->level; in rs_set_cur() 725 mddev->level = mddev->new_level; in rs_set_new() 759 rs->md.new_level = rs->md.level; in raid_set_alloc() 1720 if ((mddev->new_level == 1 || mddev->new_level == 5) && in rs_check_takeover() 1725 if (mddev->new_level == 10 && in rs_check_takeover() 1730 if (__within_range(mddev->new_level, 4, 6) && in rs_check_takeover() 1745 if (mddev->new_level == 0) { in rs_check_takeover() [all …]
|
D | raid0.c | 666 mddev->new_level = 0; in raid0_takeover_raid45() 708 mddev->new_level = 0; in raid0_takeover_raid10() 751 mddev->new_level = 0; in raid0_takeover_raid1()
|
D | raid5.c | 6864 if (mddev->new_level != 5 in setup_conf() 6865 && mddev->new_level != 4 in setup_conf() 6866 && mddev->new_level != 6) { in setup_conf() 6868 mdname(mddev), mddev->new_level); in setup_conf() 6871 if ((mddev->new_level == 5 in setup_conf() 6873 (mddev->new_level == 6 in setup_conf() 6879 if (mddev->new_level == 6 && mddev->raid_disks < 4) { in setup_conf() 6990 conf->level = mddev->new_level; in setup_conf() 7023 conf->level = mddev->new_level; in setup_conf() 7079 sprintf(pers_name, "raid%d", mddev->new_level); in setup_conf() [all …]
|
D | md.c | 1159 mddev->new_level = sb->new_level; in super_90_validate() 1167 mddev->new_level = mddev->level; in super_90_validate() 1300 sb->new_level = mddev->new_level; in super_90_sync() 1681 mddev->new_level = le32_to_cpu(sb->new_level); in super_1_validate() 1692 mddev->new_level = mddev->level; in super_1_validate() 1859 sb->new_level = cpu_to_le32(mddev->new_level); in super_1_sync() 3754 mddev->new_level = mddev->level; in level_store() 3777 mddev->level = mddev->new_level; in level_store() 4958 mddev->new_level = mddev->level; in reshape_position_store() 5531 mddev->new_level = pers->level; in md_run() [all …]
|
D | dm-cache-policy-smq.c | 462 unsigned new_level = min(q->nr_levels - 1u, e->level + extra_levels); in q_requeue() local 466 for (de = l_head(q->es, q->qs + new_level); de && de->sentinel; de = l_next(q->es, de)) in q_requeue() 491 e->level = new_level; in q_requeue()
|
D | md.h | 316 int delta_disks, new_level, new_layout; member
|
D | raid1.c | 3221 mddev->level != mddev->new_level) { in raid1_reshape() 3224 mddev->new_level = mddev->level; in raid1_reshape() 3319 mddev->new_level = 1; in raid1_takeover()
|
D | raid10.c | 3923 mddev->new_level = 10; in raid10_takeover_raid0()
|
/drivers/power/supply/ |
D | s3c_adc_battery.c | 146 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/media/common/siano/ |
D | smscoreapi.c | 2024 u8 new_level) { in smscore_gpio_set_level() argument 2035 if ((new_level > 1) || (pin_num > MAX_GPIO_PIN_NUMBER)) in smscore_gpio_set_level() 2054 p_msg->msg_data[1] = new_level; in smscore_gpio_set_level()
|
D | smscoreapi.h | 1167 u8 new_level);
|
/drivers/platform/x86/ |
D | thinkpad_acpi.c | 7733 u8 new_level, new_mute; in volume_write() local 7755 new_level = s & TP_EC_AUDIO_LVL_MSK; in volume_write() 7763 else if (new_level < TP_EC_VOLUME_MAX) in volume_write() 7764 new_level++; in volume_write() 7769 else if (new_level > 0) in volume_write() 7770 new_level--; in volume_write() 7774 new_level = l; in volume_write() 7793 new_mute ? "" : "un", new_level); in volume_write() 7794 rc = volume_set_status(new_mute | new_level); in volume_write()
|