Home
last modified time | relevance | path

Searched refs:a (Results 1 – 25 of 227) sorted by relevance

12345678910

/include/linux/
A Dskb_array.h34 return __ptr_ring_full(&a->ring); in __skb_array_full()
39 return ptr_ring_full(&a->ring); in skb_array_full()
44 return ptr_ring_produce(&a->ring, skb); in skb_array_produce()
68 return __ptr_ring_empty(&a->ring); in __skb_array_empty()
73 return __ptr_ring_peek(&a->ring); in __skb_array_peek()
78 return ptr_ring_empty(&a->ring); in skb_array_empty()
83 return ptr_ring_empty_bh(&a->ring); in skb_array_empty_bh()
88 return ptr_ring_empty_irq(&a->ring); in skb_array_empty_irq()
93 return ptr_ring_empty_any(&a->ring); in skb_array_empty_any()
98 return __ptr_ring_consume(&a->ring); in __skb_array_consume()
[all …]
A Djhash.h37 a -= c; a ^= rol32(c, 4); c += b; \
38 b -= a; b ^= rol32(a, 6); a += c; \
40 a -= c; a ^= rol32(c, 16); c += b; \
41 b -= a; b ^= rol32(a, 19); a += c; \
49 a ^= c; a -= rol32(c, 11); \
50 b ^= a; b -= rol32(a, 25); \
52 a ^= c; a -= rol32(c, 4); \
53 b ^= a; b -= rol32(a, 14); \
72 u32 a, b, c; in jhash() local
119 u32 a, b, c; in jhash2() local
[all …]
A Dtnum.h34 struct tnum tnum_lshift(struct tnum a, u8 shift);
44 struct tnum tnum_neg(struct tnum a);
58 struct tnum tnum_cast(struct tnum a, u8 size);
63 return !a.mask; in tnum_is_const()
69 return tnum_is_const(a) && a.value == b; in tnum_equals_const()
75 return !~a.mask; in tnum_is_unknown()
81 bool tnum_is_aligned(struct tnum a, u64 size);
95 bool tnum_in(struct tnum a, struct tnum b);
108 struct tnum tnum_subreg(struct tnum a);
110 struct tnum tnum_clear_subreg(struct tnum a);
[all …]
A Djiffies.h138 #define time_before(a,b) time_after(b,a) argument
158 #define time_before_eq(a,b) time_after_eq(b,a) argument
182 time_before(a,c))
212 #define time_before64(a,b) time_after64(b,a) argument
238 #define time_before_eq64(a,b) time_after_eq64(b,a) argument
262 #define time_is_before_jiffies(a) time_after(jiffies, a) argument
269 #define time_is_before_jiffies64(a) time_after64(get_jiffies_64(), a) argument
277 #define time_is_after_jiffies(a) time_before(jiffies, a) argument
284 #define time_is_after_jiffies64(a) time_before64(get_jiffies_64(), a) argument
292 #define time_is_before_eq_jiffies(a) time_after_eq(jiffies, a) argument
[all …]
/include/net/tc_act/
A Dtc_gact.h17 #define to_gact(a) ((struct tcf_gact *)a) argument
25 if (a->ops && a->ops->id != TCA_ID_GACT) in __is_tcf_gact_act()
28 gact = to_gact(a); in __is_tcf_gact_act()
39 return __is_tcf_gact_act(a, TC_ACT_OK, false); in is_tcf_gact_ok()
44 return __is_tcf_gact_act(a, TC_ACT_SHOT, false); in is_tcf_gact_shot()
49 return __is_tcf_gact_act(a, TC_ACT_TRAP, false); in is_tcf_gact_trap()
54 return __is_tcf_gact_act(a, TC_ACT_GOTO_CHAIN, true); in is_tcf_gact_goto_chain()
59 return READ_ONCE(a->tcfa_action) & TC_ACT_EXT_VAL_MASK; in tcf_gact_goto_chain_index()
64 return __is_tcf_gact_act(a, TC_ACT_UNSPEC, false); in is_tcf_gact_continue()
69 return __is_tcf_gact_act(a, TC_ACT_RECLASSIFY, false); in is_tcf_gact_reclassify()
[all …]
A Dtc_skbedit.h30 #define to_skbedit(a) ((struct tcf_skbedit *)a) argument
38 if (a->ops && a->ops->id == TCA_ID_SKBEDIT) { in is_tcf_skbedit_with_flag()
40 flags = rcu_dereference(to_skbedit(a)->params)->flags; in is_tcf_skbedit_with_flag()
51 return is_tcf_skbedit_with_flag(a, SKBEDIT_F_MARK); in is_tcf_skbedit_mark()
59 mark = rcu_dereference(to_skbedit(a)->params)->mark; in tcf_skbedit_mark()
68 return is_tcf_skbedit_with_flag(a, SKBEDIT_F_PTYPE); in is_tcf_skbedit_ptype()
76 ptype = rcu_dereference(to_skbedit(a)->params)->ptype; in tcf_skbedit_ptype()
124 return is_tcf_skbedit_queue_mapping(a) && in is_tcf_skbedit_tx_queue_mapping()
125 !is_tcf_skbedit_ingress(a->tcfa_flags); in is_tcf_skbedit_tx_queue_mapping()
130 return is_tcf_skbedit_queue_mapping(a) && in is_tcf_skbedit_rx_queue_mapping()
[all …]
A Dtc_mirred.h17 #define to_mirred(a) ((struct tcf_mirred *)a) argument
22 if (a->ops && a->ops->id == TCA_ID_MIRRED) in is_tcf_mirred_egress_redirect()
23 return to_mirred(a)->tcfm_eaction == TCA_EGRESS_REDIR; in is_tcf_mirred_egress_redirect()
28 static inline bool is_tcf_mirred_egress_mirror(const struct tc_action *a) in is_tcf_mirred_egress_mirror() argument
31 if (a->ops && a->ops->id == TCA_ID_MIRRED) in is_tcf_mirred_egress_mirror()
32 return to_mirred(a)->tcfm_eaction == TCA_EGRESS_MIRROR; in is_tcf_mirred_egress_mirror()
40 if (a->ops && a->ops->id == TCA_ID_MIRRED) in is_tcf_mirred_ingress_redirect()
41 return to_mirred(a)->tcfm_eaction == TCA_INGRESS_REDIR; in is_tcf_mirred_ingress_redirect()
49 if (a->ops && a->ops->id == TCA_ID_MIRRED) in is_tcf_mirred_ingress_mirror()
50 return to_mirred(a)->tcfm_eaction == TCA_INGRESS_MIRROR; in is_tcf_mirred_ingress_mirror()
[all …]
A Dtc_tunnel_key.h25 #define to_tunnel_key(a) ((struct tcf_tunnel_key *)a) argument
30 struct tcf_tunnel_key *t = to_tunnel_key(a); in is_tcf_tunnel_set()
34 lockdep_is_held(&a->tcfa_lock)); in is_tcf_tunnel_set()
35 if (a->ops && a->ops->id == TCA_ID_TUNNEL_KEY) in is_tcf_tunnel_set()
44 struct tcf_tunnel_key *t = to_tunnel_key(a); in is_tcf_tunnel_release()
48 lockdep_is_held(&a->tcfa_lock)); in is_tcf_tunnel_release()
49 if (a->ops && a->ops->id == TCA_ID_TUNNEL_KEY) in is_tcf_tunnel_release()
58 struct tcf_tunnel_key *t = to_tunnel_key(a); in tcf_tunnel_info()
62 lockdep_is_held(&a->tcfa_lock)); in tcf_tunnel_info()
71 tcf_tunnel_info_copy(const struct tc_action *a) in tcf_tunnel_info_copy() argument
[all …]
A Dtc_ct.h40 #define to_ct(a) ((struct tcf_ct *)a) argument
41 #define to_ct_params(a) \ argument
43 rcu_dereference_protected(to_ct(a)->params, \
44 lockdep_is_held(&a->tcfa_lock)))
46 static inline uint16_t tcf_ct_zone(const struct tc_action *a) in tcf_ct_zone() argument
48 return to_ct_params(a)->zone; in tcf_ct_zone()
51 static inline int tcf_ct_action(const struct tc_action *a) in tcf_ct_action() argument
53 return to_ct_params(a)->ct_action; in tcf_ct_action()
56 static inline struct nf_flowtable *tcf_ct_ft(const struct tc_action *a) in tcf_ct_ft() argument
58 return to_ct_params(a)->nf_ft; in tcf_ct_ft()
[all …]
A Dtc_pedit.h29 #define to_pedit(a) ((struct tcf_pedit *)a) argument
30 #define to_pedit_parms(a) (rcu_dereference(to_pedit(a)->parms)) argument
32 static inline bool is_tcf_pedit(const struct tc_action *a) in is_tcf_pedit() argument
35 if (a->ops && a->ops->id == TCA_ID_PEDIT) in is_tcf_pedit()
41 static inline int tcf_pedit_nkeys(const struct tc_action *a) in tcf_pedit_nkeys() argument
47 parms = to_pedit_parms(a); in tcf_pedit_nkeys()
60 parms = to_pedit_parms(a); in tcf_pedit_htype()
74 parms = to_pedit_parms(a); in tcf_pedit_cmd()
88 parms = to_pedit_parms(a); in tcf_pedit_mask()
101 parms = to_pedit_parms(a); in tcf_pedit_val()
[all …]
A Dtc_vlan.h27 #define to_vlan(a) ((struct tcf_vlan *)a) argument
29 static inline u32 tcf_vlan_action(const struct tc_action *a) in tcf_vlan_action() argument
34 tcfv_action = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_action; in tcf_vlan_action()
40 static inline u16 tcf_vlan_push_vid(const struct tc_action *a) in tcf_vlan_push_vid() argument
45 tcfv_push_vid = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_vid; in tcf_vlan_push_vid()
51 static inline __be16 tcf_vlan_push_proto(const struct tc_action *a) in tcf_vlan_push_proto() argument
56 tcfv_push_proto = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_proto; in tcf_vlan_push_proto()
62 static inline u8 tcf_vlan_push_prio(const struct tc_action *a) in tcf_vlan_push_prio() argument
67 tcfv_push_prio = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_prio; in tcf_vlan_push_prio()
74 const struct tc_action *a) in tcf_vlan_push_eth() argument
[all …]
A Dtc_mpls.h29 #define to_mpls(a) ((struct tcf_mpls *)a) argument
31 static inline u32 tcf_mpls_action(const struct tc_action *a) in tcf_mpls_action() argument
42 static inline __be16 tcf_mpls_proto(const struct tc_action *a) in tcf_mpls_proto() argument
47 tcfm_proto = rcu_dereference(to_mpls(a)->mpls_p)->tcfm_proto; in tcf_mpls_proto()
53 static inline u32 tcf_mpls_label(const struct tc_action *a) in tcf_mpls_label() argument
64 static inline u8 tcf_mpls_tc(const struct tc_action *a) in tcf_mpls_tc() argument
69 tcfm_tc = rcu_dereference(to_mpls(a)->mpls_p)->tcfm_tc; in tcf_mpls_tc()
75 static inline u8 tcf_mpls_bos(const struct tc_action *a) in tcf_mpls_bos() argument
80 tcfm_bos = rcu_dereference(to_mpls(a)->mpls_p)->tcfm_bos; in tcf_mpls_bos()
86 static inline u8 tcf_mpls_ttl(const struct tc_action *a) in tcf_mpls_ttl() argument
[all …]
A Dtc_sample.h18 #define to_sample(a) ((struct tcf_sample *)a) argument
20 static inline __u32 tcf_sample_rate(const struct tc_action *a) in tcf_sample_rate() argument
22 return to_sample(a)->rate; in tcf_sample_rate()
25 static inline bool tcf_sample_truncate(const struct tc_action *a) in tcf_sample_truncate() argument
27 return to_sample(a)->truncate; in tcf_sample_truncate()
30 static inline int tcf_sample_trunc_size(const struct tc_action *a) in tcf_sample_trunc_size() argument
32 return to_sample(a)->trunc_size; in tcf_sample_trunc_size()
/include/media/i2c/
A Dlm3646.h26 #define LM3646_TOTAL_FLASH_BRT_uA_TO_REG(a) \ argument
27 ((a) < LM3646_TOTAL_FLASH_BRT_MIN ? 0 : \
36 #define LM3646_TOTAL_TORCH_BRT_uA_TO_REG(a) \ argument
37 ((a) < LM3646_TOTAL_TORCH_BRT_MIN ? 0 : \
46 #define LM3646_LED1_FLASH_BRT_uA_TO_REG(a) \ argument
47 ((a) <= LM3646_LED1_FLASH_BRT_MIN ? 0 : \
56 #define LM3646_LED1_TORCH_BRT_uA_TO_REG(a) \ argument
57 ((a) <= LM3646_LED1_TORCH_BRT_MIN ? 0 : \
66 #define LM3646_FLASH_TOUT_ms_TO_REG(a) \ argument
67 ((a) <= LM3646_FLASH_TOUT_MIN ? 0 : \
[all …]
A Dlm3560.h26 #define LM3560_FLASH_BRT_uA_TO_REG(a) \ argument
27 ((a) < LM3560_FLASH_BRT_MIN ? 0 : \
29 #define LM3560_FLASH_BRT_REG_TO_uA(a) \ argument
30 ((a) * LM3560_FLASH_BRT_STEP + LM3560_FLASH_BRT_MIN)
38 #define LM3560_FLASH_TOUT_ms_TO_REG(a) \ argument
39 ((a) < LM3560_FLASH_TOUT_MIN ? 0 : \
41 #define LM3560_FLASH_TOUT_REG_TO_ms(a) \ argument
50 #define LM3560_TORCH_BRT_uA_TO_REG(a) \ argument
51 ((a) < LM3560_TORCH_BRT_MIN ? 0 : \
53 #define LM3560_TORCH_BRT_REG_TO_uA(a) \ argument
[all …]
/include/asm-generic/
A Dlocal64.h25 local_t a; member
30 #define local64_read(l) local_read(&(l)->a)
31 #define local64_set(l,i) local_set((&(l)->a),(i))
32 #define local64_inc(l) local_inc(&(l)->a)
33 #define local64_dec(l) local_dec(&(l)->a)
34 #define local64_add(i,l) local_add((i),(&(l)->a))
35 #define local64_sub(i,l) local_sub((i),(&(l)->a))
47 return local_cmpxchg(&l->a, old, new); in local64_cmpxchg()
72 atomic64_t a; member
79 #define local64_inc(l) atomic64_inc(&(l)->a)
[all …]
A Dlocal.h24 atomic_long_t a; member
29 #define local_read(l) atomic_long_read(&(l)->a)
30 #define local_set(l,i) atomic_long_set((&(l)->a),(i))
31 #define local_inc(l) atomic_long_inc(&(l)->a)
32 #define local_dec(l) atomic_long_dec(&(l)->a)
33 #define local_add(i,l) atomic_long_add((i),(&(l)->a))
34 #define local_sub(i,l) atomic_long_sub((i),(&(l)->a))
37 #define local_dec_and_test(l) atomic_long_dec_and_test(&(l)->a)
38 #define local_inc_and_test(l) atomic_long_inc_and_test(&(l)->a)
42 #define local_inc_return(l) atomic_long_inc_return(&(l)->a)
[all …]
/include/vdso/
A Dalign.h8 #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) argument
9 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a)) argument
11 #define PTR_ALIGN(p, a) ((typeof(p))ALIGN((unsigned long)(p), (a))) argument
12 #define PTR_ALIGN_DOWN(p, a) ((typeof(p))ALIGN_DOWN((unsigned long)(p), (a))) argument
13 #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) argument
/include/net/
A Dtc_wrapper.h22 const struct tc_action *a, \
53 if (a->ops->act == tcf_gact_act) in tc_act()
77 if (a->ops->act == tcf_bpf_act) in tc_act()
85 if (a->ops->act == tcf_csum_act) in tc_act()
89 if (a->ops->act == tcf_ct_act) in tc_act()
90 return tcf_ct_act(skb, a, res); in tc_act()
97 if (a->ops->act == tcf_gate_act) in tc_act()
105 if (a->ops->act == tcf_nat_act) in tc_act()
117 if (a->ops->act == tcf_ife_act) in tc_act()
130 return a->ops->act(skb, a, res); in tc_act()
[all …]
A Dcodel.h63 #define MS2TIME(a) ((a * NSEC_PER_MSEC) >> CODEL_SHIFT) argument
76 #define codel_time_after(a, b) \ argument
77 (typecheck(codel_time_t, a) && \
79 ((s32)((a) - (b)) > 0))
80 #define codel_time_before(a, b) codel_time_after(b, a) argument
82 #define codel_time_after_eq(a, b) \ argument
83 (typecheck(codel_time_t, a) && \
85 ((s32)((a) - (b)) >= 0))
86 #define codel_time_before_eq(a, b) codel_time_after_eq(b, a) argument
/include/crypto/
A Dgf128mul.h163 void gf128mul_lle(be128 *a, const be128 *b);
182 u64 a = be64_to_cpu(x->a); in gf128mul_x_lle() local
189 r->b = cpu_to_be64((b >> 1) | (a << 63)); in gf128mul_x_lle()
190 r->a = cpu_to_be64((a >> 1) ^ _tt); in gf128mul_x_lle()
195 u64 a = be64_to_cpu(x->a); in gf128mul_x_bbe() local
199 u64 _tt = gf128mul_mask_from_bit(a, 63) & 0x87; in gf128mul_x_bbe()
201 r->a = cpu_to_be64((a << 1) | (b >> 63)); in gf128mul_x_bbe()
208 u64 a = le64_to_cpu(x->a); in gf128mul_x_ble() local
212 u64 _tt = gf128mul_mask_from_bit(a, 63) & 0x87; in gf128mul_x_ble()
214 r->a = cpu_to_le64((a << 1) | (b >> 63)); in gf128mul_x_ble()
[all …]
A Db128ops.h53 __be64 a, b; member
57 __le64 b, a; member
62 r->a = p->a ^ q->a; in be128_xor()
68 r->a = p->a ^ q->a; in le128_xor()
/include/linux/decompress/
A Dmm.h70 #define large_malloc(a) malloc(a) argument
71 #define large_free(a) free(a) argument
89 #define malloc(a) kmalloc(a, GFP_KERNEL) argument
90 #define free(a) kfree(a) argument
92 #define large_malloc(a) vmalloc(a) argument
93 #define large_free(a) vfree(a) argument
/include/trace/stages/
A Dinit.h14 #define TRACE_DEFINE_ENUM(a) \ argument
16 __##TRACE_SYSTEM##_##a = \
19 .eval_string = #a, \
20 .eval_value = a \
24 *TRACE_SYSTEM##_##a = &__##TRACE_SYSTEM##_##a
27 #define TRACE_DEFINE_SIZEOF(a) \ argument
29 __##TRACE_SYSTEM##_##a = \
32 .eval_string = "sizeof(" #a ")", \
33 .eval_value = sizeof(a) \
37 *TRACE_SYSTEM##_##a = &__##TRACE_SYSTEM##_##a
/include/drm/
A Ddrm_fixed.h81 static inline s64 drm_int2fixp(int a) in drm_int2fixp() argument
83 return ((s64)a) << DRM_FIXED_POINT; in drm_int2fixp()
88 return ((s64)a) >> DRM_FIXED_POINT; in drm_fixp2int()
98 if (a >= 0) in drm_fixp2int_ceil()
109 if (((a >> shift) & 1) != sign) in drm_fixp_msbset()
122 a >>= (shift >> 1) + (shift & 1); in drm_fixp_mul()
127 result = a * b; in drm_fixp_mul()
143 a <<= shift; in drm_fixp_div()
148 result = div64_s64(a, b); in drm_fixp_div()
159 bool a_neg = a < 0; in drm_fixp_from_fraction()
[all …]

Completed in 32 milliseconds

12345678910