/kernel/linux/linux-6.6/drivers/net/bonding/ |
H A D | bond_options.c | 20 const struct bond_opt_value *newval); 22 const struct bond_opt_value *newval); 24 const struct bond_opt_value *newval); 26 const struct bond_opt_value *newval); 28 const struct bond_opt_value *newval); 30 const struct bond_opt_value *newval); 32 const struct bond_opt_value *newval); 36 const struct bond_opt_value *newval); 38 const struct bond_opt_value *newval); 40 const struct bond_opt_value *newval); 851 bond_option_mode_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_mode_set() argument 891 bond_option_active_slave_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_active_slave_set() argument 955 bond_option_miimon_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_miimon_set() argument 997 _bond_option_delay_set(struct bonding *bond, const struct bond_opt_value *newval, const char *name, int *target) _bond_option_delay_set() argument 1025 bond_option_updelay_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_updelay_set() argument 1032 bond_option_downdelay_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_downdelay_set() argument 1039 bond_option_peer_notif_delay_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_peer_notif_delay_set() argument 1048 bond_option_use_carrier_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_use_carrier_set() argument 1062 bond_option_arp_interval_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_arp_interval_set() argument 1194 bond_option_arp_ip_targets_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_arp_ip_targets_set() argument 1245 bond_option_ns_ip6_targets_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_ns_ip6_targets_set() argument 1278 bond_option_ns_ip6_targets_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_ns_ip6_targets_set() argument 1285 bond_option_arp_validate_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_arp_validate_set() argument 1295 bond_option_arp_all_targets_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_arp_all_targets_set() argument 1305 bond_option_missed_max_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_missed_max_set() argument 1315 bond_option_prio_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_prio_set() argument 1336 bond_option_primary_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_primary_set() argument 1384 bond_option_primary_reselect_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_primary_reselect_set() argument 1398 bond_option_fail_over_mac_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_fail_over_mac_set() argument 1408 bond_option_xmit_hash_policy_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_xmit_hash_policy_set() argument 1418 bond_option_resend_igmp_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_resend_igmp_set() argument 1428 bond_option_num_peer_notif_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_num_peer_notif_set() argument 1436 bond_option_all_slaves_active_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_all_slaves_active_set() argument 1457 bond_option_min_links_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_min_links_set() argument 1468 bond_option_lp_interval_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_lp_interval_set() argument 1476 bond_option_pps_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_pps_set() argument 1496 bond_option_lacp_active_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_lacp_active_set() argument 1506 bond_option_lacp_rate_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_lacp_rate_set() argument 1517 bond_option_ad_select_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_ad_select_set() argument 1527 bond_option_queue_id_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_queue_id_set() argument 1588 bond_option_slaves_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_slaves_set() argument 1636 bond_option_tlb_dynamic_lb_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_tlb_dynamic_lb_set() argument 1646 bond_option_ad_actor_sys_prio_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_ad_actor_sys_prio_set() argument 1658 bond_option_ad_actor_system_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_ad_actor_system_set() argument 1686 bond_option_ad_user_port_key_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_ad_user_port_key_set() argument [all...] |
H A D | bond_netlink.c | 150 struct bond_opt_value newval; in bond_slave_changelink() local 163 bond_opt_initstr(&newval, queue_id_str); in bond_slave_changelink() 164 err = __bond_opt_set(bond, BOND_OPT_QUEUE_ID, &newval, in bond_slave_changelink() 173 bond_opt_slave_initval(&newval, &slave_dev, prio); in bond_slave_changelink() 174 err = __bond_opt_set(bond, BOND_OPT_PRIO, &newval, in bond_slave_changelink() 188 struct bond_opt_value newval; in bond_changelink() local 198 bond_opt_initval(&newval, mode); in bond_changelink() 199 err = __bond_opt_set(bond, BOND_OPT_MODE, &newval, in bond_changelink() 216 bond_opt_initstr(&newval, active_slave); in bond_changelink() 217 err = __bond_opt_set(bond, BOND_OPT_ACTIVE_SLAVE, &newval, in bond_changelink() [all...] |
/kernel/linux/linux-5.10/drivers/net/bonding/ |
H A D | bond_options.c | 20 const struct bond_opt_value *newval); 22 const struct bond_opt_value *newval); 24 const struct bond_opt_value *newval); 26 const struct bond_opt_value *newval); 28 const struct bond_opt_value *newval); 30 const struct bond_opt_value *newval); 32 const struct bond_opt_value *newval); 36 const struct bond_opt_value *newval); 38 const struct bond_opt_value *newval); 40 const struct bond_opt_value *newval); 761 bond_option_mode_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_mode_set() argument 793 bond_option_active_slave_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_active_slave_set() argument 857 bond_option_miimon_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_miimon_set() argument 899 _bond_option_delay_set(struct bonding *bond, const struct bond_opt_value *newval, const char *name, int *target) _bond_option_delay_set() argument 927 bond_option_updelay_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_updelay_set() argument 934 bond_option_downdelay_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_downdelay_set() argument 941 bond_option_peer_notif_delay_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_peer_notif_delay_set() argument 950 bond_option_use_carrier_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_use_carrier_set() argument 964 bond_option_arp_interval_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_arp_interval_set() argument 1096 bond_option_arp_ip_targets_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_arp_ip_targets_set() argument 1122 bond_option_arp_validate_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_arp_validate_set() argument 1132 bond_option_arp_all_targets_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_arp_all_targets_set() argument 1142 bond_option_primary_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_primary_set() argument 1191 bond_option_primary_reselect_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_primary_reselect_set() argument 1205 bond_option_fail_over_mac_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_fail_over_mac_set() argument 1215 bond_option_xmit_hash_policy_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_xmit_hash_policy_set() argument 1225 bond_option_resend_igmp_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_resend_igmp_set() argument 1235 bond_option_num_peer_notif_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_num_peer_notif_set() argument 1243 bond_option_all_slaves_active_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_all_slaves_active_set() argument 1264 bond_option_min_links_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_min_links_set() argument 1275 bond_option_lp_interval_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_lp_interval_set() argument 1283 bond_option_pps_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_pps_set() argument 1303 bond_option_lacp_rate_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_lacp_rate_set() argument 1314 bond_option_ad_select_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_ad_select_set() argument 1324 bond_option_queue_id_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_queue_id_set() argument 1385 bond_option_slaves_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_slaves_set() argument 1433 bond_option_tlb_dynamic_lb_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_tlb_dynamic_lb_set() argument 1443 bond_option_ad_actor_sys_prio_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_ad_actor_sys_prio_set() argument 1455 bond_option_ad_actor_system_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_ad_actor_system_set() argument 1483 bond_option_ad_user_port_key_set(struct bonding *bond, const struct bond_opt_value *newval) bond_option_ad_user_port_key_set() argument [all...] |
H A D | bond_netlink.c | 136 struct bond_opt_value newval; in bond_slave_changelink() local 149 bond_opt_initstr(&newval, queue_id_str); in bond_slave_changelink() 150 err = __bond_opt_set(bond, BOND_OPT_QUEUE_ID, &newval); in bond_slave_changelink() 163 struct bond_opt_value newval; in bond_changelink() local 173 bond_opt_initval(&newval, mode); in bond_changelink() 174 err = __bond_opt_set(bond, BOND_OPT_MODE, &newval); in bond_changelink() 190 bond_opt_initstr(&newval, active_slave); in bond_changelink() 191 err = __bond_opt_set(bond, BOND_OPT_ACTIVE_SLAVE, &newval); in bond_changelink() 198 bond_opt_initval(&newval, miimon); in bond_changelink() 199 err = __bond_opt_set(bond, BOND_OPT_MIIMON, &newval); in bond_changelink() [all...] |
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
H A D | futex.h | 21 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() 26 return atomic_futex_op_cmpxchg_inatomic(uval, uaddr, oldval, newval); in futex_atomic_cmpxchg_inatomic() 32 u32 oldval, newval, prev; in arch_futex_atomic_op_inuser() local 42 newval = oparg; in arch_futex_atomic_op_inuser() 45 newval = oldval + oparg; in arch_futex_atomic_op_inuser() 48 newval = oldval | oparg; in arch_futex_atomic_op_inuser() 51 newval = oldval & ~oparg; in arch_futex_atomic_op_inuser() 54 newval = oldval ^ oparg; in arch_futex_atomic_op_inuser() 63 ret = futex_atomic_cmpxchg_inatomic(&prev, uaddr, oldval, newval); in arch_futex_atomic_op_inuser() 20 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, u32 newval) futex_atomic_cmpxchg_inatomic() argument
|
/kernel/linux/linux-6.6/arch/sh/include/asm/ |
H A D | futex.h | 21 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() 26 return atomic_futex_op_cmpxchg_inatomic(uval, uaddr, oldval, newval); in futex_atomic_cmpxchg_inatomic() 32 u32 oldval, newval, prev; in arch_futex_atomic_op_inuser() local 42 newval = oparg; in arch_futex_atomic_op_inuser() 45 newval = oldval + oparg; in arch_futex_atomic_op_inuser() 48 newval = oldval | oparg; in arch_futex_atomic_op_inuser() 51 newval = oldval & ~oparg; in arch_futex_atomic_op_inuser() 54 newval = oldval ^ oparg; in arch_futex_atomic_op_inuser() 63 ret = futex_atomic_cmpxchg_inatomic(&prev, uaddr, oldval, newval); in arch_futex_atomic_op_inuser() 20 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, u32 newval) futex_atomic_cmpxchg_inatomic() argument
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
H A D | futex.h | 10 #define __futex_atomic_op(insn, ret, oldval, newval, uaddr, oparg) \ 21 : "=d" (ret), "=&d" (oldval), "=&d" (newval), \ 29 int oldval = 0, newval, ret; in arch_futex_atomic_op_inuser() local 36 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 40 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 44 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 48 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 52 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 66 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() 79 : "0" (-EFAULT), "d" (newval), " in futex_atomic_cmpxchg_inatomic() 65 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, u32 newval) futex_atomic_cmpxchg_inatomic() argument [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | global_data_init.c | 8 __u8 *buff = NULL, *newval = NULL; in test_global_data_init() local 24 newval = malloc(sz); in test_global_data_init() 25 if (CHECK_FAIL(!newval)) in test_global_data_init() 28 memset(newval, 0, sz); in test_global_data_init() 30 err = bpf_map__set_initial_value(map, newval, sz - 1); in test_global_data_init() 34 err = bpf_map__set_initial_value(map, newval, sz); in test_global_data_init() 49 if (CHECK(!buff || err || memcmp(buff, newval, sz), in test_global_data_init() 54 memset(newval, 1, sz); in test_global_data_init() 56 err = bpf_map__set_initial_value(map, newval, sz); in test_global_data_init() 60 free(newval); in test_global_data_init() [all...] |
/kernel/linux/linux-6.6/arch/s390/include/asm/ |
H A D | futex.h | 11 #define __futex_atomic_op(insn, ret, oldval, newval, uaddr, oparg) \ 22 : "=d" (ret), "=&d" (oldval), "=&d" (newval), \ 30 int oldval = 0, newval, ret; in arch_futex_atomic_op_inuser() local 35 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 39 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 43 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 47 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 51 ret, oldval, newval, uaddr, oparg); in arch_futex_atomic_op_inuser() 64 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() 75 : "0" (-EFAULT), "d" (newval), " in futex_atomic_cmpxchg_inatomic() 63 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, u32 newval) futex_atomic_cmpxchg_inatomic() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | global_data_init.c | 8 __u8 *buff = NULL, *newval = NULL; in test_global_data_init() local 24 newval = malloc(sz); in test_global_data_init() 25 if (CHECK_FAIL(!newval)) in test_global_data_init() 28 memset(newval, 0, sz); in test_global_data_init() 30 err = bpf_map__set_initial_value(map, newval, sz - 1); in test_global_data_init() 34 err = bpf_map__set_initial_value(map, newval, sz); in test_global_data_init() 49 if (CHECK(!buff || err || memcmp(buff, newval, sz), in test_global_data_init() 54 memset(newval, 1, sz); in test_global_data_init() 56 err = bpf_map__set_initial_value(map, newval, sz); in test_global_data_init() 60 free(newval); in test_global_data_init() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/futex/include/ |
H A D | atomic.h | 31 * @newval: The new value to try and assign the futex 36 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) in atomic_cmpxchg() argument 38 return __sync_val_compare_and_swap(&addr->val, oldval, newval); in atomic_cmpxchg() 68 * @newval: New value for the atomic_t 73 atomic_set(atomic_t *addr, int newval) in atomic_set() argument 75 addr->val = newval; in atomic_set() 76 return newval; in atomic_set()
|
/kernel/linux/linux-6.6/tools/testing/selftests/futex/include/ |
H A D | atomic.h | 31 * @newval: The new value to try and assign the futex 36 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) in atomic_cmpxchg() argument 38 return __sync_val_compare_and_swap(&addr->val, oldval, newval); in atomic_cmpxchg() 68 * @newval: New value for the atomic_t 73 atomic_set(atomic_t *addr, int newval) in atomic_set() argument 75 addr->val = newval; in atomic_set() 76 return newval; in atomic_set()
|
/kernel/linux/linux-6.6/arch/xtensa/include/asm/ |
H A D | futex.h | 28 "2: s32ex %[newval], %[addr]\n" \ 29 " getex %[newval]\n" \ 30 " beqz %[newval], 1b\n" \ 31 " movi %[newval], 0\n" \ 37 " movi %[newval], %[fault]\n" \ 43 : [oldval] "=&r" (old), [newval] "=&r" (ret) \ 53 "2: s32c1i %[newval], %[mem]\n" \ 54 " bne %[newval], %[oldval], 1b\n" \ 55 " movi %[newval], 0\n" \ 61 " movi %[newval], 117 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, u32 newval) futex_atomic_cmpxchg_inatomic() argument [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | asc7621.c | 472 u8 currval, newval = 0; in store_ap2_temp() local 483 newval = i; in store_ap2_temp() 488 newval = (newval & param->mask[0]) << param->shift[0]; in store_ap2_temp() 490 newval |= (currval & ~(param->mask[0] << param->shift[0])); in store_ap2_temp() 491 data->reg[param->msb[0]] = newval; in store_ap2_temp() 492 write_byte(client, param->msb[0], newval); in store_ap2_temp() 522 u8 currval, config, altbit, newval; in store_pwm_ac() local 548 newval = config | (currval & ~(param->mask[0] << param->shift[0])); in store_pwm_ac() 549 newval in store_pwm_ac() 560 u8 config, altbit, minoff, val, newval; show_pwm_enable() local 590 u8 currval, config, altbit, newval, minoff = 255; store_pwm_enable() local 663 u8 currval, newval = 255; store_pwm_freq() local 712 u8 currval, newval = 255; store_pwm_ast() local 759 u8 currval, newval = 255; store_temp_st() local [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | asc7621.c | 472 u8 currval, newval = 0; in store_ap2_temp() local 483 newval = i; in store_ap2_temp() 488 newval = (newval & param->mask[0]) << param->shift[0]; in store_ap2_temp() 490 newval |= (currval & ~(param->mask[0] << param->shift[0])); in store_ap2_temp() 491 data->reg[param->msb[0]] = newval; in store_ap2_temp() 492 write_byte(client, param->msb[0], newval); in store_ap2_temp() 522 u8 currval, config, altbit, newval; in store_pwm_ac() local 548 newval = config | (currval & ~(param->mask[0] << param->shift[0])); in store_pwm_ac() 549 newval in store_pwm_ac() 560 u8 config, altbit, minoff, val, newval; show_pwm_enable() local 590 u8 currval, config, altbit, newval, minoff = 255; store_pwm_enable() local 663 u8 currval, newval = 255; store_pwm_freq() local 712 u8 currval, newval = 255; store_pwm_ast() local 759 u8 currval, newval = 255; store_temp_st() local [all...] |
/kernel/linux/linux-5.10/scripts/kconfig/ |
H A D | symbol.c | 325 struct symbol_value newval, oldval; in sym_calc_value() local 350 newval = symbol_empty.curr; in sym_calc_value() 354 newval = symbol_no.curr; in sym_calc_value() 369 sym->curr = newval; in sym_calc_value() 376 newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no; in sym_calc_value() 383 newval.tri = EXPR_AND(sym->def[S_DEF_USER].tri, in sym_calc_value() 393 newval.tri = EXPR_AND(expr_calc_value(prop->expr), in sym_calc_value() 395 if (newval.tri != no) in sym_calc_value() 400 newval.tri = EXPR_OR(newval in sym_calc_value() 535 tristate oldval, newval; sym_toggle_tristate_value() local 641 sym_set_string_value(struct symbol *sym, const char *newval) sym_set_string_value() argument [all...] |
/kernel/linux/linux-6.6/scripts/kconfig/ |
H A D | symbol.c | 324 struct symbol_value newval, oldval; in sym_calc_value() local 349 newval = symbol_empty.curr; in sym_calc_value() 353 newval = symbol_no.curr; in sym_calc_value() 368 sym->curr = newval; in sym_calc_value() 375 newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no; in sym_calc_value() 382 newval.tri = EXPR_AND(sym->def[S_DEF_USER].tri, in sym_calc_value() 392 newval.tri = EXPR_AND(expr_calc_value(prop->expr), in sym_calc_value() 394 if (newval.tri != no) in sym_calc_value() 399 newval.tri = EXPR_OR(newval in sym_calc_value() 534 tristate oldval, newval; sym_toggle_tristate_value() local 640 sym_set_string_value(struct symbol *sym, const char *newval) sym_set_string_value() argument [all...] |
/kernel/linux/linux-6.6/kernel/futex/ |
H A D | pi.c | 474 static int lock_pi_update_atomic(u32 __user *uaddr, u32 uval, u32 newval) in lock_pi_update_atomic() argument 482 err = futex_cmpxchg_value_locked(&curval, uaddr, uval, newval); in lock_pi_update_atomic() 521 u32 uval, newval, vpid = task_pid_vnr(task); in futex_lock_pi_atomic() local 563 newval = uval & FUTEX_OWNER_DIED; in futex_lock_pi_atomic() 564 newval |= vpid; in futex_lock_pi_atomic() 568 newval |= FUTEX_WAITERS; in futex_lock_pi_atomic() 570 ret = lock_pi_update_atomic(uaddr, uval, newval); in futex_lock_pi_atomic() 598 newval = uval | FUTEX_WAITERS; in futex_lock_pi_atomic() 599 ret = lock_pi_update_atomic(uaddr, uval, newval); in futex_lock_pi_atomic() 607 return attach_to_pi_owner(uaddr, newval, ke in futex_lock_pi_atomic() 619 u32 curval, newval; wake_futex_pi() local 688 u32 uval, curval, newval, newtid; __fixup_pi_state_owner() local [all...] |
/kernel/linux/linux-5.10/tools/include/asm-generic/ |
H A D | atomic-gcc.h | 64 #define cmpxchg(ptr, oldval, newval) \ 65 __sync_val_compare_and_swap(ptr, oldval, newval) 67 static inline int atomic_cmpxchg(atomic_t *v, int oldval, int newval) in atomic_cmpxchg() argument 69 return cmpxchg(&(v)->counter, oldval, newval); in atomic_cmpxchg()
|
/kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
H A D | futex.h | 24 "2: s32ex %[newval], %[addr]\n" \ 25 " getex %[newval]\n" \ 26 " beqz %[newval], 1b\n" \ 27 " movi %[newval], 0\n" \ 33 " movi %[newval], %[fault]\n" \ 39 : [oldval] "=&r" (old), [newval] "=&r" (ret) \ 49 "2: s32c1i %[newval], %[mem]\n" \ 50 " bne %[newval], %[oldval], 1b\n" \ 51 " movi %[newval], 0\n" \ 57 " movi %[newval], 113 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, u32 newval) futex_atomic_cmpxchg_inatomic() argument [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | auxio_64.c | 35 u8 regval, newval; in __auxio_rmw() local 42 newval = regval | bits_on; in __auxio_rmw() 43 newval &= ~bits_off; in __auxio_rmw() 45 newval &= ~AUXIO_AUX1_MASK; in __auxio_rmw() 47 writel((u32) newval, auxio_register); in __auxio_rmw() 49 sbus_writeb(newval, auxio_register); in __auxio_rmw()
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/book3s/64/ |
H A D | tlbflush.h | 167 unsigned long newval) in __pte_flags_need_flush() 169 unsigned long delta = oldval ^ newval; in __pte_flags_need_flush() 183 VM_WARN_ON_ONCE(!__pte_protnone(newval) && newval & _PAGE_PRIVILEGED); in __pte_flags_need_flush() 185 VM_WARN_ON_ONCE(!(newval & _PAGE_PTE)); in __pte_flags_need_flush() 187 VM_WARN_ON_ONCE(!(newval & _PAGE_PRESENT)); in __pte_flags_need_flush() 166 __pte_flags_need_flush(unsigned long oldval, unsigned long newval) __pte_flags_need_flush() argument
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | auxio_64.c | 36 u8 regval, newval; in __auxio_rmw() local 43 newval = regval | bits_on; in __auxio_rmw() 44 newval &= ~bits_off; in __auxio_rmw() 46 newval &= ~AUXIO_AUX1_MASK; in __auxio_rmw() 48 writel((u32) newval, auxio_register); in __auxio_rmw() 50 sbus_writeb(newval, auxio_register); in __auxio_rmw()
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
H A D | futex_64.h | 69 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() 86 : "+r" (ret), "=r" (newval) in futex_atomic_cmpxchg_inatomic() 87 : "1" (newval), "r" (oldval), "r" (uaddr), "i" (-EFAULT) in futex_atomic_cmpxchg_inatomic() 90 *uval = newval; in futex_atomic_cmpxchg_inatomic() 68 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, u32 newval) futex_atomic_cmpxchg_inatomic() argument
|
/kernel/linux/linux-6.6/arch/sparc/include/asm/ |
H A D | futex_64.h | 69 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() 86 : "+r" (ret), "=r" (newval) in futex_atomic_cmpxchg_inatomic() 87 : "1" (newval), "r" (oldval), "r" (uaddr), "i" (-EFAULT) in futex_atomic_cmpxchg_inatomic() 90 *uval = newval; in futex_atomic_cmpxchg_inatomic() 68 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, u32 newval) futex_atomic_cmpxchg_inatomic() argument
|