Home
last modified time | relevance | path

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

/linux-5.19.10/fs/ocfs2/dlmfs/
Duserdlm.c102 int new_level = DLM_LOCK_EX; in user_highest_compat_lock_level() local
105 new_level = DLM_LOCK_NL; in user_highest_compat_lock_level()
107 new_level = DLM_LOCK_PR; in user_highest_compat_lock_level()
108 return new_level; in user_highest_compat_lock_level()
285 int new_level, status; in user_dlm_unblock_lock() local
362 new_level = user_highest_compat_lock_level(lockres->l_blocking); in user_dlm_unblock_lock()
363 lockres->l_requested = new_level; in user_dlm_unblock_lock()
366 lockres->l_namelen, lockres->l_name, lockres->l_level, new_level); in user_dlm_unblock_lock()
370 status = ocfs2_dlm_lock(conn, new_level, &lockres->l_lksb, in user_dlm_unblock_lock()
/linux-5.19.10/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.c619 mddev->new_level = 0; in raid0_takeover_raid45()
661 mddev->new_level = 0; in raid0_takeover_raid10()
704 mddev->new_level = 0; in raid0_takeover_raid1()
Draid5.c7199 if (mddev->new_level != 5 in setup_conf()
7200 && mddev->new_level != 4 in setup_conf()
7201 && mddev->new_level != 6) { in setup_conf()
7203 mdname(mddev), mddev->new_level); in setup_conf()
7206 if ((mddev->new_level == 5 in setup_conf()
7208 (mddev->new_level == 6 in setup_conf()
7214 if (mddev->new_level == 6 && mddev->raid_disks < 4) { in setup_conf()
7334 conf->level = mddev->new_level; in setup_conf()
7368 conf->level = mddev->new_level; in setup_conf()
7426 sprintf(pers_name, "raid%d", mddev->new_level); in setup_conf()
[all …]
Dmd.c1322 mddev->new_level = sb->new_level; in super_90_validate()
1330 mddev->new_level = mddev->level; in super_90_validate()
1465 sb->new_level = mddev->new_level; in super_90_sync()
1858 mddev->new_level = le32_to_cpu(sb->new_level); in super_1_validate()
1869 mddev->new_level = mddev->level; in super_1_validate()
2040 sb->new_level = cpu_to_le32(mddev->new_level); in super_1_sync()
3999 mddev->new_level = mddev->level; in level_store()
4022 mddev->level = mddev->new_level; in level_store()
5234 mddev->new_level = mddev->level; in reshape_position_store()
5885 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.c3271 mddev->level != mddev->new_level) { in raid1_reshape()
3274 mddev->new_level = mddev->level; in raid1_reshape()
3370 mddev->new_level = 1; in raid1_takeover()
Draid10.c4338 mddev->new_level = 10; in raid10_takeover_raid0()
/linux-5.19.10/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()
/linux-5.19.10/fs/ocfs2/
Ddlmglue.c89 int new_level);
104 int new_level);
374 int new_level);
377 int new_level,
879 int new_level = DLM_LOCK_EX; in ocfs2_highest_compat_lock_level() local
882 new_level = DLM_LOCK_NL; in ocfs2_highest_compat_lock_level()
884 new_level = DLM_LOCK_PR; in ocfs2_highest_compat_lock_level()
885 return new_level; in ocfs2_highest_compat_lock_level()
3616 int new_level) in ocfs2_prepare_downconvert() argument
3622 if (lockres->l_level <= new_level) { in ocfs2_prepare_downconvert()
[all …]
/linux-5.19.10/arch/s390/kernel/
Ddebug.c830 void debug_set_level(debug_info_t *id, int new_level) in debug_set_level() argument
837 if (new_level == DEBUG_OFF_LEVEL) { in debug_set_level()
839 } else if ((new_level > DEBUG_MAX_LEVEL) || (new_level < 0)) { in debug_set_level()
841 id->name, new_level, 0, DEBUG_MAX_LEVEL); in debug_set_level()
846 id->level = new_level; in debug_set_level()
1374 int rc, new_level; in debug_input_level_fn() local
1393 new_level = debug_get_uint(str); in debug_input_level_fn()
1395 if (new_level < 0) { in debug_input_level_fn()
1399 debug_set_level(id, new_level); in debug_input_level_fn()
/linux-5.19.10/include/uapi/linux/raid/
Dmd_p.h183 __u32 new_level; /* 14 new level we are reshaping to */ member
260 __le32 new_level; /* new level we are reshaping to */ member
/linux-5.19.10/arch/arm64/kvm/vgic/
Dvgic-mmio.c809 bool new_level; in vgic_write_irq_line_level_info() local
821 new_level = !!(val & (1U << i)); in vgic_write_irq_line_level_info()
823 irq->line_level = new_level; in vgic_write_irq_line_level_info()
824 if (new_level) in vgic_write_irq_line_level_info()
/linux-5.19.10/drivers/clk/mvebu/
Darmada-37xx-periph.c510 unsigned int new_level, unsigned long rate, in clk_pm_cpu_set_rate_wa() argument
518 if (cur_level == new_level) in clk_pm_cpu_set_rate_wa()
526 if (new_level == ARMADA_37XX_DVFS_LOAD_1) { in clk_pm_cpu_set_rate_wa()
/linux-5.19.10/arch/arm64/kvm/
Darch_timer.c44 static void kvm_timer_update_irq(struct kvm_vcpu *vcpu, bool new_level,
396 static void kvm_timer_update_irq(struct kvm_vcpu *vcpu, bool new_level, in kvm_timer_update_irq() argument
401 timer_ctx->irq.level = new_level; in kvm_timer_update_irq()
/linux-5.19.10/arch/s390/include/asm/
Ddebug.h117 void debug_set_level(debug_info_t *id, int new_level);
/linux-5.19.10/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);
/linux-5.19.10/drivers/platform/x86/
Dthinkpad_acpi.c7851 u8 new_level, new_mute; in volume_write() local
7873 new_level = s & TP_EC_AUDIO_LVL_MSK; in volume_write()
7881 else if (new_level < TP_EC_VOLUME_MAX) in volume_write()
7882 new_level++; in volume_write()
7887 else if (new_level > 0) in volume_write()
7888 new_level--; in volume_write()
7892 new_level = l; in volume_write()
7911 new_mute ? "" : "un", new_level); in volume_write()
7912 rc = volume_set_status(new_mute | new_level); in volume_write()
/linux-5.19.10/drivers/net/wireless/realtek/rtw88/
Dphy.c259 u8 new_level = 0; in rtw_phy_get_rssi_level() local
268 new_level = i; in rtw_phy_get_rssi_level()
273 return new_level; in rtw_phy_get_rssi_level()
/linux-5.19.10/tools/perf/ui/browsers/
Dhists.c1158 const int new_level = level + (extra_offset ? 2 : 1); in hist_browser__show_callchain_graph() local
1161 new_level, row, total, in hist_browser__show_callchain_graph()