/Linux-v4.19/drivers/net/bonding/ |
D | bond_options.c | 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); 34 const struct bond_opt_value *newval); 38 const struct bond_opt_value *newval); 40 const struct bond_opt_value *newval); 42 const struct bond_opt_value *newval); 44 const struct bond_opt_value *newval); [all …]
|
D | bond_netlink.c | 139 struct bond_opt_value newval; in bond_slave_changelink() local 152 bond_opt_initstr(&newval, queue_id_str); in bond_slave_changelink() 153 err = __bond_opt_set(bond, BOND_OPT_QUEUE_ID, &newval); in bond_slave_changelink() 166 struct bond_opt_value newval; in bond_changelink() local 176 bond_opt_initval(&newval, mode); in bond_changelink() 177 err = __bond_opt_set(bond, BOND_OPT_MODE, &newval); in bond_changelink() 193 bond_opt_initstr(&newval, active_slave); in bond_changelink() 194 err = __bond_opt_set(bond, BOND_OPT_ACTIVE_SLAVE, &newval); in bond_changelink() 201 bond_opt_initval(&newval, miimon); in bond_changelink() 202 err = __bond_opt_set(bond, BOND_OPT_MIIMON, &newval); in bond_changelink() [all …]
|
/Linux-v4.19/arch/s390/include/asm/ |
D | futex.h | 10 #define __futex_atomic_op(insn, ret, oldval, newval, uaddr, oparg) \ argument 20 : "=d" (ret), "=&d" (oldval), "=&d" (newval), \ 28 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() 67 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 80 : "0" (-EFAULT), "d" (newval), "a" (uaddr), "m" (*uaddr) in futex_atomic_cmpxchg_inatomic()
|
/Linux-v4.19/arch/sh/include/asm/ |
D | futex.h | 23 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 28 return atomic_futex_op_cmpxchg_inatomic(uval, uaddr, oldval, newval); in futex_atomic_cmpxchg_inatomic() 34 u32 oldval, newval, prev; in arch_futex_atomic_op_inuser() local 46 newval = oparg; in arch_futex_atomic_op_inuser() 49 newval = oldval + oparg; in arch_futex_atomic_op_inuser() 52 newval = oldval | oparg; in arch_futex_atomic_op_inuser() 55 newval = oldval & ~oparg; in arch_futex_atomic_op_inuser() 58 newval = oldval ^ oparg; in arch_futex_atomic_op_inuser() 67 ret = futex_atomic_cmpxchg_inatomic(&prev, uaddr, oldval, newval); in arch_futex_atomic_op_inuser()
|
D | futex-cas.h | 7 u32 oldval, u32 newval) in atomic_futex_op_cmpxchg_inatomic() argument 27 :"+r" (err), "+r" (newval) in atomic_futex_op_cmpxchg_inatomic() 31 *uval = newval; in atomic_futex_op_cmpxchg_inatomic()
|
D | futex-llsc.h | 7 u32 oldval, u32 newval) in atomic_futex_op_cmpxchg_inatomic() argument 36 :"r" (uaddr), "i" (-EFAULT), "r" (oldval), "r" (newval) in atomic_futex_op_cmpxchg_inatomic()
|
/Linux-v4.19/drivers/hwmon/ |
D | asc7621.c | 485 u8 currval, newval = 0; in store_ap2_temp() local 496 newval = i; in store_ap2_temp() 501 newval = (newval & param->mask[0]) << param->shift[0]; in store_ap2_temp() 503 newval |= (currval & ~(param->mask[0] << param->shift[0])); in store_ap2_temp() 504 data->reg[param->msb[0]] = newval; in store_ap2_temp() 505 write_byte(client, param->msb[0], newval); in store_ap2_temp() 535 u8 currval, config, altbit, newval; in store_pwm_ac() local 561 newval = config | (currval & ~(param->mask[0] << param->shift[0])); in store_pwm_ac() 562 newval = altbit | (newval & ~(param->mask[1] << param->shift[1])); in store_pwm_ac() 563 data->reg[param->msb[0]] = newval; in store_pwm_ac() [all …]
|
/Linux-v4.19/tools/testing/selftests/futex/include/ |
D | atomic.h | 40 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) in atomic_cmpxchg() argument 42 return __sync_val_compare_and_swap(&addr->val, oldval, newval); in atomic_cmpxchg() 77 atomic_set(atomic_t *addr, int newval) in atomic_set() argument 79 addr->val = newval; in atomic_set() 80 return newval; in atomic_set()
|
D | futextest.h | 223 futex_cmpxchg(futex_t *uaddr, u_int32_t oldval, u_int32_t newval) in futex_cmpxchg() argument 225 return __sync_val_compare_and_swap(uaddr, oldval, newval); in futex_cmpxchg() 260 futex_set(futex_t *uaddr, u_int32_t newval) in futex_set() argument 262 *uaddr = newval; in futex_set() 263 return newval; in futex_set()
|
/Linux-v4.19/arch/sparc/kernel/ |
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()
|
/Linux-v4.19/scripts/kconfig/ |
D | symbol.c | 323 struct symbol_value newval, oldval; in sym_calc_value() local 348 newval = symbol_empty.curr; in sym_calc_value() 352 newval = symbol_no.curr; in sym_calc_value() 367 sym->curr = newval; in sym_calc_value() 374 newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no; in sym_calc_value() 381 newval.tri = EXPR_AND(sym->def[S_DEF_USER].tri, in sym_calc_value() 391 newval.tri = EXPR_AND(expr_calc_value(prop->expr), in sym_calc_value() 393 if (newval.tri != no) in sym_calc_value() 398 newval.tri = EXPR_OR(newval.tri, sym->implied.tri); in sym_calc_value() 404 newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri); in sym_calc_value() [all …]
|
/Linux-v4.19/tools/include/asm-generic/ |
D | atomic-gcc.h | 64 #define cmpxchg(ptr, oldval, newval) \ argument 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()
|
/Linux-v4.19/Documentation/translations/zh_CN/arm/ |
D | kernel_user_helpers.txt | 136 int __kuser_cmpxchg(int32_t oldval, int32_t newval, volatile int32_t *ptr); 141 r1 = newval 156 仅在 *ptr 为 oldval 时原子保存 newval 于 *ptr 中。 163 typedef int (__kuser_cmpxchg_t)(int oldval, int newval, volatile int *ptr); 229 const int64_t *newval, 235 r1 = 指向 newval 250 仅在 *ptr 等于 *oldval 指向的 64 位值时,原子保存 *newval 260 const int64_t *newval,
|
/Linux-v4.19/arch/mips/paravirt/ |
D | paravirt-smp.c | 31 int newval; in set_numcpus() local 33 if (get_option(&str, &newval)) { in set_numcpus() 34 if (newval < 1 || newval >= NR_CPUS) in set_numcpus() 36 numcpus = newval; in set_numcpus()
|
/Linux-v4.19/arch/sparc/include/asm/ |
D | futex_64.h | 73 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 90 : "+r" (ret), "=r" (newval) in futex_atomic_cmpxchg_inatomic() 91 : "1" (newval), "r" (oldval), "r" (uaddr), "i" (-EFAULT) in futex_atomic_cmpxchg_inatomic() 94 *uval = newval; in futex_atomic_cmpxchg_inatomic()
|
/Linux-v4.19/arch/ia64/include/asm/ |
D | futex.h | 26 int val, newval; \ 39 "=&r" (newval) \ 87 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 102 : "r" (uaddr), "r" (newval), in futex_atomic_cmpxchg_inatomic()
|
/Linux-v4.19/drivers/net/phy/ |
D | micrel.c | 352 int newval; in ksz9021_load_values_from_of() local 371 newval = kszphy_extended_read(phydev, reg); in ksz9021_load_values_from_of() 373 newval = 0; in ksz9021_load_values_from_of() 376 newval = ((newval & 0xfff0) | ((val1 / PS_TO_REG) & 0xf) << 0); in ksz9021_load_values_from_of() 379 newval = ((newval & 0xff0f) | ((val2 / PS_TO_REG) & 0xf) << 4); in ksz9021_load_values_from_of() 382 newval = ((newval & 0xf0ff) | ((val3 / PS_TO_REG) & 0xf) << 8); in ksz9021_load_values_from_of() 385 newval = ((newval & 0x0fff) | ((val4 / PS_TO_REG) & 0xf) << 12); in ksz9021_load_values_from_of() 387 return kszphy_extended_write(phydev, reg, newval); in ksz9021_load_values_from_of() 471 u16 newval; in ksz9031_of_load_skew_values() local 482 newval = ksz9031_extended_read(phydev, OP_DATA, 2, reg); in ksz9031_of_load_skew_values() [all …]
|
/Linux-v4.19/kernel/ |
D | sysctl_binary.c | 25 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen); 906 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_dir() argument 913 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_string() argument 942 if (newval && newlen) { in bin_string() 945 result = vfs_write(file, newval, newlen, &pos); in bin_string() 956 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_intvec() argument 998 if (newval && newlen) { in bin_intvec() 999 unsigned __user *vec = newval; in bin_intvec() 1029 void __user *oldval, size_t oldlen, void __user *newval, size_t newlen) in bin_ulongvec() argument 1071 if (newval && newlen) { in bin_ulongvec() [all …]
|
/Linux-v4.19/drivers/mmc/host/ |
D | sdhci-iproc.c | 120 u32 oldval, newval; in sdhci_iproc_writew() local 139 newval = (oldval & ~mask) | (val << word_shift); in sdhci_iproc_writew() 143 iproc_host->shadow_cmd = newval; in sdhci_iproc_writew() 147 iproc_host->shadow_blk = newval; in sdhci_iproc_writew() 151 sdhci_iproc_writel(host, newval, reg & ~3); in sdhci_iproc_writew() 160 u32 newval = (oldval & ~mask) | (val << byte_shift); in sdhci_iproc_writeb() local 162 sdhci_iproc_writel(host, newval, reg & ~3); in sdhci_iproc_writeb()
|
/Linux-v4.19/net/dccp/ccids/lib/ |
D | tfrc.h | 53 static inline u32 tfrc_ewma(const u32 avg, const u32 newval, const u8 weight) in tfrc_ewma() argument 55 return avg ? (weight * avg + (10 - weight) * newval) / 10 : newval; in tfrc_ewma()
|
/Linux-v4.19/arch/arm/include/asm/ |
D | futex.h | 47 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 70 : "r" (oldval), "r" (newval), "r" (uaddr), "Ir" (-EFAULT) in futex_atomic_cmpxchg_inatomic() 101 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 119 : "r" (oldval), "r" (newval), "r" (uaddr), "Ir" (-EFAULT) in futex_atomic_cmpxchg_inatomic()
|
/Linux-v4.19/arch/arm/mach-omap1/ |
D | clock.c | 82 static __u16 verify_ckctl_value(__u16 newval) in verify_ckctl_value() argument 104 per_exp = (newval >> CKCTL_PERDIV_OFFSET) & 3; in verify_ckctl_value() 105 lcd_exp = (newval >> CKCTL_LCDDIV_OFFSET) & 3; in verify_ckctl_value() 106 arm_exp = (newval >> CKCTL_ARMDIV_OFFSET) & 3; in verify_ckctl_value() 107 dsp_exp = (newval >> CKCTL_DSPDIV_OFFSET) & 3; in verify_ckctl_value() 108 tc_exp = (newval >> CKCTL_TCDIV_OFFSET) & 3; in verify_ckctl_value() 109 dspmmu_exp = (newval >> CKCTL_DSPMMUDIV_OFFSET) & 3; in verify_ckctl_value() 124 newval &= 0xf000; in verify_ckctl_value() 125 newval |= per_exp << CKCTL_PERDIV_OFFSET; in verify_ckctl_value() 126 newval |= lcd_exp << CKCTL_LCDDIV_OFFSET; in verify_ckctl_value() [all …]
|
/Linux-v4.19/include/asm-generic/ |
D | futex.h | 92 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 102 if (val == oldval && unlikely(put_user(newval, uaddr) != 0)) { in futex_atomic_cmpxchg_inatomic() 141 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument
|
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_gmac.c | 115 static void hns_gmac_set_tx_auto_pause_frames(void *mac_drv, u16 newval) in hns_gmac_set_tx_auto_pause_frames() argument 120 GMAC_FC_TX_TIMER_S, newval); in hns_gmac_set_tx_auto_pause_frames() 123 static void hns_gmac_get_tx_auto_pause_frames(void *mac_drv, u16 *newval) in hns_gmac_get_tx_auto_pause_frames() argument 127 *newval = dsaf_get_dev_field(drv, GMAC_FC_TX_TIMER_REG, in hns_gmac_get_tx_auto_pause_frames() 131 static void hns_gmac_set_rx_auto_pause_frames(void *mac_drv, u32 newval) in hns_gmac_set_rx_auto_pause_frames() argument 136 GMAC_PAUSE_EN_RX_FDFC_B, !!newval); in hns_gmac_set_rx_auto_pause_frames() 139 static void hns_gmac_config_max_frame_length(void *mac_drv, u16 newval) in hns_gmac_config_max_frame_length() argument 144 GMAC_MAX_FRM_SIZE_S, newval); in hns_gmac_config_max_frame_length() 147 GMAC_MAX_FRM_SIZE_S, newval); in hns_gmac_config_max_frame_length() 150 static void hns_gmac_config_pad_and_crc(void *mac_drv, u8 newval) in hns_gmac_config_pad_and_crc() argument [all …]
|
/Linux-v4.19/arch/mips/include/asm/ |
D | futex.h | 127 u32 oldval, u32 newval) in futex_atomic_cmpxchg_inatomic() argument 161 : GCC_OFF_SMALL_ASM() (*uaddr), "Jr" (oldval), "Jr" (newval), in futex_atomic_cmpxchg_inatomic() 190 : GCC_OFF_SMALL_ASM() (*uaddr), "Jr" (oldval), "Jr" (newval), in futex_atomic_cmpxchg_inatomic()
|