/linux-6.1.9/kernel/futex/ |
D | pi.c | 202 static int attach_to_pi_state(u32 __user *uaddr, u32 uval, in attach_to_pi_state() argument 206 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_state() 245 if (uval != uval2) in attach_to_pi_state() 251 if (uval & FUTEX_OWNER_DIED) { in attach_to_pi_state() 320 static int handle_exit_race(u32 __user *uaddr, u32 uval, in handle_exit_race() argument 365 if (uval2 != uval) in handle_exit_race() 410 static int attach_to_pi_owner(u32 __user *uaddr, u32 uval, union futex_key *key, in attach_to_pi_owner() argument 414 pid_t pid = uval & FUTEX_TID_MASK; in attach_to_pi_owner() 428 return handle_exit_race(uaddr, uval, NULL); in attach_to_pi_owner() 447 int ret = handle_exit_race(uaddr, uval, p); in attach_to_pi_owner() [all …]
|
D | waitwake.c | 404 u32 uval; in futex_wait_multiple_setup() local 441 ret = futex_get_value_locked(&uval, uaddr); in futex_wait_multiple_setup() 443 if (!ret && uval == val) { in futex_wait_multiple_setup() 473 if (get_user(uval, uaddr)) in futex_wait_multiple_setup() 480 if (uval != val) in futex_wait_multiple_setup() 580 u32 uval; in futex_wait_setup() local 609 ret = futex_get_value_locked(&uval, uaddr); in futex_wait_setup() 614 ret = get_user(uval, uaddr); in futex_wait_setup() 624 if (uval != val) { in futex_wait_setup()
|
D | core.c | 440 int futex_cmpxchg_value_locked(u32 *curval, u32 __user *uaddr, u32 uval, u32 newval) in futex_cmpxchg_value_locked() argument 445 ret = futex_atomic_cmpxchg_inatomic(curval, uaddr, uval, newval); in futex_cmpxchg_value_locked() 640 u32 uval, nval, mval; in handle_futex_death() local 649 if (get_user(uval, uaddr)) in handle_futex_death() 688 owner = uval & FUTEX_TID_MASK; in handle_futex_death() 708 mval = (uval & FUTEX_WAITERS) | FUTEX_OWNER_DIED; in handle_futex_death() 719 if ((err = futex_cmpxchg_value_locked(&nval, uaddr, uval, mval))) { in handle_futex_death() 736 if (nval != uval) in handle_futex_death() 743 if (!pi && (uval & FUTEX_WAITERS)) in handle_futex_death()
|
/linux-6.1.9/drivers/net/dsa/xrs700x/ |
D | xrs700x_mdio.c | 29 u16 uval; in xrs700x_mdio_reg_read() local 32 uval = (u16)FIELD_GET(GENMASK(31, 16), reg); in xrs700x_mdio_reg_read() 34 ret = mdiodev_write(mdiodev, XRS_MDIO_IBA1, uval); in xrs700x_mdio_reg_read() 40 uval = (u16)((reg & GENMASK(15, 1)) | XRS_IB_READ); in xrs700x_mdio_reg_read() 42 ret = mdiodev_write(mdiodev, XRS_MDIO_IBA0, uval); in xrs700x_mdio_reg_read() 64 u16 uval; in xrs700x_mdio_reg_write() local 73 uval = (u16)FIELD_GET(GENMASK(31, 16), reg); in xrs700x_mdio_reg_write() 75 ret = mdiodev_write(mdiodev, XRS_MDIO_IBA1, uval); in xrs700x_mdio_reg_write() 81 uval = (u16)((reg & GENMASK(15, 1)) | XRS_IB_WRITE); in xrs700x_mdio_reg_write() 83 ret = mdiodev_write(mdiodev, XRS_MDIO_IBA0, uval); in xrs700x_mdio_reg_write()
|
/linux-6.1.9/lib/ |
D | packing.c | 89 int packing(void *pbuf, u64 *uval, int startbit, int endbit, size_t pbuflen, in packing() argument 114 if (op == PACK && value_width < 64 && (*uval >= (1ull << value_width))) in packing() 123 *uval = 0; in packing() 190 *uval &= ~proj_mask; in packing() 191 *uval |= pval; in packing() 196 pval = (*uval) & proj_mask; in packing()
|
/linux-6.1.9/include/asm-generic/ |
D | futex.h | 16 #define futex_atomic_cmpxchg_inatomic(uval, uaddr, oldval, newval) \ argument 17 futex_atomic_cmpxchg_inatomic_local(uval, uaddr, oldval, newval) 99 futex_atomic_cmpxchg_inatomic_local(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic_local() argument 115 *uval = val; in futex_atomic_cmpxchg_inatomic_local()
|
/linux-6.1.9/sound/firewire/bebob/ |
D | bebob_maudio.c | 368 struct snd_ctl_elem_value *uval) in special_clk_ctl_get() argument 372 uval->value.enumerated.item[0] = params->clk_src; in special_clk_ctl_get() 376 struct snd_ctl_elem_value *uval) in special_clk_ctl_put() argument 382 id = uval->value.enumerated.item[0]; in special_clk_ctl_put() 420 struct snd_ctl_elem_value *uval) in special_sync_ctl_get() argument 428 uval->value.integer.value[0] = synced; in special_sync_ctl_get() 452 struct snd_ctl_elem_value *uval) in special_dig_in_iface_ctl_get() argument 476 uval->value.enumerated.item[0] = val; in special_dig_in_iface_ctl_get() 482 struct snd_ctl_elem_value *uval) in special_dig_in_iface_ctl_set() argument 489 id = uval->value.enumerated.item[0]; in special_dig_in_iface_ctl_set() [all …]
|
/linux-6.1.9/arch/xtensa/include/asm/ |
D | futex.h | 117 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument 157 : [addr] "r" (uaddr), [oldval] "r" (oldval), [uval] "r" (uval), in futex_atomic_cmpxchg_inatomic() 163 return futex_atomic_cmpxchg_inatomic_local(uval, uaddr, oldval, newval); in futex_atomic_cmpxchg_inatomic()
|
/linux-6.1.9/arch/arm/include/asm/ |
D | futex.h | 46 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument 75 *uval = val; in futex_atomic_cmpxchg_inatomic() 100 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument 124 *uval = val; in futex_atomic_cmpxchg_inatomic()
|
/linux-6.1.9/arch/arc/kernel/ |
D | process.c | 49 u32 uval; in SYSCALL_DEFINE3() local 70 ret = __get_user(uval, uaddr); in SYSCALL_DEFINE3() 74 if (uval != expected) in SYSCALL_DEFINE3() 85 return uval; in SYSCALL_DEFINE3()
|
/linux-6.1.9/arch/sh/include/asm/ |
D | futex-llsc.h | 5 static inline int atomic_futex_op_cmpxchg_inatomic(u32 *uval, in atomic_futex_op_cmpxchg_inatomic() argument 35 :"+r" (err), "=&r" (*uval) in atomic_futex_op_cmpxchg_inatomic()
|
D | futex-cas.h | 5 static inline int atomic_futex_op_cmpxchg_inatomic(u32 *uval, in atomic_futex_op_cmpxchg_inatomic() argument 31 *uval = newval; in atomic_futex_op_cmpxchg_inatomic()
|
D | futex-irq.h | 5 static inline int atomic_futex_op_cmpxchg_inatomic(u32 *uval, in atomic_futex_op_cmpxchg_inatomic() argument 21 *uval = prev; in atomic_futex_op_cmpxchg_inatomic()
|
D | futex.h | 20 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument 26 return atomic_futex_op_cmpxchg_inatomic(uval, uaddr, oldval, newval); in futex_atomic_cmpxchg_inatomic()
|
/linux-6.1.9/sound/core/ |
D | vmaster.c | 316 struct snd_ctl_elem_value *uval; in sync_followers() local 318 uval = kmalloc(sizeof(*uval), GFP_KERNEL); in sync_followers() 319 if (!uval) in sync_followers() 323 uval->id = follower->follower.id; in sync_followers() 324 follower_get_val(follower, uval); in sync_followers() 326 follower_put_val(follower, uval); in sync_followers() 328 kfree(uval); in sync_followers()
|
/linux-6.1.9/arch/mips/include/asm/ |
D | futex.h | 132 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument 202 return futex_atomic_cmpxchg_inatomic_local(uval, uaddr, oldval, newval); in futex_atomic_cmpxchg_inatomic() 205 *uval = val; in futex_atomic_cmpxchg_inatomic()
|
/linux-6.1.9/tools/perf/util/ |
D | stat-display.c | 538 struct evsel *counter, double uval, in printout() argument 636 abs_printout(config, id, nr, counter, uval); in printout() 651 perf_stat__print_shadow_stats(config, counter, uval, in printout() 827 double uval; in print_counter_aggrdata() local 849 uval = val * counter->scale; in print_counter_aggrdata() 853 printout(config, id, nr, counter, uval, in print_counter_aggrdata() 906 double uval; in sort_aggr_thread() local 926 uval = val * counter->scale; in sort_aggr_thread() 932 if (uval == 0.0 && target__has_per_thread(_target)) in sort_aggr_thread() 938 buf[i].uval = uval; in sort_aggr_thread() [all …]
|
/linux-6.1.9/arch/openrisc/include/asm/ |
D | futex.h | 68 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument 98 *uval = prev; in futex_atomic_cmpxchg_inatomic()
|
/linux-6.1.9/arch/sparc/include/asm/ |
D | futex_64.h | 68 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument 90 *uval = newval; in futex_atomic_cmpxchg_inatomic()
|
/linux-6.1.9/arch/loongarch/include/asm/ |
D | futex.h | 72 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 102 *uval = val; in futex_atomic_cmpxchg_inatomic()
|
/linux-6.1.9/arch/microblaze/include/asm/ |
D | futex.h | 67 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument 93 *uval = prev; in futex_atomic_cmpxchg_inatomic()
|
/linux-6.1.9/arch/hexagon/include/asm/ |
D | futex.h | 73 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, in futex_atomic_cmpxchg_inatomic() argument 102 *uval = prev; in futex_atomic_cmpxchg_inatomic()
|
/linux-6.1.9/arch/s390/include/asm/ |
D | futex.h | 63 static inline int futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument 77 *uval = oldval; in futex_atomic_cmpxchg_inatomic()
|
/linux-6.1.9/arch/alpha/include/asm/ |
D | futex.h | 64 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument 90 *uval = prev; in futex_atomic_cmpxchg_inatomic()
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | futex.h | 66 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, in futex_atomic_cmpxchg_inatomic() argument 95 *uval = prev; in futex_atomic_cmpxchg_inatomic()
|