Home
last modified time | relevance | path

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

123

/dragonfly/sys/dev/drm/i915/
H A Di915_utils.h48 __builtin_add_overflow_p((A), (B), (typeof((A) + (B)))0)
51 typeof(A) a = (A); \
52 typeof(B) b = (B); \
58 typeof(start) start__ = (start); \
59 typeof(size) size__ = (size); \
60 typeof(max) max__ = (max); \
75 (typeof(ptr))(__v & -BIT(n)); \
83 (typeof(ptr))(__v & -BIT(n)); \
87 ((typeof(ptr))((unsigned long)(ptr) | (bits)))
97 typeof(*ptr) __T = *(ptr); \
[all …]
H A Di915_gem_clflush.c55 struct clflush *clflush = container_of(fence, typeof(*clflush), dma); in i915_clflush_release()
59 BUILD_BUG_ON(offsetof(typeof(*clflush), dma)); in i915_clflush_release()
80 struct clflush *clflush = container_of(work, typeof(*clflush), work); in i915_clflush_work()
103 struct clflush *clflush = container_of(fence, typeof(*clflush), wait); in i915_clflush_notify()
H A Dintel_dpll_mgr.h30 typeof(a) __a = (a); \
31 typeof(b) __b = (b); \
H A Di915_gem_userptr.c67 struct i915_mmu_object *mo = container_of(work, typeof(*mo), work); in cancel_userptr()
377 struct i915_mm_struct *mm = container_of(work, typeof(*mm), work); in __i915_mm_struct_free__worker()
388 struct i915_mm_struct *mm = container_of(kref, typeof(*mm), kref); in __i915_mm_struct_free()
501 struct get_pages_work *work = container_of(_work, typeof(*work), work);
H A Di915_vma.h254 BUILD_BUG_ON(offsetof(typeof(*view), rotated) != in i915_vma_compare()
255 offsetof(typeof(*view), partial)); in i915_vma_compare()
H A Di915_sw_fence.c393 struct i915_sw_dma_fence_cb *cb = container_of(data, typeof(*cb), base); in dma_i915_sw_fence_wake()
405 struct i915_sw_dma_fence_cb *cb = container_of(wrk, typeof(*cb), work); in irq_i915_sw_fence_work()
/dragonfly/sys/dev/drm/include/linux/
H A Dlist.h151 list_entry(((ptr)->member.next), typeof(*(ptr)), member)
157 list_entry(((ptr)->member.prev), typeof(*(ptr)), member)
167 p = list_entry(p->field.next, typeof(*p), field))
170 for (p = list_entry((h)->next, typeof(*p), field), \
172 p = n, n = list_entry(n->field.next, typeof(*n), field))
176 p = list_entry((p)->field.next, typeof(*p), field))
188 for (n = list_entry(pos->member.next, typeof(*pos), member); \
194 p = list_entry(p->field.prev, typeof(*p), field))
197 for (p = list_entry((h)->prev, typeof(*p), field), \
199 p = n, n = list_entry(n->field.prev, typeof(*n), field))
[all …]
H A Drcupdate.h59 ((typeof(*p) *)(p))
63 typeof(*(p)) *__rcu_dereference_tmp = READ_ONCE(p); \
90 #define rcu_access_pointer(p) ((typeof(*p) *)READ_ONCE(p))
H A Dkernel.h86 #define clamp_val(val, lo, hi) clamp_t(typeof(val), val, lo, hi)
107 typeof(a) _swap_tmp = a; \
H A Dtimer.h128 container_of(arg, typeof(*(var)), field)
H A Dcompiler.h64 #define typeof(x) __typeof(x) macro
/dragonfly/tools/tools/drm/radeon/mkregtable/
H A Dmkregtable.c28 const typeof(((type *)0)->member)*__mptr = (ptr); \
412 for (pos = list_entry((head)->next, typeof(*pos), member); \
414 pos = list_entry(pos->member.next, typeof(*pos), member))
423 for (pos = list_entry((head)->prev, typeof(*pos), member); \
425 pos = list_entry(pos->member.prev, typeof(*pos), member))
436 ((pos) ? : list_entry(head, typeof(*pos), member))
486 for (pos = list_entry((head)->next, typeof(*pos), member), \
487 n = list_entry(pos->member.next, typeof(*pos), member); \
503 n = list_entry(pos->member.next, typeof(*pos), member); \
533 for (pos = list_entry((head)->prev, typeof(*pos), member), \
[all …]
/dragonfly/contrib/lvm2/dist/lib/datastruct/
H A Dlist.h155 for (v = dm_list_struct_base((head)->n, typeof(*v), field); \
157 v = dm_list_struct_base(v->field.n, typeof(*v), field))
173 for (v = dm_list_struct_base((head)->n, typeof(*v), field), \
174 t = dm_list_struct_base(v->field.n, typeof(*v), field); \
176 v = t, t = dm_list_struct_base(v->field.n, typeof(*v), field))
193 for (v = dm_list_struct_base((head)->p, typeof(*v), field); \
195 v = dm_list_struct_base(v->field.p, typeof(*v), field))
/dragonfly/contrib/lvm2/dist/libdm/datastruct/
H A Dlist.h155 for (v = dm_list_struct_base((head)->n, typeof(*v), field); \
157 v = dm_list_struct_base(v->field.n, typeof(*v), field))
173 for (v = dm_list_struct_base((head)->n, typeof(*v), field), \
174 t = dm_list_struct_base(v->field.n, typeof(*v), field); \
176 v = t, t = dm_list_struct_base(v->field.n, typeof(*v), field))
193 for (v = dm_list_struct_base((head)->p, typeof(*v), field); \
195 v = dm_list_struct_base(v->field.p, typeof(*v), field))
/dragonfly/contrib/lvm2/dist/include/
H A Dutil.h20 #define min(a, b) ({ typeof(a) _a = (a); \
21 typeof(b) _b = (b); \
25 #define max(a, b) ({ typeof(a) _a = (a); \
26 typeof(b) _b = (b); \
H A Dlibdevmapper.h802 for (v = dm_list_struct_base((head)->n, typeof(*v), field); \
804 v = dm_list_struct_base(v->field.n, typeof(*v), field))
820 for (v = dm_list_struct_base((head)->n, typeof(*v), field), \
821 t = dm_list_struct_base(v->field.n, typeof(*v), field); \
823 v = t, t = dm_list_struct_base(v->field.n, typeof(*v), field))
840 for (v = dm_list_struct_base((head)->p, typeof(*v), field); \
842 v = dm_list_struct_base(v->field.p, typeof(*v), field))
/dragonfly/contrib/lvm2/dist/lib/misc/
H A Dutil.h20 #define min(a, b) ({ typeof(a) _a = (a); \
21 typeof(b) _b = (b); \
25 #define max(a, b) ({ typeof(a) _a = (a); \
26 typeof(b) _b = (b); \
/dragonfly/contrib/lvm2/dist/libdm/
H A Dlibdevmapper.h802 for (v = dm_list_struct_base((head)->n, typeof(*v), field); \
804 v = dm_list_struct_base(v->field.n, typeof(*v), field))
820 for (v = dm_list_struct_base((head)->n, typeof(*v), field), \
821 t = dm_list_struct_base(v->field.n, typeof(*v), field); \
823 v = t, t = dm_list_struct_base(v->field.n, typeof(*v), field))
840 for (v = dm_list_struct_base((head)->p, typeof(*v), field); \
842 v = dm_list_struct_base(v->field.p, typeof(*v), field))
/dragonfly/contrib/gcc-4.7/libgcc/
H A Dsync.c122 typeof (NAME##_##UNITS) __##NAME##_##UNITS \
175 typeof (sync_synchronize) __sync_synchronize \
/dragonfly/contrib/cryptsetup/luks/
H A Dkeyencryption.c41 typeof(a) __a = (a); \
42 typeof(b) __b = (b); \
/dragonfly/contrib/wpa_supplicant/src/utils/
H A Dplatform.h13 typeof(*(p)) __val; \
/dragonfly/sys/dev/drm/
H A Ddrm_mm.c182 struct drm_mm *mm = container_of(rb, typeof(*mm), interval_tree); in INTERVAL_TREE_DEFINE()
296 hole = list_entry(drm_mm_nodes(mm), typeof(*hole), node_list); in drm_mm_reserve_node()
299 hole = list_last_entry(&hole->node_list, typeof(*hole), node_list); in drm_mm_reserve_node()
749 hole = list_first_entry(&mm->hole_stack, typeof(*hole), hole_stack); in drm_mm_scan_color_evict()
H A Dlinux_reservation.c91 fobj = krealloc(obj->staged, offsetof(typeof(*fobj), shared[max]), in reservation_object_reserve_shared()
283 size = offsetof(typeof(*src_list), in reservation_object_copy_fences()
/dragonfly/contrib/gcc-4.7/libobjc/
H A Dencoding.c46 ({ typeof (X) __x = (X), __y = (Y); \
51 ({ typeof (X) __x = (X), __y = (Y); \
56 ({ typeof (V) __v = (V); typeof (A) __a = (A); \
H A Dgc.c54 ({ typeof (V) __v = (V); typeof (A) __a = (A); \

123