/linux/arch/x86/include/asm/ |
H A D | futex.h | 15 #define unsafe_atomic_op1(insn, oval, uaddr, oparg, label) \ argument 25 *oval = oldval; \ 29 #define unsafe_atomic_op2(insn, oval, uaddr, oparg, label) \ argument 45 *oval = oldval; \ 48 static __always_inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, in arch_futex_atomic_op_inuser() argument 58 unsafe_atomic_op1("xchgl %0, %2", oval, uaddr, oparg, Efault); in arch_futex_atomic_op_inuser() 61 unsafe_atomic_op1(LOCK_PREFIX "xaddl %0, %2", oval, in arch_futex_atomic_op_inuser() 65 unsafe_atomic_op2("orl %4, %3", oval, uaddr, oparg, Efault); in arch_futex_atomic_op_inuser() 68 unsafe_atomic_op2("andl %4, %3", oval, uaddr, ~oparg, Efault); in arch_futex_atomic_op_inuser() 71 unsafe_atomic_op2("xorl %4, %3", oval, uaddr, oparg, Efault); in arch_futex_atomic_op_inuser()
|
/linux/include/asm-generic/ |
H A D | percpu.h | 116 #define raw_cpu_generic_cmpxchg(pcp, oval, nval) \ argument 118 typeof(pcp) __old = (oval); \ 191 #define this_cpu_generic_cmpxchg(pcp, oval, nval) \ argument 196 __ret = raw_cpu_generic_cmpxchg(pcp, oval, nval); \ 349 #define raw_cpu_cmpxchg_1(pcp, oval, nval) \ argument 350 raw_cpu_generic_cmpxchg(pcp, oval, nval) 353 #define raw_cpu_cmpxchg_2(pcp, oval, nval) \ argument 354 raw_cpu_generic_cmpxchg(pcp, oval, nval) 357 #define raw_cpu_cmpxchg_4(pcp, oval, nval) \ argument 358 raw_cpu_generic_cmpxchg(pcp, oval, nval) [all …]
|
H A D | futex.h | 18 #define arch_futex_atomic_op_inuser(op, oparg, oval, uaddr) \ argument 19 futex_atomic_op_inuser_local(op, oparg, oval, uaddr) 38 futex_atomic_op_inuser_local(int op, u32 oparg, int *oval, u32 __user *uaddr) in futex_atomic_op_inuser_local() argument 79 *oval = oldval; in futex_atomic_op_inuser_local()
|
/linux/Documentation/gpu/dp-mst/ |
H A D | topology-figure-1.dot | 43 mstb1 [label="MSTB #1";style=filled;fillcolor=palegreen;shape=oval]; 44 mstb2 [label="MSTB #2";style=filled;fillcolor=palegreen;shape=oval]; 45 mstb3 [label="MSTB #3";style=filled;fillcolor=palegreen;shape=oval]; 46 mstb4 [label="MSTB #4";style=filled;fillcolor=palegreen;shape=oval]; 48 port1 [label="Port #1";shape=oval]; 49 port2 [label="Port #2";shape=oval]; 50 port3 [label="Port #3";shape=oval]; 51 port4 [label="Port #4";shape=oval];
|
/linux/arch/s390/include/asm/ |
H A D | percpu.h | 135 #define arch_this_cpu_cmpxchg(pcp, oval, nval) \ argument 142 ret__ = cmpxchg(ptr__, oval, nval); \ 147 #define this_cpu_cmpxchg_1(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) argument 148 #define this_cpu_cmpxchg_2(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) argument 149 #define this_cpu_cmpxchg_4(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) argument 150 #define this_cpu_cmpxchg_8(pcp, oval, nval) arch_this_cpu_cmpxchg(pcp, oval, nval) argument 154 #define this_cpu_cmpxchg128(pcp, oval, nval) \ argument 159 old__ = oval; \
|
/linux/sound/isa/sb/ |
H A D | sb_mixer.c | 80 unsigned char val, oval; in snd_sbmixer_put_single() local 84 oval = snd_sbmixer_read(sb, reg); in snd_sbmixer_put_single() 85 val = (oval & ~(mask << shift)) | val; in snd_sbmixer_put_single() 86 change = val != oval; in snd_sbmixer_put_single() 181 unsigned char oval; in snd_dt019x_input_sw_get() local 184 oval = snd_sbmixer_read(sb, SB_DT019X_CAPTURE_SW); in snd_dt019x_input_sw_get() 186 switch (oval & 0x07) { in snd_dt019x_input_sw_get() 218 unsigned char nval, oval; in snd_dt019x_input_sw_put() local 242 oval = snd_sbmixer_read(sb, SB_DT019X_CAPTURE_SW); in snd_dt019x_input_sw_put() 243 change = nval != oval; in snd_dt019x_input_sw_put() [all …]
|
/linux/net/netfilter/ |
H A D | xt_statistic.c | 33 int nval, oval; in statistic_mt() local 42 oval = atomic_read(&info->master->count); in statistic_mt() 43 nval = (oval == info->u.nth.every) ? 0 : oval + 1; in statistic_mt() 44 } while (atomic_cmpxchg(&info->master->count, oval, nval) != oval); in statistic_mt()
|
H A D | nft_numgen.c | 26 u32 nval, oval; in nft_ng_inc_gen() local 29 oval = atomic_read(priv->counter); in nft_ng_inc_gen() 30 nval = (oval + 1 < priv->modulus) ? oval + 1 : 0; in nft_ng_inc_gen() 31 } while (atomic_cmpxchg(priv->counter, oval, nval) != oval); in nft_ng_inc_gen()
|
/linux/sound/ppc/ |
H A D | burgundy.c | 302 int oval; in snd_pmac_burgundy_get_gain() local 304 oval = snd_pmac_burgundy_rcb(chip, addr); in snd_pmac_burgundy_get_gain() 306 oval = ~oval & 0xff; in snd_pmac_burgundy_get_gain() 307 ucontrol->value.integer.value[0] = oval & 0xf; in snd_pmac_burgundy_get_gain() 309 ucontrol->value.integer.value[1] = (oval >> 4) & 0xf; in snd_pmac_burgundy_get_gain() 320 int oval, val; in snd_pmac_burgundy_put_gain() local 322 oval = snd_pmac_burgundy_rcb(chip, addr); in snd_pmac_burgundy_put_gain() 324 oval = ~oval & 0xff; in snd_pmac_burgundy_put_gain() 333 return val != oval; in snd_pmac_burgundy_put_gain() 380 int val, oval; in snd_pmac_burgundy_put_switch_w() local [all …]
|
/linux/sound/pci/ice1712/ |
H A D | pontis.c | 128 unsigned short oval, nval; in wm_dac_vol_put() local 136 oval = wm_get(ice, idx) & 0xff; in wm_dac_vol_put() 137 if (oval != nval) { in wm_dac_vol_put() 221 unsigned short oval, nval; in wm_adc_mux_put() local 225 nval = oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put() 230 change = nval != oval; in wm_adc_mux_put() 256 unsigned short val, oval; in wm_bypass_put() local 260 val = oval = wm_get(ice, WM_OUT_MUX); in wm_bypass_put() 265 if (val != oval) { in wm_bypass_put() 291 unsigned short val, oval; in wm_chswap_put() local [all …]
|
H A D | prodigy_hifi.c | 548 unsigned short oval, nval; in wm_adc_mux_enum_put() local 552 oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_enum_put() 553 nval = (oval & 0xe0) | ucontrol->value.enumerated.item[0]; in wm_adc_mux_enum_put() 554 if (nval != oval) { in wm_adc_mux_enum_put() 644 unsigned short oval, nval; in wm_adc_mux_put() local 648 nval = oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put() 653 change = nval != oval; in wm_adc_mux_put() 682 unsigned short val, oval; in wm_bypass_put() local 686 val = oval = wm_get(ice, WM_OUT_MUX); in wm_bypass_put() 691 if (val != oval) { in wm_bypass_put() [all …]
|
H A D | aureon.c | 211 unsigned char oval, nval; in aureon_universe_inmux_put() local 218 oval = spec->pca9554_out; in aureon_universe_inmux_put() 219 change = (oval != nval); in aureon_universe_inmux_put() 716 unsigned short nval, oval; in wm_pcm_mute_put() local 720 oval = wm_get(ice, WM_MUTE); in wm_pcm_mute_put() 721 nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); in wm_pcm_mute_put() 722 change = (oval != nval); in wm_pcm_mute_put() 1111 unsigned short oval, nval; in wm_adc_mux_put() local 1115 oval = wm_get(ice, WM_ADC_MUX); in wm_adc_mux_put() 1116 nval = oval & ~0x77; in wm_adc_mux_put() [all …]
|
/linux/drivers/scsi/aic94xx/ |
H A D | aic94xx_reg.h | 211 u16 oval = asd_ddbsite_read_word(asd_ha, ddb_site_no, offs); in asd_ddbsite_update_word() local 212 if (oval != oldval) in asd_ddbsite_update_word() 232 u16 oval; in asd_ddbsite_update_byte() local 238 oval = (_oldval << 8) | (nval & 0xFF); in asd_ddbsite_update_byte() 243 oval = (nval & 0xFF00) | _oldval; in asd_ddbsite_update_byte() 245 return asd_ddbsite_update_word(asd_ha, ddb_site_no, base, oval, nval); in asd_ddbsite_update_byte()
|
/linux/arch/xtensa/include/asm/ |
H A D | futex.h | 73 static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, in arch_futex_atomic_op_inuser() argument 108 *oval = oldval; in arch_futex_atomic_op_inuser() 112 return futex_atomic_op_inuser_local(op, oparg, oval, uaddr); in arch_futex_atomic_op_inuser()
|
/linux/Documentation/bpf/ |
H A D | map_lru_hash_update.dot | 18 begin [shape=oval,label="begin\nbpf_map_update()"] 89 fn_htab_lru_map_update_elem_ENOMEM [shape=oval,label="return -ENOMEM"] 94 fn_htab_lru_map_update_elem5 [shape=oval,label="return 0"] 95 fn_htab_lru_map_update_elem_EBUSY [shape=oval,label="return -EBUSY"] 96 fn_htab_lru_map_update_elem_EEXIST [shape=oval,label="return -EEXIST"] 97 fn_htab_lru_map_update_elem_ENOENT [shape=oval,label="return -ENOENT"]
|
/linux/fs/dlm/ |
H A D | midcomms.c | 403 uint32_t oval, nval; in dlm_send_ack_threshold() local 408 oval = atomic_read(&node->ulp_delivered); in dlm_send_ack_threshold() 409 send_ack = (oval > threshold); in dlm_send_ack_threshold() 416 } while (atomic_cmpxchg(&node->ulp_delivered, oval, nval) != oval); in dlm_send_ack_threshold() 523 uint32_t oval, nval; in dlm_midcomms_receive_buffer() local 526 oval = atomic_read(&node->seq_next); in dlm_midcomms_receive_buffer() 527 is_expected_seq = (oval == seq); in dlm_midcomms_receive_buffer() 531 nval = oval + 1; in dlm_midcomms_receive_buffer() 532 } while (atomic_cmpxchg(&node->seq_next, oval, nval) != oval); in dlm_midcomms_receive_buffer() 599 if (seq < oval) in dlm_midcomms_receive_buffer() [all …]
|
/linux/arch/mips/include/asm/ |
H A D | futex.h | 88 ret = futex_atomic_op_inuser_local(op, oparg, oval, uaddr); \ 93 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() argument 126 *oval = oldval; in arch_futex_atomic_op_inuser()
|
/linux/include/linux/ |
H A D | percpu-defs.h | 417 #define raw_cpu_cmpxchg(pcp, oval, nval) \ argument 418 __pcpu_size_call_return2(raw_cpu_cmpxchg_, pcp, oval, nval) 474 #define __this_cpu_cmpxchg(pcp, oval, nval) \ argument 477 raw_cpu_cmpxchg(pcp, oval, nval); \ 504 #define this_cpu_cmpxchg(pcp, oval, nval) \ argument 505 __pcpu_size_call_return2(this_cpu_cmpxchg_, pcp, oval, nval)
|
/linux/sound/isa/gus/ |
H A D | gus_mixer.c | 44 unsigned char oval, nval; in snd_gf1_put_single() local 51 oval = gus->mix_cntrl_reg; in snd_gf1_put_single() 52 nval = (oval & ~(1 << shift)) | nval; in snd_gf1_put_single() 53 change = nval != oval; in snd_gf1_put_single()
|
/linux/sound/usb/ |
H A D | mixer_scarlett.c | 267 int err, oval, val; in scarlett_ctl_switch_put() local 270 err = snd_usb_get_cur_mix_value(elem, i, i, &oval); in scarlett_ctl_switch_put() 276 if (oval != val) { in scarlett_ctl_switch_put() 338 int err, oval, val; in scarlett_ctl_put() local 341 err = snd_usb_get_cur_mix_value(elem, i, i, &oval); in scarlett_ctl_put() 348 if (oval != val) { in scarlett_ctl_put() 432 int err, oval, val; in scarlett_ctl_enum_put() local 434 err = snd_usb_get_cur_mix_value(elem, 0, 0, &oval); in scarlett_ctl_enum_put() 440 if (val != oval) { in scarlett_ctl_enum_put()
|
/linux/sound/i2c/other/ |
H A D | ak4xxx-adda.c | 515 unsigned char val, oval; in ak4xxx_switch_put() local 520 oval = snd_akm4xxx_get(ak, chip, addr); in ak4xxx_switch_put() 522 val = oval | (1<<shift); in ak4xxx_switch_put() 524 val = oval & ~(1<<shift); in ak4xxx_switch_put() 525 change = (oval != val); in ak4xxx_switch_put() 581 unsigned char oval, val; in ak4xxx_capture_source_put() local 587 oval = snd_akm4xxx_get(ak, chip, addr); in ak4xxx_capture_source_put() 588 val = oval & ~mask; in ak4xxx_capture_source_put() 590 if (val != oval) { in ak4xxx_capture_source_put()
|
/linux/arch/sh/include/asm/ |
H A D | futex.h | 29 static inline int arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, in arch_futex_atomic_op_inuser() argument 67 *oval = oldval; in arch_futex_atomic_op_inuser()
|
/linux/arch/sparc/include/asm/ |
H A D | futex_64.h | 33 static inline int arch_futex_atomic_op_inuser(int op, int oparg, int *oval, in arch_futex_atomic_op_inuser() argument 62 *oval = oldval; in arch_futex_atomic_op_inuser()
|
/linux/arch/openrisc/include/asm/ |
H A D | futex.h | 34 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() argument 62 *oval = oldval; in arch_futex_atomic_op_inuser()
|
/linux/arch/hexagon/include/asm/ |
H A D | futex.h | 35 arch_futex_atomic_op_inuser(int op, int oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() argument 67 *oval = oldval; in arch_futex_atomic_op_inuser()
|