Home
last modified time | relevance | path

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

1234

/include/linux/atomic/
Datomic-instrumented.h30 atomic_read(const atomic_t *v) in atomic_read()
47 atomic_read_acquire(const atomic_t *v) in atomic_read_acquire()
65 atomic_set(atomic_t *v, int i) in atomic_set()
83 atomic_set_release(atomic_t *v, int i) in atomic_set_release()
102 atomic_add(int i, atomic_t *v) in atomic_add()
120 atomic_add_return(int i, atomic_t *v) in atomic_add_return()
139 atomic_add_return_acquire(int i, atomic_t *v) in atomic_add_return_acquire()
157 atomic_add_return_release(int i, atomic_t *v) in atomic_add_return_release()
176 atomic_add_return_relaxed(int i, atomic_t *v) in atomic_add_return_relaxed()
194 atomic_fetch_add(int i, atomic_t *v) in atomic_fetch_add()
[all …]
Datomic-long.h35 raw_atomic_long_read(const atomic_long_t *v) in raw_atomic_long_read()
55 raw_atomic_long_read_acquire(const atomic_long_t *v) in raw_atomic_long_read_acquire()
76 raw_atomic_long_set(atomic_long_t *v, long i) in raw_atomic_long_set()
97 raw_atomic_long_set_release(atomic_long_t *v, long i) in raw_atomic_long_set_release()
118 raw_atomic_long_add(long i, atomic_long_t *v) in raw_atomic_long_add()
139 raw_atomic_long_add_return(long i, atomic_long_t *v) in raw_atomic_long_add_return()
160 raw_atomic_long_add_return_acquire(long i, atomic_long_t *v) in raw_atomic_long_add_return_acquire()
181 raw_atomic_long_add_return_release(long i, atomic_long_t *v) in raw_atomic_long_add_return_release()
202 raw_atomic_long_add_return_relaxed(long i, atomic_long_t *v) in raw_atomic_long_add_return_relaxed()
223 raw_atomic_long_fetch_add(long i, atomic_long_t *v) in raw_atomic_long_fetch_add()
[all …]
Datomic-arch-fallback.h442 raw_atomic_read(const atomic_t *v) in raw_atomic_read()
458 raw_atomic_read_acquire(const atomic_t *v) in raw_atomic_read_acquire()
488 raw_atomic_set(atomic_t *v, int i) in raw_atomic_set()
505 raw_atomic_set_release(atomic_t *v, int i) in raw_atomic_set_release()
531 raw_atomic_add(int i, atomic_t *v) in raw_atomic_add()
548 raw_atomic_add_return(int i, atomic_t *v) in raw_atomic_add_return()
575 raw_atomic_add_return_acquire(int i, atomic_t *v) in raw_atomic_add_return_acquire()
602 raw_atomic_add_return_release(int i, atomic_t *v) in raw_atomic_add_return_release()
628 raw_atomic_add_return_relaxed(int i, atomic_t *v) in raw_atomic_add_return_relaxed()
651 raw_atomic_fetch_add(int i, atomic_t *v) in raw_atomic_fetch_add()
[all …]
/include/linux/
Dstring_choices.h7 static inline const char *str_enable_disable(bool v) in str_enable_disable()
12 static inline const char *str_enabled_disabled(bool v) in str_enabled_disabled()
17 static inline const char *str_hi_lo(bool v) in str_hi_lo()
21 #define str_lo_hi(v) str_hi_lo(!(v)) argument
23 static inline const char *str_high_low(bool v) in str_high_low()
27 #define str_low_high(v) str_high_low(!(v)) argument
29 static inline const char *str_read_write(bool v) in str_read_write()
33 #define str_write_read(v) str_read_write(!(v)) argument
35 static inline const char *str_on_off(bool v) in str_on_off()
40 static inline const char *str_yes_no(bool v) in str_yes_no()
Dinstrumented.h24 static __always_inline void instrument_read(const volatile void *v, size_t size) in instrument_read()
38 static __always_inline void instrument_write(const volatile void *v, size_t size) in instrument_write()
52 static __always_inline void instrument_read_write(const volatile void *v, size_t size) in instrument_read_write()
66 static __always_inline void instrument_atomic_read(const volatile void *v, size_t size) in instrument_atomic_read()
80 static __always_inline void instrument_atomic_write(const volatile void *v, size_t size) in instrument_atomic_write()
94 static __always_inline void instrument_atomic_read_write(const volatile void *v, size_t size) in instrument_atomic_read_write()
Datomic.h28 #define atomic_cond_read_acquire(v, c) smp_cond_load_acquire(&(v)->counter, (c)) argument
29 #define atomic_cond_read_relaxed(v, c) smp_cond_load_relaxed(&(v)->counter, (c)) argument
31 #define atomic64_cond_read_acquire(v, c) smp_cond_load_acquire(&(v)->counter, (c)) argument
32 #define atomic64_cond_read_relaxed(v, c) smp_cond_load_relaxed(&(v)->counter, (c)) argument
Dstdarg.h6 #define va_start(v, l) __builtin_va_start(v, l) argument
7 #define va_end(v) __builtin_va_end(v) argument
8 #define va_arg(v, T) __builtin_va_arg(v, T) argument
Dpage_ref.h41 static inline void __page_ref_set(struct page *page, int v) in __page_ref_set()
44 static inline void __page_ref_mod(struct page *page, int v) in __page_ref_mod()
47 static inline void __page_ref_mod_and_test(struct page *page, int v, int ret) in __page_ref_mod_and_test()
50 static inline void __page_ref_mod_and_return(struct page *page, int v, int ret) in __page_ref_mod_and_return()
53 static inline void __page_ref_mod_unless(struct page *page, int v, int u) in __page_ref_mod_unless()
56 static inline void __page_ref_freeze(struct page *page, int v, int ret) in __page_ref_freeze()
59 static inline void __page_ref_unfreeze(struct page *page, int v) in __page_ref_unfreeze()
97 static inline void set_page_count(struct page *page, int v) in set_page_count()
104 static inline void folio_set_count(struct folio *folio, int v) in folio_set_count()
Dfixp-arith.h81 #define fixp_cos32(v) fixp_sin32((v) + 90) argument
89 #define fixp_sin16(v) (fixp_sin32(v) >> 16) argument
90 #define fixp_cos16(v) (fixp_cos32(v) >> 16) argument
Dssbi.h19 u8 v; in ssbi_reg_read() local
31 u8 v = val; in ssbi_reg_write() local
Dstring.h162 static inline void *memset_l(unsigned long *p, unsigned long v, in memset_l()
171 static inline void *memset_p(void **p, void *v, __kernel_size_t n) in memset_p()
359 #define memset_after(obj, v, member) \ argument
377 #define memset_startat(obj, v, member) \ argument
/include/linux/ceph/
Ddecode.h21 u64 v = get_unaligned_le64(*p); in ceph_decode_64() local
27 u32 v = get_unaligned_le32(*p); in ceph_decode_32() local
33 u16 v = get_unaligned_le16(*p); in ceph_decode_16() local
39 u8 v = *(u8 *)*p; in ceph_decode_8() local
63 #define ceph_decode_64_safe(p, end, v, bad) \ argument
68 #define ceph_decode_32_safe(p, end, v, bad) \ argument
73 #define ceph_decode_16_safe(p, end, v, bad) \ argument
78 #define ceph_decode_8_safe(p, end, v, bad) \ argument
253 static inline void ceph_encode_64(void **p, u64 v) in ceph_encode_64()
258 static inline void ceph_encode_32(void **p, u32 v) in ceph_encode_32()
[all …]
Dpagelist.h42 static inline int ceph_pagelist_encode_64(struct ceph_pagelist *pl, u64 v) in ceph_pagelist_encode_64()
47 static inline int ceph_pagelist_encode_32(struct ceph_pagelist *pl, u32 v) in ceph_pagelist_encode_32()
52 static inline int ceph_pagelist_encode_16(struct ceph_pagelist *pl, u16 v) in ceph_pagelist_encode_16()
57 static inline int ceph_pagelist_encode_8(struct ceph_pagelist *pl, u8 v) in ceph_pagelist_encode_8()
Dceph_frag.h22 static inline __u32 ceph_frag_make(__u32 b, __u32 v) in ceph_frag_make()
44 static inline bool ceph_frag_contains_value(__u32 f, __u32 v) in ceph_frag_contains_value()
/include/net/
Dred.h159 static inline void red_set_vars(struct red_vars *v) in red_set_vars()
267 static inline int red_is_idling(const struct red_vars *v) in red_is_idling()
272 static inline void red_start_of_idle_period(struct red_vars *v) in red_start_of_idle_period()
277 static inline void red_end_of_idle_period(struct red_vars *v) in red_end_of_idle_period()
282 static inline void red_restart(struct red_vars *v) in red_restart()
290 const struct red_vars *v) in red_calc_qavg_from_idle_time()
338 const struct red_vars *v, in red_calc_qavg_no_idle_time()
354 const struct red_vars *v, in red_calc_qavg()
370 const struct red_vars *v, in red_mark_probability()
415 struct red_vars *v, in red_action()
[all …]
/include/kvm/
Darm_arch_timer.h122 #define vcpu_timer(v) (&(v)->arch.timer_cpu) argument
123 #define vcpu_get_timer(v,t) (&vcpu_timer(v)->timers[(t)]) argument
124 #define vcpu_vtimer(v) (&(v)->arch.timer_cpu.timers[TIMER_VTIMER]) argument
125 #define vcpu_ptimer(v) (&(v)->arch.timer_cpu.timers[TIMER_PTIMER]) argument
126 #define vcpu_hvtimer(v) (&(v)->arch.timer_cpu.timers[TIMER_HVTIMER]) argument
127 #define vcpu_hptimer(v) (&(v)->arch.timer_cpu.timers[TIMER_HPTIMER]) argument
Diodev.h44 int l, void *v) in kvm_iodevice_read()
52 int l, const void *v) in kvm_iodevice_write()
/include/linux/platform_data/
Dmcs.h11 #define MCS_KEY_MAP(v, c) ((((v) & 0xff) << 16) | ((c) & 0xffff)) argument
12 #define MCS_KEY_VAL(v) (((v) >> 16) & 0xff) argument
13 #define MCS_KEY_CODE(v) ((v) & 0xffff) argument
/include/asm-generic/
Darchrandom.h5 static inline size_t __must_check arch_get_random_longs(unsigned long *v, size_t max_longs) in arch_get_random_longs()
10 static inline size_t __must_check arch_get_random_seed_longs(unsigned long *v, size_t max_longs) in arch_get_random_seed_longs()
Dbarrier.h139 #define __smp_store_release(p, v) \ argument
172 #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0) argument
194 #define smp_store_release(p, v) \ argument
221 #define virt_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0) argument
Datomic.h130 #define arch_atomic_read(v) READ_ONCE((v)->counter) argument
131 #define arch_atomic_set(v, i) WRITE_ONCE(((v)->counter), (i)) argument
/include/linux/dsa/
Dbrcm.h13 #define BRCM_TAG_GET_PORT(v) ((v) >> 8) argument
14 #define BRCM_TAG_GET_QUEUE(v) ((v) & 0xff) argument
/include/sound/
Dpcm_params.h100 unsigned int v; in snd_mask_leave() local
107 const struct snd_mask *v) in snd_mask_intersect()
115 const struct snd_mask *v) in snd_mask_eq()
121 const struct snd_mask *v) in snd_mask_copy()
154 const struct snd_mask *v) in snd_mask_refine()
261 unsigned int v; in snd_interval_max() local
/include/soc/arc/
Daux.h14 #define write_aux_reg(r, v) __builtin_arc_sr((unsigned int)(v), r) argument
27 static inline void write_aux_reg(u32 r, u32 v) in write_aux_reg()
/include/xen/arm/
Dpage.h79 #define virt_to_gfn(v) \ argument
86 #define percpu_to_gfn(v) \ argument

1234