/linux-master/arch/sh/include/asm/ |
H A D | futex-cas.h | 5 static inline int atomic_futex_op_cmpxchg_inatomic(u32 *uval, argument 31 *uval = newval;
|
H A D | futex-llsc.h | 5 static inline int atomic_futex_op_cmpxchg_inatomic(u32 *uval, argument 35 :"+r" (err), "=&r" (*uval)
|
H A D | futex-irq.h | 5 static inline int atomic_futex_op_cmpxchg_inatomic(u32 *uval, argument 21 *uval = prev;
|
H A D | futex.h | 20 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, argument 26 return atomic_futex_op_cmpxchg_inatomic(uval, uaddr, oldval, newval);
|
/linux-master/arch/um/include/asm/ |
H A D | futex.h | 11 int futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,
|
/linux-master/include/linux/ |
H A D | packing.h | 27 * @uval: Pointer to an u64 holding the unpacked value. 34 * @op: If PACK, then uval will be treated as const pointer and copied (packed) 37 * value between startbit and endbit will be copied (unpacked) to uval. 44 * If op is UNPACK, uval is modified. 46 int packing(void *pbuf, u64 *uval, int startbit, int endbit, size_t pbuflen,
|
/linux-master/include/asm-generic/ |
H A D | futex.h | 16 #define futex_atomic_cmpxchg_inatomic(uval, uaddr, oldval, newval) \ 17 futex_atomic_cmpxchg_inatomic_local(uval, uaddr, oldval, newval) 88 * @uval: pointer to store content of @uaddr 99 futex_atomic_cmpxchg_inatomic_local(u32 *uval, u32 __user *uaddr, argument 115 *uval = val;
|
/linux-master/drivers/net/dsa/xrs700x/ |
H A D | xrs700x_mdio.c | 29 u16 uval; local 32 uval = (u16)FIELD_GET(GENMASK(31, 16), reg); 34 ret = mdiodev_write(mdiodev, XRS_MDIO_IBA1, uval); 40 uval = (u16)((reg & GENMASK(15, 1)) | XRS_IB_READ); 42 ret = mdiodev_write(mdiodev, XRS_MDIO_IBA0, uval); 64 u16 uval; local 73 uval = (u16)FIELD_GET(GENMASK(31, 16), reg); 75 ret = mdiodev_write(mdiodev, XRS_MDIO_IBA1, uval); 81 uval = (u16)((reg & GENMASK(15, 1)) | XRS_IB_WRITE); 83 ret = mdiodev_write(mdiodev, XRS_MDIO_IBA0, uval); [all...] |
/linux-master/kernel/futex/ |
H A D | pi.c | 176 * {uval, pi_state} 203 static int attach_to_pi_state(u32 __user *uaddr, u32 uval, argument 207 pid_t pid = uval & FUTEX_TID_MASK; 238 * Since {uval, pi_state} is serialized by wait_lock, and our current 239 * uval was read without holding it, it can have changed. Verify it 246 if (uval != uval2) 252 if (uval & FUTEX_OWNER_DIED) { 321 static int handle_exit_race(u32 __user *uaddr, u32 uval, argument 366 if (uval2 != uval) 411 static int attach_to_pi_owner(u32 __user *uaddr, u32 uval, unio argument 475 lock_pi_update_atomic(u32 __user *uaddr, u32 uval, u32 newval) argument 522 u32 uval, newval, vpid = task_pid_vnr(task); local 614 wake_futex_pi(u32 __user *uaddr, u32 uval, struct futex_pi_state *pi_state, struct rt_mutex_waiter *top_waiter) argument 676 u32 uval, curval, newval, newtid; local 1114 u32 curval, uval, vpid = task_pid_vnr(current); local [all...] |
/linux-master/lib/ |
H A D | packing.c | 57 * @uval: Pointer to an u64 holding the unpacked value. 65 * @op: If PACK, then uval will be treated as const pointer and copied (packed) 68 * value between startbit and endbit will be copied (unpacked) to uval. 75 * If op is UNPACK, uval is modified. 77 int packing(void *pbuf, u64 *uval, int startbit, int endbit, size_t pbuflen, argument 80 /* Number of bits for storing "uval" 98 /* Check if "uval" fits in "value_width" bits. 100 * 64-bit uval will surely fit. 102 if (op == PACK && value_width < 64 && (*uval >= (1ull << value_width))) 103 /* Cannot store "uval" insid [all...] |
/linux-master/drivers/hwmon/ |
H A D | max31827.c | 201 unsigned int uval; local 209 MAX31827_CONFIGURATION_REG, &uval); 213 uval = FIELD_GET(MAX31827_CONFIGURATION_1SHOT_MASK | 215 uval); 216 *val = !!uval; 249 ret = regmap_read(st->regmap, MAX31827_T_REG, &uval); 256 *val = MAX31827_16_BIT_TO_M_DGR(uval); 260 ret = regmap_read(st->regmap, MAX31827_TH_REG, &uval); 264 *val = MAX31827_16_BIT_TO_M_DGR(uval); 268 &uval); [all...] |
/linux-master/arch/xtensa/include/asm/ |
H A D | futex.h | 117 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, argument 131 " s32i %[tmp], %[uval], 0\n" 140 " s32i %[newval], %[uval], 0\n" 157 : [addr] "r" (uaddr), [oldval] "r" (oldval), [uval] "r" (uval), 163 return futex_atomic_cmpxchg_inatomic_local(uval, uaddr, oldval, newval);
|
/linux-master/arch/arm/include/asm/ |
H A D | futex.h | 46 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, argument 75 *uval = val; 100 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, argument 124 *uval = val;
|
/linux-master/arch/openrisc/include/asm/ |
H A D | futex.h | 68 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, argument 98 *uval = prev;
|
/linux-master/arch/sparc/include/asm/ |
H A D | futex_64.h | 68 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, argument 90 *uval = newval;
|
/linux-master/arch/microblaze/include/asm/ |
H A D | futex.h | 67 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, argument 93 *uval = prev;
|
/linux-master/arch/alpha/include/asm/ |
H A D | futex.h | 64 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, argument 90 *uval = prev;
|
/linux-master/arch/powerpc/include/asm/ |
H A D | futex.h | 66 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, argument 95 *uval = prev;
|
/linux-master/arch/hexagon/include/asm/ |
H A D | futex.h | 73 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, argument 102 *uval = prev;
|
/linux-master/arch/s390/include/asm/ |
H A D | futex.h | 63 static inline int futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, argument 77 *uval = oldval;
|
/linux-master/arch/loongarch/include/asm/ |
H A D | futex.h | 66 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, u32 newval) argument 89 *uval = val;
|
/linux-master/arch/mips/include/asm/ |
H A D | futex.h | 132 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, argument 202 return futex_atomic_cmpxchg_inatomic_local(uval, uaddr, oldval, newval); 205 *uval = val;
|
/linux-master/arch/arc/kernel/ |
H A D | process.c | 49 u32 uval; local 70 ret = __get_user(uval, uaddr); 74 if (uval != expected) 85 return uval;
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_hwmon.c | 430 static int xe_hwmon_pcode_read_i1(struct xe_gt *gt, u32 *uval) argument 438 uval, NULL); 441 static int xe_hwmon_pcode_write_i1(struct xe_gt *gt, u32 uval) argument 445 uval); 452 u32 uval; local 456 ret = xe_hwmon_pcode_read_i1(hwmon->gt, &uval); 460 *value = mul_u64_u32_shr(REG_FIELD_GET(POWER_SETUP_I1_DATA_MASK, uval), 471 u32 uval; local 475 uval = DIV_ROUND_CLOSEST_ULL(value << POWER_SETUP_I1_SHIFT, scale_factor); 476 ret = xe_hwmon_pcode_write_i1(hwmon->gt, uval); 495 u32 uval; local 551 u32 uval; local [all...] |
/linux-master/arch/arc/include/asm/ |
H A D | futex.h | 121 futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 expval, argument 165 *uval = existval;
|