Home
last modified time | relevance | path

Searched defs:v (Results 1 – 25 of 486) sorted by relevance

12345678910>>...20

/arch/x86/lib/
Datomic64_386_32.S39 #define v %ecx macro
46 #define v %esi macro
53 #define v %esi macro
62 #define v %ecx macro
69 #define v %ecx macro
78 #define v %ecx macro
85 #define v %ecx macro
97 #define v %esi macro
104 #define v %esi macro
115 #define v %esi macro
[all …]
/arch/x86/include/asm/
Datomic.h25 static __always_inline int arch_atomic_read(const atomic_t *v) in arch_atomic_read()
41 static __always_inline void arch_atomic_set(atomic_t *v, int i) in arch_atomic_set()
53 static __always_inline void arch_atomic_add(int i, atomic_t *v) in arch_atomic_add()
67 static __always_inline void arch_atomic_sub(int i, atomic_t *v) in arch_atomic_sub()
83 static __always_inline bool arch_atomic_sub_and_test(int i, atomic_t *v) in arch_atomic_sub_and_test()
95 static __always_inline void arch_atomic_inc(atomic_t *v) in arch_atomic_inc()
108 static __always_inline void arch_atomic_dec(atomic_t *v) in arch_atomic_dec()
123 static __always_inline bool arch_atomic_dec_and_test(atomic_t *v) in arch_atomic_dec_and_test()
137 static __always_inline bool arch_atomic_inc_and_test(atomic_t *v) in arch_atomic_inc_and_test()
152 static __always_inline bool arch_atomic_add_negative(int i, atomic_t *v) in arch_atomic_add_negative()
[all …]
Datomic64_64.h20 static inline s64 arch_atomic64_read(const atomic64_t *v) in arch_atomic64_read()
32 static inline void arch_atomic64_set(atomic64_t *v, s64 i) in arch_atomic64_set()
44 static __always_inline void arch_atomic64_add(s64 i, atomic64_t *v) in arch_atomic64_add()
58 static inline void arch_atomic64_sub(s64 i, atomic64_t *v) in arch_atomic64_sub()
74 static inline bool arch_atomic64_sub_and_test(s64 i, atomic64_t *v) in arch_atomic64_sub_and_test()
86 static __always_inline void arch_atomic64_inc(atomic64_t *v) in arch_atomic64_inc()
100 static __always_inline void arch_atomic64_dec(atomic64_t *v) in arch_atomic64_dec()
116 static inline bool arch_atomic64_dec_and_test(atomic64_t *v) in arch_atomic64_dec_and_test()
130 static inline bool arch_atomic64_inc_and_test(atomic64_t *v) in arch_atomic64_inc_and_test()
145 static inline bool arch_atomic64_add_negative(s64 i, atomic64_t *v) in arch_atomic64_add_negative()
[all …]
Datomic64_32.h74 static inline s64 arch_atomic64_cmpxchg(atomic64_t *v, s64 o, s64 n) in arch_atomic64_cmpxchg()
87 static inline s64 arch_atomic64_xchg(atomic64_t *v, s64 n) in arch_atomic64_xchg()
105 static inline void arch_atomic64_set(atomic64_t *v, s64 i) in arch_atomic64_set()
120 static inline s64 arch_atomic64_read(const atomic64_t *v) in arch_atomic64_read()
134 static inline s64 arch_atomic64_add_return(s64 i, atomic64_t *v) in arch_atomic64_add_return()
145 static inline s64 arch_atomic64_sub_return(s64 i, atomic64_t *v) in arch_atomic64_sub_return()
153 static inline s64 arch_atomic64_inc_return(atomic64_t *v) in arch_atomic64_inc_return()
162 static inline s64 arch_atomic64_dec_return(atomic64_t *v) in arch_atomic64_dec_return()
178 static inline s64 arch_atomic64_add(s64 i, atomic64_t *v) in arch_atomic64_add()
193 static inline s64 arch_atomic64_sub(s64 i, atomic64_t *v) in arch_atomic64_sub()
[all …]
Darchrandom.h30 static inline bool rdrand_long(unsigned long *v) in rdrand_long()
44 static inline bool rdrand_int(unsigned int *v) in rdrand_int()
58 static inline bool rdseed_long(unsigned long *v) in rdseed_long()
67 static inline bool rdseed_int(unsigned int *v) in rdseed_int()
87 static inline bool arch_get_random_long(unsigned long *v) in arch_get_random_long()
92 static inline bool arch_get_random_int(unsigned int *v) in arch_get_random_int()
97 static inline bool arch_get_random_seed_long(unsigned long *v) in arch_get_random_seed_long()
102 static inline bool arch_get_random_seed_int(unsigned int *v) in arch_get_random_seed_int()
/arch/ia64/include/asm/
Datomic.h25 #define atomic_read(v) READ_ONCE((v)->counter) argument
26 #define atomic64_read(v) READ_ONCE((v)->counter) argument
28 #define atomic_set(v,i) WRITE_ONCE(((v)->counter), (i)) argument
29 #define atomic64_set(v,i) WRITE_ONCE(((v)->counter), (i)) argument
78 #define atomic_add_return(i,v) \ argument
86 #define atomic_sub_return(i,v) \ argument
94 #define atomic_fetch_add(i,v) \ argument
102 #define atomic_fetch_sub(i,v) \ argument
114 #define atomic_and(i,v) (void)ia64_atomic_fetch_and(i,v) argument
115 #define atomic_or(i,v) (void)ia64_atomic_fetch_or(i,v) argument
[all …]
/arch/sparc/include/asm/
Datomic_32.h35 #define atomic_set_release(v, i) atomic_set((v), (i)) argument
37 #define atomic_read(v) READ_ONCE((v)->counter) argument
39 #define atomic_add(i, v) ((void)atomic_add_return( (int)(i), (v))) argument
40 #define atomic_sub(i, v) ((void)atomic_add_return(-(int)(i), (v))) argument
42 #define atomic_and(i, v) ((void)atomic_fetch_and((i), (v))) argument
43 #define atomic_or(i, v) ((void)atomic_fetch_or((i), (v))) argument
44 #define atomic_xor(i, v) ((void)atomic_fetch_xor((i), (v))) argument
46 #define atomic_sub_return(i, v) (atomic_add_return(-(int)(i), (v))) argument
47 #define atomic_fetch_sub(i, v) (atomic_fetch_add (-(int)(i), (v))) argument
Datomic_64.h18 #define atomic_read(v) READ_ONCE((v)->counter) argument
19 #define atomic64_read(v) READ_ONCE((v)->counter) argument
21 #define atomic_set(v, i) WRITE_ONCE(((v)->counter), (i)) argument
22 #define atomic64_set(v, i) WRITE_ONCE(((v)->counter), (i)) argument
53 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) in ATOMIC_OPS() argument
60 #define atomic64_cmpxchg(v, o, n) \ argument
62 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) argument
/arch/powerpc/include/asm/
Datomic.h28 static __inline__ int atomic_read(const atomic_t *v) in atomic_read()
37 static __inline__ void atomic_set(atomic_t *v, int i) in atomic_set()
142 static __inline__ int atomic_inc_return_relaxed(atomic_t *v) in atomic_inc_return_relaxed()
159 static __inline__ void atomic_dec(atomic_t *v) in atomic_dec()
175 static __inline__ int atomic_dec_return_relaxed(atomic_t *v) in atomic_dec_return_relaxed()
195 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) argument
196 #define atomic_cmpxchg_relaxed(v, o, n) \ argument
198 #define atomic_cmpxchg_acquire(v, o, n) \ argument
201 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) argument
202 #define atomic_xchg_relaxed(v, new) xchg_relaxed(&((v)->counter), (new)) argument
[all …]
Darchrandom.h9 static inline int arch_get_random_long(unsigned long *v) in arch_get_random_long()
14 static inline int arch_get_random_int(unsigned int *v) in arch_get_random_int()
19 static inline int arch_get_random_seed_long(unsigned long *v) in arch_get_random_seed_long()
26 static inline int arch_get_random_seed_int(unsigned int *v) in arch_get_random_seed_int()
55 static inline int powernv_get_random_real_mode(unsigned long *v) { return 0; } in powernv_get_random_real_mode()
/arch/s390/include/asm/
Datomic.h20 static inline int atomic_read(const atomic_t *v) in atomic_read()
30 static inline void atomic_set(atomic_t *v, int i) in atomic_set()
37 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return()
42 static inline int atomic_fetch_add(int i, atomic_t *v) in atomic_fetch_add()
47 static inline void atomic_add(int i, atomic_t *v) in atomic_add()
78 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) in ATOMIC_OPS() argument
87 static inline s64 atomic64_read(const atomic64_t *v) in atomic64_read()
97 static inline void atomic64_set(atomic64_t *v, s64 i) in atomic64_set()
104 static inline s64 atomic64_add_return(s64 i, atomic64_t *v) in atomic64_add_return()
109 static inline s64 atomic64_fetch_add(s64 i, atomic64_t *v) in atomic64_fetch_add()
[all …]
Darchrandom.h36 static inline bool arch_get_random_long(unsigned long *v) in arch_get_random_long()
41 static inline bool arch_get_random_int(unsigned int *v) in arch_get_random_int()
46 static inline bool arch_get_random_seed_long(unsigned long *v) in arch_get_random_seed_long()
54 static inline bool arch_get_random_seed_int(unsigned int *v) in arch_get_random_seed_int()
/arch/x86/kvm/
Dirq.c34 static int pending_userspace_extint(struct kvm_vcpu *v) in pending_userspace_extint()
43 static int kvm_cpu_has_extint(struct kvm_vcpu *v) in kvm_cpu_has_extint()
62 int kvm_cpu_has_injectable_intr(struct kvm_vcpu *v) in kvm_cpu_has_injectable_intr()
91 int kvm_cpu_has_interrupt(struct kvm_vcpu *v) in kvm_cpu_has_interrupt()
118 static int kvm_cpu_get_extint(struct kvm_vcpu *v) in kvm_cpu_get_extint()
135 int kvm_cpu_get_interrupt(struct kvm_vcpu *v) in kvm_cpu_get_interrupt()
/arch/mips/include/asm/mach-bcm63xx/
Dbcm63xx_io.h58 #define bcm_writeb(v, a) (*(volatile unsigned char *) BCM_REGS_VA((a)) = (v)) argument
59 #define bcm_writew(v, a) (*(volatile unsigned short *) BCM_REGS_VA((a)) = (v)) argument
60 #define bcm_writel(v, a) (*(volatile unsigned int *) BCM_REGS_VA((a)) = (v)) argument
61 #define bcm_writeq(v, a) (*(volatile u64 *) BCM_REGS_VA((a)) = (v)) argument
69 #define bcm_rset_writeb(s, v, o) bcm_writeb((v), \ argument
71 #define bcm_rset_writew(s, v, o) bcm_writew((v), \ argument
73 #define bcm_rset_writel(s, v, o) bcm_writel((v), \ argument
80 #define bcm_perf_writel(v, o) bcm_rset_writel(RSET_PERF, (v), (o)) argument
82 #define bcm_timer_writel(v, o) bcm_rset_writel(RSET_TIMER, (v), (o)) argument
84 #define bcm_wdt_writel(v, o) bcm_rset_writel(RSET_WDT, (v), (o)) argument
[all …]
/arch/m68k/include/asm/
Datomic.h21 #define atomic_read(v) READ_ONCE((v)->counter) argument
22 #define atomic_set(v, i) WRITE_ONCE(((v)->counter), (i)) argument
125 static inline void atomic_inc(atomic_t *v) in atomic_inc()
131 static inline void atomic_dec(atomic_t *v) in atomic_dec()
137 static inline int atomic_dec_and_test(atomic_t *v) in atomic_dec_and_test()
145 static inline int atomic_dec_and_test_lt(atomic_t *v) in atomic_dec_and_test_lt()
155 static inline int atomic_inc_and_test(atomic_t *v) in atomic_inc_and_test()
165 #define atomic_cmpxchg(v, o, n) ((int)cmpxchg(&((v)->counter), (o), (n))) argument
166 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) argument
170 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg()
[all …]
/arch/x86/kernel/
Dbootflag.c23 static int __init parity(u8 v) in parity()
36 static void __init sbf_write(u8 v) in sbf_write()
57 u8 v; in sbf_read() local
69 static int __init sbf_value_valid(u8 v) in sbf_value_valid()
81 u8 v; in sbf_init() local
/arch/sh/include/asm/
Datomic.h24 #define atomic_read(v) READ_ONCE((v)->counter) argument
25 #define atomic_set(v,i) WRITE_ONCE((v)->counter, (i)) argument
35 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) argument
36 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) argument
/arch/riscv/kernel/
Dmodule.c12 static int apply_r_riscv_32_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_riscv_32_rela()
23 static int apply_r_riscv_64_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_riscv_64_rela()
30 Elf_Addr v) in apply_r_riscv_branch_rela()
43 Elf_Addr v) in apply_r_riscv_jal_rela()
56 Elf_Addr v) in apply_r_riscv_rcv_branch_rela()
71 Elf_Addr v) in apply_r_riscv_rvc_jump_rela()
89 Elf_Addr v) in apply_r_riscv_pcrel_hi20_rela()
107 Elf_Addr v) in apply_r_riscv_pcrel_lo12_i_rela()
118 Elf_Addr v) in apply_r_riscv_pcrel_lo12_s_rela()
132 Elf_Addr v) in apply_r_riscv_hi20_rela()
[all …]
/arch/arc/include/asm/
Dsetup.h34 #define IS_AVAIL1(v, s) ((v) ? s : "") argument
35 #define IS_DISABLED_RUN(v) ((v) ? "" : "(disabled) ") argument
36 #define IS_USED_RUN(v) ((v) ? "" : "(not used) ") argument
38 #define IS_AVAIL2(v, s, cfg) IS_AVAIL1(v, s), IS_AVAIL1(v, IS_USED_CFG(cfg)) argument
39 #define IS_AVAIL3(v, v2, s) IS_AVAIL1(v, s), IS_AVAIL1(v, IS_DISABLED_RUN(v2)) argument
/arch/x86/mm/
Ddebug_pagetables.c8 static int ptdump_show(struct seq_file *m, void *v) in ptdump_show()
16 static int ptdump_curknl_show(struct seq_file *m, void *v) in ptdump_curknl_show()
29 static int ptdump_curusr_show(struct seq_file *m, void *v) in ptdump_curusr_show()
43 static int ptdump_efi_show(struct seq_file *m, void *v) in ptdump_efi_show()
/arch/csky/include/asm/
Dio.h27 #define writeb(v,c) ({ wmb(); writeb_relaxed((v),(c)); }) argument
28 #define writew(v,c) ({ wmb(); writew_relaxed((v),(c)); }) argument
29 #define writel(v,c) ({ wmb(); writel_relaxed((v),(c)); }) argument
31 #define writeb(v,c) ({ wmb(); writeb_relaxed((v),(c)); mb(); }) argument
32 #define writew(v,c) ({ wmb(); writew_relaxed((v),(c)); mb(); }) argument
33 #define writel(v,c) ({ wmb(); writel_relaxed((v),(c)); mb(); }) argument
/arch/arm/mm/
Dpmsa-v7.c47 static inline void rgnr_write(u32 v) in rgnr_write()
55 static inline void dracr_write(u32 v) in dracr_write()
61 static inline void drsr_write(u32 v) in drsr_write()
67 static inline void drbar_write(u32 v) in drbar_write()
79 static inline void iracr_write(u32 v) in iracr_write()
85 static inline void irsr_write(u32 v) in irsr_write()
91 static inline void irbar_write(u32 v) in irbar_write()
103 static inline void rgnr_write(u32 v) in rgnr_write()
111 static inline void dracr_write(u32 v) in dracr_write()
119 static inline void drsr_write(u32 v) in drsr_write()
[all …]
/arch/mips/include/asm/
Datomic.h44 #define atomic_read(v) READ_ONCE((v)->counter) argument
53 #define atomic_set(v, i) WRITE_ONCE((v)->counter, (i)) argument
187 static __inline__ int atomic_sub_if_positive(int i, atomic_t * v) in atomic_sub_if_positive()
230 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) argument
231 #define atomic_xchg(v, new) (xchg(&((v)->counter), (new))) argument
237 #define atomic_dec_if_positive(v) atomic_sub_if_positive(1, v) argument
248 #define atomic64_read(v) READ_ONCE((v)->counter) argument
255 #define atomic64_set(v, i) WRITE_ONCE((v)->counter, (i)) argument
390 static __inline__ s64 atomic64_sub_if_positive(s64 i, atomic64_t * v) in atomic64_sub_if_positive()
429 #define atomic64_cmpxchg(v, o, n) \ argument
[all …]
/arch/arm64/include/asm/
Dio.h94 #define __iormb(v) \ argument
111 #define __io_par(v) __iormb(v) argument
124 #define writeb_relaxed(v,c) ((void)__raw_writeb((v),(c))) argument
125 #define writew_relaxed(v,c) ((void)__raw_writew((__force u16)cpu_to_le16(v),(c))) argument
126 #define writel_relaxed(v,c) ((void)__raw_writel((__force u32)cpu_to_le32(v),(c))) argument
127 #define writeq_relaxed(v,c) ((void)__raw_writeq((__force u64)cpu_to_le64(v),(c))) argument
139 #define writeb(v,c) ({ __iowmb(); writeb_relaxed((v),(c)); }) argument
140 #define writew(v,c) ({ __iowmb(); writew_relaxed((v),(c)); }) argument
141 #define writel(v,c) ({ __iowmb(); writel_relaxed((v),(c)); }) argument
142 #define writeq(v,c) ({ __iowmb(); writeq_relaxed((v),(c)); }) argument
[all …]
/arch/arm/mach-ebsa110/include/mach/
Dio.h39 #define outb(v,p) __outb16(v,p) argument
42 #define outb(v,p) __outb8(v,p) argument
46 #define outw(v,p) __outw(v,p) argument
49 #define outl(v,p) __outl(v,p) argument
58 #define writeb(v,b) __writeb(v,b) argument
59 #define writew(v,b) __writew(v,b) argument
60 #define writel(v,b) __writel(v,b) argument

12345678910>>...20