Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/drivers/pwm/
Dpwm-gpio.c80 bool new_level; in pwm_gpio_timer() local
88 new_level = !!gpwm->state.duty_cycle; in pwm_gpio_timer()
90 new_level = !gpwm->level; in pwm_gpio_timer()
93 next_toggle = pwm_gpio_toggle(gpwm, new_level); in pwm_gpio_timer()
/linux-6.12.1/drivers/md/
Ddm-raid.c225 int new_level; member
265 l->new_level = mddev->new_level; in rs_config_backup()
274 mddev->new_level = l->new_level; in rs_config_restore()
716 mddev->new_level = mddev->level; in rs_set_cur()
729 mddev->level = mddev->new_level; in rs_set_new()
767 rs->md.new_level = rs->md.level; in raid_set_alloc()
1765 if ((mddev->new_level == 1 || mddev->new_level == 5) && in rs_check_takeover()
1770 if (mddev->new_level == 10 && in rs_check_takeover()
1775 if (__within_range(mddev->new_level, 4, 6) && in rs_check_takeover()
1790 if (mddev->new_level == 0) { in rs_check_takeover()
[all …]
Draid0.c659 mddev->new_level = 0; in raid0_takeover_raid45()
701 mddev->new_level = 0; in raid0_takeover_raid10()
744 mddev->new_level = 0; in raid0_takeover_raid1()
Dmd.c1342 mddev->new_level = sb->new_level; in super_90_validate()
1350 mddev->new_level = mddev->level; in super_90_validate()
1482 sb->new_level = mddev->new_level; in super_90_sync()
1871 mddev->new_level = le32_to_cpu(sb->new_level); in super_1_validate()
1882 mddev->new_level = mddev->level; in super_1_validate()
2082 sb->new_level = cpu_to_le32(mddev->new_level); in super_1_sync()
3966 mddev->new_level = mddev->level; in level_store()
3988 mddev->level = mddev->new_level; in level_store()
4080 return sprintf(page, "%d\n", mddev->new_level); in new_level_show()
4096 mddev->new_level = n; in new_level_store()
[all …]
Draid5.c7441 if (mddev->new_level != 5 in setup_conf()
7442 && mddev->new_level != 4 in setup_conf()
7443 && mddev->new_level != 6) { in setup_conf()
7445 mdname(mddev), mddev->new_level); in setup_conf()
7448 if ((mddev->new_level == 5 in setup_conf()
7450 (mddev->new_level == 6 in setup_conf()
7456 if (mddev->new_level == 6 && mddev->raid_disks < 4) { in setup_conf()
7576 conf->level = mddev->new_level; in setup_conf()
7610 conf->level = mddev->new_level; in setup_conf()
7672 sprintf(pers_name, "raid%d", mddev->new_level); in setup_conf()
[all …]
Ddm-cache-policy-smq.c477 unsigned int new_level = min(q->nr_levels - 1u, e->level + extra_levels); in q_requeue() local
481 for (de = l_head(q->es, q->qs + new_level); de && de->sentinel; de = l_next(q->es, de)) in q_requeue()
506 e->level = new_level; in q_requeue()
Dmd.h422 int delta_disks, new_level, new_layout; member
Draid1.c3354 mddev->level != mddev->new_level) { in raid1_reshape()
3357 mddev->new_level = mddev->level; in raid1_reshape()
3453 mddev->new_level = 1; in raid1_takeover()
Draid10.c4245 mddev->new_level = 10; in raid10_takeover_raid0()
/linux-6.12.1/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()
3615 int new_level) in ocfs2_prepare_downconvert() argument
3621 if (lockres->l_level <= new_level) { in ocfs2_prepare_downconvert()
[all …]
/linux-6.12.1/arch/s390/kernel/
Ddebug.c829 void debug_set_level(debug_info_t *id, int new_level) in debug_set_level() argument
836 if (new_level == DEBUG_OFF_LEVEL) { in debug_set_level()
838 } else if ((new_level > DEBUG_MAX_LEVEL) || (new_level < 0)) { in debug_set_level()
840 id->name, new_level, 0, DEBUG_MAX_LEVEL); in debug_set_level()
845 id->level = new_level; in debug_set_level()
1362 int rc, new_level; in debug_input_level_fn() local
1381 new_level = debug_get_uint(str); in debug_input_level_fn()
1383 if (new_level < 0) { in debug_input_level_fn()
1387 debug_set_level(id, new_level); in debug_input_level_fn()
/linux-6.12.1/include/uapi/linux/raid/
Dmd_p.h179 __u32 new_level; /* 14 new level we are reshaping to */ member
256 __le32 new_level; /* new level we are reshaping to */ member
/linux-6.12.1/arch/arm64/kvm/vgic/
Dvgic-mmio.c797 bool new_level; in vgic_write_irq_line_level_info() local
809 new_level = !!(val & (1U << i)); in vgic_write_irq_line_level_info()
811 irq->line_level = new_level; in vgic_write_irq_line_level_info()
812 if (new_level) in vgic_write_irq_line_level_info()
/linux-6.12.1/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()
/linux-6.12.1/arch/arm64/kvm/
Darch_timer.c42 static void kvm_timer_update_irq(struct kvm_vcpu *vcpu, bool new_level,
445 static void kvm_timer_update_irq(struct kvm_vcpu *vcpu, bool new_level, in kvm_timer_update_irq() argument
450 timer_ctx->irq.level = new_level; in kvm_timer_update_irq()
/linux-6.12.1/arch/s390/include/asm/
Ddebug.h117 void debug_set_level(debug_info_t *id, int new_level);
/linux-6.12.1/drivers/media/common/siano/
Dsmscoreapi.c2013 u8 new_level) { in smscore_gpio_set_level() argument
2024 if ((new_level > 1) || (pin_num > MAX_GPIO_PIN_NUMBER)) in smscore_gpio_set_level()
2043 p_msg->msg_data[1] = new_level; in smscore_gpio_set_level()
Dsmscoreapi.h1132 u8 new_level);
/linux-6.12.1/drivers/platform/x86/
Dthinkpad_acpi.c7634 u8 new_level, new_mute; in volume_write() local
7656 new_level = s & TP_EC_AUDIO_LVL_MSK; in volume_write()
7664 else if (new_level < TP_EC_VOLUME_MAX) in volume_write()
7665 new_level++; in volume_write()
7670 else if (new_level > 0) in volume_write()
7671 new_level--; in volume_write()
7675 new_level = l; in volume_write()
7694 new_mute ? "" : "un", new_level); in volume_write()
7695 rc = volume_set_status(new_mute | new_level); in volume_write()
/linux-6.12.1/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.12.1/tools/perf/ui/browsers/
Dhists.c1149 const int new_level = level + (extra_offset ? 2 : 1); in hist_browser__show_callchain_graph() local
1152 new_level, row, total, in hist_browser__show_callchain_graph()
/linux-6.12.1/fs/bcachefs/
Dbtree_iter.c1076 unsigned new_level) in btree_path_set_level_down() argument
1080 path->level = new_level; in btree_path_set_level_down()