Home
last modified time | relevance | path

Searched refs:typeof (Results 1 – 25 of 959) sorted by relevance

12345678910>>...39

/openbmc/linux/include/linux/
H A Dmath.h61 typeof(y) __y = y; \
75 typeof(x) __x = (x); \
88 typeof(x) __x = x; \
90 (((typeof(x))-1) > 0 || \
124 typeof(x) x_ = (x); \ in __STRUCT_FRACT()
125 typeof(n) n_ = (n); \ in __STRUCT_FRACT()
126 typeof(d) d_ = (d); \ in __STRUCT_FRACT()
128 typeof(x_) q = x_ / d_; \ in __STRUCT_FRACT()
129 typeof(x_) r = x_ % d_; \ in __STRUCT_FRACT()
171 typeof(a) __a = (a); \
[all …]
H A Dkfifo.h126 typeof(&(fifo)) __tmp = &(fifo); \
145 (typeof(fifo)) { \
211 typeof((fifo) + 1) __tmp = (fifo); \
225 typeof((fifo) + 1) __tmp = (fifo); \
312 typeof((fifo) + 1) __tmp = (fifo); \
330 typeof((fifo) + 1) __tmp = (fifo); \
422 *(typeof(__tmp->type))&__val; \
446 typeof(__tmp->ptr) __val = (val); \
456 *(typeof(__tmp->type))__val = \
485 typeof(__tmp->ptr) __val = (val); \
[all …]
H A Dminmax.h27 (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
32 is_signed_type(typeof(x)), 0)
49 typeof(x) unique_x = (x); \
50 typeof(y) unique_y = (y); \
64 typeof(val) unique_val = (val); \
65 typeof(lo) unique_lo = (lo); \
66 typeof(hi) unique_hi = (hi); \
133 typeof(x) __x = (x); \
134 typeof(y) __y = (y); \
189 typeof(&(array)[0]) __array = (array); \
[all …]
H A Darm-smccc.h433 typeof(a1) __a1 = a1; \
436 register typeof(a1) arg1 asm("r1") = __a1
439 typeof(a1) __a1 = a1; \
440 typeof(a2) __a2 = a2; \
447 typeof(a1) __a1 = a1; \
448 typeof(a2) __a2 = a2; \
449 typeof(a3) __a3 = a3; \
457 typeof(a4) __a4 = a4; \
462 typeof(a5) __a5 = a5; \
467 typeof(a6) __a6 = a6; \
[all …]
H A Drculist.h707 typeof(*(pos)), member); \
710 &(pos)->member)), typeof(*(pos)), member))
728 typeof(*(pos)), member); \
731 &(pos)->member)), typeof(*(pos)), member))
748 typeof(*(pos)), member); \
751 &(pos)->member)), typeof(*(pos)), member))
765 typeof(*(pos)), member); \
768 &(pos)->member)), typeof(*(pos)), member))
780 &(pos)->member)), typeof(*(pos)), member))
792 &(pos)->member)), typeof(*(pos)), member))
[all …]
H A Drcupdate.h446 ((void)(((typeof(*p) space *)p) == p))
453 typeof(*p) *local = (typeof(*p) *__force)(p); \
468 typeof(*p) *local = (typeof(*p) *__force)READ_ONCE(p); \
470 ((typeof(*p) __force __kernel *)(local)); \
475 typeof(*p) *local = (typeof(*p) *__force)READ_ONCE(p); \
478 ((typeof(*p) __force __kernel *)(local)); \
484 ((typeof(*p) __force __kernel *)(p)); \
489 typeof(p) local = READ_ONCE(p); \
490 ((typeof(*p) __force __kernel *)(local)); \
1024 typeof (ptr) ___p = (ptr); \
[all …]
H A Doverflow.h35 #define type_max(t) __type_max(typeof(t))
37 #define type_min(t) __type_min(typeof(t))
122 typeof(a) _a = a; \
123 typeof(s) _s = s; \
124 typeof(d) _d = d; \
134 is_unsigned_type(typeof(x)) ? \
136 is_unsigned_type(typeof(T)) ? \
141 typeof(T) v = 0; \
/openbmc/u-boot/include/linux/
H A Dkernel.h79 const typeof(y) __y = y; \
85 typeof(x) __x = (x); \
97 typeof(x) __x = x; \
98 typeof(divisor) __d = divisor; \
99 (((typeof(x))-1) > 0 || \
175 typeof(x) _min1 = (x); \
176 typeof(y) _min2 = (y); \
181 typeof(x) _max1 = (x); \
182 typeof(y) _max2 = (y); \
195 typeof(x) __x = (x); \
[all …]
H A Dlist.h410 for (pos = list_entry((head)->next, typeof(*pos), member); \
421 for (pos = list_entry((head)->prev, typeof(*pos), member); \
434 ((pos) ? : list_entry(head, typeof(*pos), member))
484 for (pos = list_entry((head)->next, typeof(*pos), member), \
485 n = list_entry(pos->member.next, typeof(*pos), member); \
501 n = list_entry(pos->member.next, typeof(*pos), member); \
532 n = list_entry(pos->member.prev, typeof(*pos), member); \
645 ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1;}); \
657 ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1;}); \
668 ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1;}); \
[all …]
/openbmc/qemu/subprojects/libvduse/include/
H A Datomic.h32 typeof( \
34 __builtin_types_compatible_p(typeof(expr), bool) || \
35 __builtin_types_compatible_p(typeof(expr), const bool) || \
36 __builtin_types_compatible_p(typeof(expr), volatile bool) || \
37 __builtin_types_compatible_p(typeof(expr), const volatile bool), \
40 __builtin_types_compatible_p(typeof(expr), signed char) || \
41 __builtin_types_compatible_p(typeof(expr), const signed char) || \
42 __builtin_types_compatible_p(typeof(expr), volatile signed char) || \
43 __builtin_types_compatible_p(typeof(expr), const volatile signed char), \
46 __builtin_types_compatible_p(typeof(expr), unsigned char) || \
[all …]
/openbmc/qemu/include/qemu/
H A Datomic.h32 typeof( \
34 __builtin_types_compatible_p(typeof(expr), bool) || \
35 __builtin_types_compatible_p(typeof(expr), const bool) || \
36 __builtin_types_compatible_p(typeof(expr), volatile bool) || \
37 __builtin_types_compatible_p(typeof(expr), const volatile bool), \
40 __builtin_types_compatible_p(typeof(expr), signed char) || \
41 __builtin_types_compatible_p(typeof(expr), const signed char) || \
42 __builtin_types_compatible_p(typeof(expr), volatile signed char) || \
43 __builtin_types_compatible_p(typeof(expr), const volatile signed char), \
46 __builtin_types_compatible_p(typeof(expr), unsigned char) || \
[all …]
/openbmc/qemu/subprojects/libvhost-user/include/
H A Datomic.h32 typeof( \
34 __builtin_types_compatible_p(typeof(expr), bool) || \
35 __builtin_types_compatible_p(typeof(expr), const bool) || \
36 __builtin_types_compatible_p(typeof(expr), volatile bool) || \
37 __builtin_types_compatible_p(typeof(expr), const volatile bool), \
40 __builtin_types_compatible_p(typeof(expr), signed char) || \
41 __builtin_types_compatible_p(typeof(expr), const signed char) || \
42 __builtin_types_compatible_p(typeof(expr), volatile signed char) || \
43 __builtin_types_compatible_p(typeof(expr), const volatile signed char), \
46 __builtin_types_compatible_p(typeof(expr), unsigned char) || \
[all …]
/openbmc/linux/net/smc/
H A Dsmc_stats.h93 typeof(_tech) t = (_tech); \
94 typeof(_len) l = (_len); \
96 typeof(_rc) r = (_rc); \
110 typeof(_smc) __smc = _smc; \
114 typeof(rcode) _rc = (rcode); \
125 typeof(_smc) __smc = _smc; \
140 typeof(_len) _l = (_len); \
141 typeof(_tech) t = (_tech); \
161 typeof(_len) l = (_len); \
219 typeof(_smc) __smc = _smc; \
[all …]
/openbmc/libmctp/
H A Drange.h4 #ifndef typeof
5 #define typeof __typeof__ macro
11 typeof(a) _a = a; \
12 typeof(b) _b = b; \
20 typeof(a) _a = a; \
21 typeof(b) _b = b; \
/openbmc/linux/tools/include/linux/
H A Doverflow.h45 typeof(a) __a = (a); \
46 typeof(b) __b = (b); \
47 typeof(d) __d = (d); \
54 typeof(a) __a = (a); \
55 typeof(b) __b = (b); \
56 typeof(d) __d = (d); \
63 typeof(a) __a = (a); \
64 typeof(b) __b = (b); \
65 typeof(d) __d = (d); \
H A Dkernel.h21 #define PERF_ALIGN(x, a) __PERF_ALIGN_MASK(x, (typeof(x))(a)-1)
37 const typeof(((type *)0)->member) * __mptr = (ptr); \
43 typeof(x) _max1 = (x); \
44 typeof(y) _max2 = (y); \
51 typeof(x) _min1 = (x); \
52 typeof(y) _min2 = (y); \
59 #define clamp(val, lo, hi) min((typeof(val))max(val, lo), hi)
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_utils.h81 typeof(A) a = (A); \
82 typeof(B) b = (B); \
92 typeof(size) size__ = (size); \
93 typeof(max) max__ = (max); \
104 typeof(size) size__ = (size); \
105 typeof(max) max__ = (max); \
135 (typeof(ptr))(__v - 1); \
140 (typeof(ptr))(__v + 1); \
149 typeof(*ptr) __T = *(ptr); \
150 *(ptr) = (typeof(*ptr))0; \
[all …]
/openbmc/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-comp.h18 typeof(mask) (m) = (mask); \
26 typeof(cmd) (c) = (cmd); \
27 typeof(evt) (e) = (evt); \
33 typeof(cmd) (c) = (cmd); \
34 typeof(evt) (e) = (evt); \
40 typeof(cmd) (c) = (cmd); \
41 typeof(evt) (e) = (evt); \
47 typeof(cmd) (c) = (cmd); \
48 typeof(evt) (e) = (evt); \
54 typeof(_mask) (_m) = (_mask); \
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dlinked_list_fail.c264 f = bpf_obj_new(typeof(*f)); in use_after_drop()
280 p = bpf_obj_new(typeof(*p)); in ptr_walk_scalar()
292 f = bpf_obj_new(typeof(*f)); in direct_read_lock()
303 f = bpf_obj_new(typeof(*f)); in direct_write_lock()
315 f = bpf_obj_new(typeof(*f)); in direct_read_head()
326 f = bpf_obj_new(typeof(*f)); in direct_write_head()
338 f = bpf_obj_new(typeof(*f)); in direct_read_node()
349 f = bpf_obj_new(typeof(*f)); in direct_write_node()
361 f = bpf_obj_new(typeof(*f)); in use_after_unlock()
392 f = bpf_obj_new(typeof(*f)); in list_double_add()
[all …]
/openbmc/linux/drivers/md/bcache/
H A Dutil.h228 typeof(*((dest)->data)) _t; \
264 typeof((array)->freelist) _ptr = ptr; \
272 typeof((array)->freelist) _i; \
312 (__builtin_types_compatible_p(typeof(*res), int) \
339 var = clamp_t(typeof(var), _v, min, max); \
438 typeof(n) _n = (n); \
439 typeof(d) _d = (d); \
447 typeof(ptr) _ptr = ptr; \
455 typeof(new) this; \
479 typeof(&(search)) this, ret = NULL; \
[all …]
/openbmc/u-boot/arch/riscv/include/asm/
H A Dstring.h30 (typeof(_p) (p) = (_p); \
31 typeof(_v) (v) = (_v); \
32 typeof(_n) (n) = (_n); \
44 (typeof(_p) (p) = (_p); \
45 typeof(_n) (n) = (_n); \
/openbmc/linux/security/tomoyo/
H A Dgc.c159 container_of(element, typeof(*acl), list); in tomoyo_del_acl()
166 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
173 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
181 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
189 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
199 = container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
209 container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
217 container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
226 container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
234 container_of(acl, typeof(*entry), head); in tomoyo_del_acl()
[all …]
/openbmc/linux/arch/arm64/include/asm/
H A Dbarrier.h125 typeof(p) __p = (p); \
161 typeof(p) __p = (p); \
186 (typeof(*p))__u.__val; \
191 typeof(ptr) __PTR = (ptr); \
199 (typeof(*ptr))VAL; \
204 typeof(ptr) __PTR = (ptr); \
212 (typeof(*ptr))VAL; \
/openbmc/linux/scripts/kconfig/
H A Dlist.h20 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
50 for (pos = list_entry((head)->next, typeof(*pos), member); \
52 pos = list_entry(pos->member.next, typeof(*pos), member))
62 for (pos = list_entry((head)->next, typeof(*pos), member), \
63 n = list_entry(pos->member.next, typeof(*pos), member); \
65 pos = n, n = list_entry(n->member.next, typeof(*n), member))
/openbmc/u-boot/scripts/kconfig/
H A Dlist.h20 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
50 for (pos = list_entry((head)->next, typeof(*pos), member); \
52 pos = list_entry(pos->member.next, typeof(*pos), member))
62 for (pos = list_entry((head)->next, typeof(*pos), member), \
63 n = list_entry(pos->member.next, typeof(*pos), member); \
65 pos = n, n = list_entry(n->member.next, typeof(*n), member))

12345678910>>...39