Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 147) sorted by relevance

123456

/include/linux/
Djhash.h35 #define __jhash_mix(a, b, c) \ argument
37 a -= c; a ^= rol32(c, 4); c += b; \
38 b -= a; b ^= rol32(a, 6); a += c; \
39 c -= b; c ^= rol32(b, 8); b += a; \
40 a -= c; a ^= rol32(c, 16); c += b; \
41 b -= a; b ^= rol32(a, 19); a += c; \
42 c -= b; c ^= rol32(b, 4); b += a; \
46 #define __jhash_final(a, b, c) \ argument
48 c ^= b; c -= rol32(b, 14); \
50 b ^= a; b -= rol32(a, 25); \
[all …]
Doverflow.h55 #define check_add_overflow(a, b, d) ({ \ argument
57 typeof(b) __b = (b); \
64 #define check_sub_overflow(a, b, d) ({ \ argument
66 typeof(b) __b = (b); \
73 #define check_mul_overflow(a, b, d) ({ \ argument
75 typeof(b) __b = (b); \
86 #define __unsigned_add_overflow(a, b, d) ({ \ argument
88 typeof(b) __b = (b); \
95 #define __unsigned_sub_overflow(a, b, d) ({ \ argument
97 typeof(b) __b = (b); \
[all …]
Djiffies.h105 #define time_after(a,b) \ argument
107 typecheck(unsigned long, b) && \
108 ((long)((b) - (a)) < 0))
109 #define time_before(a,b) time_after(b,a) argument
111 #define time_after_eq(a,b) \ argument
113 typecheck(unsigned long, b) && \
114 ((long)((a) - (b)) >= 0))
115 #define time_before_eq(a,b) time_after_eq(b,a) argument
120 #define time_in_range(a,b,c) \ argument
121 (time_after_eq(a,b) && \
[all …]
Dhid-debug.h40 #define hid_dump_input(a,b,c) do { } while (0) argument
41 #define hid_dump_report(a,b,c,d) do { } while (0) argument
42 #define hid_dump_device(a,b) do { } while (0) argument
43 #define hid_dump_field(a,b,c) do { } while (0) argument
44 #define hid_resolv_usage(a,b) do { } while (0) argument
45 #define hid_debug_register(a, b) do { } while (0) argument
49 #define hid_debug_event(a,b) do { } while (0) argument
Dtnum.h35 struct tnum tnum_add(struct tnum a, struct tnum b);
37 struct tnum tnum_sub(struct tnum a, struct tnum b);
39 struct tnum tnum_and(struct tnum a, struct tnum b);
41 struct tnum tnum_or(struct tnum a, struct tnum b);
43 struct tnum tnum_xor(struct tnum a, struct tnum b);
45 struct tnum tnum_mul(struct tnum a, struct tnum b);
48 struct tnum tnum_intersect(struct tnum a, struct tnum b);
60 static inline bool tnum_equals_const(struct tnum a, u64 b) in tnum_equals_const() argument
62 return tnum_is_const(a) && a.value == b; in tnum_equals_const()
77 bool tnum_in(struct tnum a, struct tnum b);
Ddm-bufio.h84 void dm_bufio_release(struct dm_buffer *b);
94 void dm_bufio_mark_buffer_dirty(struct dm_buffer *b);
102 void dm_bufio_mark_partial_buffer_dirty(struct dm_buffer *b,
125 void dm_bufio_release_move(struct dm_buffer *b, sector_t new_block);
141 sector_t dm_bufio_get_block_number(struct dm_buffer *b);
142 void *dm_bufio_get_block_data(struct dm_buffer *b);
143 void *dm_bufio_get_aux_data(struct dm_buffer *b);
144 struct dm_bufio_client *dm_bufio_get_client(struct dm_buffer *b);
Detherdevice.h79 static const __be16 *b = (const __be16 *)eth_reserved_addr_base; in is_link_local_ether_addr() local
83 return (((*(const u32 *)addr) ^ (*(const u32 *)b)) | in is_link_local_ether_addr()
84 (__force int)((a[2] ^ b[2]) & m)) == 0; in is_link_local_ether_addr()
86 return ((a[0] ^ b[0]) | (a[1] ^ b[1]) | ((a[2] ^ b[2]) & m)) == 0; in is_link_local_ether_addr()
283 const u16 *b = (const u16 *)src; in ether_addr_copy()
285 a[0] = b[0]; in ether_addr_copy()
286 a[1] = b[1]; in ether_addr_copy()
287 a[2] = b[2]; in ether_addr_copy()
324 const u16 *b = (const u16 *)addr2; in ether_addr_equal()
326 return ((a[0] ^ b[0]) | (a[1] ^ b[1]) | (a[2] ^ b[2])) == 0; in ether_addr_equal()
[all …]
Dsiphash.h35 u64 siphash_2u64(const u64 a, const u64 b, const siphash_key_t *key);
36 u64 siphash_3u64(const u64 a, const u64 b, const u64 c,
38 u64 siphash_4u64(const u64 a, const u64 b, const u64 c, const u64 d,
41 u64 siphash_3u32(const u32 a, const u32 b, const u32 c,
44 static inline u64 siphash_2u32(const u32 a, const u32 b, in siphash_2u32() argument
47 return siphash_1u64((u64)b << 32 | a, key); in siphash_2u32()
49 static inline u64 siphash_4u32(const u32 a, const u32 b, const u32 c, in siphash_4u32() argument
52 return siphash_2u64((u64)b << 32 | a, (u64)d << 32 | c, key); in siphash_4u32()
105 u32 hsiphash_2u32(const u32 a, const u32 b, const hsiphash_key_t *key);
106 u32 hsiphash_3u32(const u32 a, const u32 b, const u32 c,
[all …]
Dnfs.h28 static inline int nfs_compare_fh(const struct nfs_fh *a, const struct nfs_fh *b) in nfs_compare_fh() argument
30 return a->size != b->size || memcmp(a->data, b->data, a->size) != 0; in nfs_compare_fh()
Dlcm.h7 unsigned long lcm(unsigned long a, unsigned long b) __attribute_const__;
8 unsigned long lcm_not_zero(unsigned long a, unsigned long b) __attribute_const__;
/include/asm-generic/bitops/
Dsched.h13 static inline int sched_find_first_bit(const unsigned long *b) in sched_find_first_bit() argument
16 if (b[0]) in sched_find_first_bit()
17 return __ffs(b[0]); in sched_find_first_bit()
18 return __ffs(b[1]) + 64; in sched_find_first_bit()
20 if (b[0]) in sched_find_first_bit()
21 return __ffs(b[0]); in sched_find_first_bit()
22 if (b[1]) in sched_find_first_bit()
23 return __ffs(b[1]) + 32; in sched_find_first_bit()
24 if (b[2]) in sched_find_first_bit()
25 return __ffs(b[2]) + 64; in sched_find_first_bit()
[all …]
/include/linux/mtd/
Dftl.h63 #define BLOCK_FREE(b) ((b) == 0xffffffff) argument
64 #define BLOCK_DELETED(b) (((b) == 0) || ((b) == 0xfffffffe)) argument
66 #define BLOCK_TYPE(b) ((b) & 0x7f) argument
67 #define BLOCK_ADDRESS(b) ((b) & ~0x7f) argument
68 #define BLOCK_NUMBER(b) ((b) >> 9) argument
/include/crypto/
Dgf128mul.h163 void gf128mul_lle(be128 *a, const be128 *b);
165 void gf128mul_bbe(be128 *a, const be128 *b);
185 u64 b = be64_to_cpu(x->b); in gf128mul_x_lle() local
189 u64 _tt = gf128mul_mask_from_bit(b, 0) & ((u64)0xe1 << 56); in gf128mul_x_lle()
191 r->b = cpu_to_be64((b >> 1) | (a << 63)); in gf128mul_x_lle()
198 u64 b = be64_to_cpu(x->b); in gf128mul_x_bbe() local
203 r->a = cpu_to_be64((a << 1) | (b >> 63)); in gf128mul_x_bbe()
204 r->b = cpu_to_be64((b << 1) ^ _tt); in gf128mul_x_bbe()
211 u64 b = le64_to_cpu(x->b); in gf128mul_x_ble() local
216 r->a = cpu_to_le64((a << 1) | (b >> 63)); in gf128mul_x_ble()
[all …]
Db128ops.h53 u64 a, b; member
57 __be64 a, b; member
61 __le64 b, a; member
67 r->b = p->b ^ q->b; in u128_xor()
/include/linux/ceph/
Dbuffer.h25 static inline struct ceph_buffer *ceph_buffer_get(struct ceph_buffer *b) in ceph_buffer_get() argument
27 kref_get(&b->kref); in ceph_buffer_get()
28 return b; in ceph_buffer_get()
31 static inline void ceph_buffer_put(struct ceph_buffer *b) in ceph_buffer_put() argument
33 if (b) in ceph_buffer_put()
34 kref_put(&b->kref, ceph_buffer_release); in ceph_buffer_put()
37 extern int ceph_decode_buffer(struct ceph_buffer **b, void **p, void *end);
Dceph_frag.h22 static inline __u32 ceph_frag_make(__u32 b, __u32 v) in ceph_frag_make() argument
24 return (b << 24) | in ceph_frag_make()
25 (v & (0xffffffu << (24-b)) & 0xffffffu); in ceph_frag_make()
73 int ceph_frag_compare(__u32 a, __u32 b);
/include/net/
Dcodel.h78 #define codel_time_after(a, b) \ argument
80 typecheck(codel_time_t, b) && \
81 ((s32)((a) - (b)) > 0))
82 #define codel_time_before(a, b) codel_time_after(b, a) argument
84 #define codel_time_after_eq(a, b) \ argument
86 typecheck(codel_time_t, b) && \
87 ((s32)((a) - (b)) >= 0))
88 #define codel_time_before_eq(a, b) codel_time_after_eq(b, a) argument
/include/uapi/linux/
Duuid.h24 __u8 b[16]; member
27 #define GUID_INIT(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
30 (b) & 0xff, ((b) >> 8) & 0xff, \
36 #define UUID_LE(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
37 GUID_INIT(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7)
/include/trace/events/
Dtlb.h24 #define EM(a,b) TRACE_DEFINE_ENUM(a); argument
25 #define EMe(a,b) TRACE_DEFINE_ENUM(a); argument
35 #define EM(a,b) { a, b }, argument
36 #define EMe(a,b) { a, b } argument
Dmigrate.h31 #define EM(a, b) TRACE_DEFINE_ENUM(a); argument
32 #define EMe(a, b) TRACE_DEFINE_ENUM(a); argument
43 #define EM(a, b) {a, b}, argument
44 #define EMe(a, b) {a, b} argument
Dbcache.h64 TP_PROTO(struct btree *b),
65 TP_ARGS(b),
72 __entry->bucket = PTR_BUCKET_NR(b->c, &b->key, 0);
258 TP_PROTO(struct btree *b),
259 TP_ARGS(b)
263 TP_PROTO(struct btree *b),
264 TP_ARGS(b),
273 __entry->bucket = PTR_BUCKET_NR(b->c, &b->key, 0);
274 __entry->block = b->written;
275 __entry->keys = b->keys.set[b->keys.nsets].data->keys;
[all …]
/include/linux/crush/
Dhash.h18 extern __u32 crush_hash32_2(int type, __u32 a, __u32 b);
19 extern __u32 crush_hash32_3(int type, __u32 a, __u32 b, __u32 c);
20 extern __u32 crush_hash32_4(int type, __u32 a, __u32 b, __u32 c, __u32 d);
21 extern __u32 crush_hash32_5(int type, __u32 a, __u32 b, __u32 c, __u32 d,
/include/drm/
Ddrm_fixed.h108 static inline s64 drm_fixp_mul(s64 a, s64 b) in drm_fixp_mul() argument
110 unsigned shift = drm_fixp_msbset(a) + drm_fixp_msbset(b); in drm_fixp_mul()
116 b >>= shift >> 1; in drm_fixp_mul()
120 result = a * b; in drm_fixp_mul()
131 static inline s64 drm_fixp_div(s64 a, s64 b) in drm_fixp_div() argument
139 b >>= (DRM_FIXED_POINT - shift); in drm_fixp_div()
141 result = div64_s64(a, b); in drm_fixp_div()
149 static inline s64 drm_fixp_from_fraction(s64 a, s64 b) in drm_fixp_from_fraction() argument
153 bool b_neg = b < 0; in drm_fixp_from_fraction()
155 u64 b_abs = b_neg ? -b : b; in drm_fixp_from_fraction()
/include/acpi/
Dacoutput.h424 #define ACPI_DUMP_OPERANDS(a, b ,c) acpi_ex_dump_operands(a, b, c) argument
425 #define ACPI_DUMP_ENTRY(a, b) acpi_ns_dump_entry (a, b) argument
426 #define ACPI_DUMP_PATHNAME(a, b, c, d) acpi_ns_dump_pathname(a, b, c, d) argument
427 #define ACPI_DUMP_BUFFER(a, b) acpi_ut_debug_dump_buffer((u8 *) a, b, DB_BYTE_DISPLAY, _CO… argument
429 #define ACPI_TRACE_POINT(a, b, c, d) acpi_trace_point (a, b, c, d) argument
442 #define ACPI_FUNCTION_TRACE_PTR(a, b) argument
443 #define ACPI_FUNCTION_TRACE_U32(a, b) argument
444 #define ACPI_FUNCTION_TRACE_STR(a, b) argument
447 #define ACPI_DUMP_OPERANDS(a, b, c) argument
448 #define ACPI_DUMP_ENTRY(a, b) argument
[all …]
/include/net/netfilter/
Dbr_netfilter.h12 struct nf_bridge_info *b = skb_ext_add(skb, SKB_EXT_BRIDGE_NF); in nf_bridge_alloc() local
14 if (b) in nf_bridge_alloc()
15 memset(b, 0, sizeof(*b)); in nf_bridge_alloc()
17 return b; in nf_bridge_alloc()

123456