Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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.c618 mddev->new_level = 0; in raid0_takeover_raid45()
660 mddev->new_level = 0; in raid0_takeover_raid10()
703 mddev->new_level = 0; in raid0_takeover_raid1()
Draid5.c7440 if (mddev->new_level != 5 in setup_conf()
7441 && mddev->new_level != 4 in setup_conf()
7442 && mddev->new_level != 6) { in setup_conf()
7444 mdname(mddev), mddev->new_level); in setup_conf()
7447 if ((mddev->new_level == 5 in setup_conf()
7449 (mddev->new_level == 6 in setup_conf()
7455 if (mddev->new_level == 6 && mddev->raid_disks < 4) { in setup_conf()
7575 conf->level = mddev->new_level; in setup_conf()
7609 conf->level = mddev->new_level; in setup_conf()
7667 sprintf(pers_name, "raid%d", mddev->new_level); in setup_conf()
[all …]
Dmd.c1301 mddev->new_level = sb->new_level; in super_90_validate()
1309 mddev->new_level = mddev->level; in super_90_validate()
1444 sb->new_level = mddev->new_level; in super_90_sync()
1837 mddev->new_level = le32_to_cpu(sb->new_level); in super_1_validate()
1848 mddev->new_level = mddev->level; in super_1_validate()
2019 sb->new_level = cpu_to_le32(mddev->new_level); in super_1_sync()
3974 mddev->new_level = mddev->level; in level_store()
3997 mddev->level = mddev->new_level; in level_store()
5222 mddev->new_level = mddev->level; in reshape_position_store()
5883 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.h366 int delta_disks, new_level, new_layout; member
Draid1.c3272 mddev->level != mddev->new_level) { in raid1_reshape()
3275 mddev->new_level = mddev->level; in raid1_reshape()
3371 mddev->new_level = 1; in raid1_takeover()
Draid10.c4376 mddev->new_level = 10; in raid10_takeover_raid0()
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/arch/s390/include/asm/
Ddebug.h117 void debug_set_level(debug_info_t *id, int new_level);
/linux-6.1.9/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-6.1.9/drivers/platform/x86/
Dthinkpad_acpi.c7854 u8 new_level, new_mute; in volume_write() local
7876 new_level = s & TP_EC_AUDIO_LVL_MSK; in volume_write()
7884 else if (new_level < TP_EC_VOLUME_MAX) in volume_write()
7885 new_level++; in volume_write()
7890 else if (new_level > 0) in volume_write()
7891 new_level--; in volume_write()
7895 new_level = l; in volume_write()
7914 new_mute ? "" : "un", new_level); in volume_write()
7915 rc = volume_set_status(new_mute | new_level); in volume_write()
/linux-6.1.9/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-6.1.9/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()