/dragonfly/sys/dev/drm/i915/ |
H A D | i915_utils.h | 48 __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 D | i915_gem_clflush.c | 55 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 D | intel_dpll_mgr.h | 30 typeof(a) __a = (a); \ 31 typeof(b) __b = (b); \
|
H A D | i915_gem_userptr.c | 67 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 D | i915_vma.h | 254 BUILD_BUG_ON(offsetof(typeof(*view), rotated) != in i915_vma_compare() 255 offsetof(typeof(*view), partial)); in i915_vma_compare()
|
H A D | i915_sw_fence.c | 393 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 D | list.h | 151 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 D | rcupdate.h | 59 ((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 D | kernel.h | 86 #define clamp_val(val, lo, hi) clamp_t(typeof(val), val, lo, hi) 107 typeof(a) _swap_tmp = a; \
|
H A D | timer.h | 128 container_of(arg, typeof(*(var)), field)
|
H A D | compiler.h | 64 #define typeof(x) __typeof(x) macro
|
/dragonfly/tools/tools/drm/radeon/mkregtable/ |
H A D | mkregtable.c | 28 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 D | list.h | 155 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 D | list.h | 155 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 D | util.h | 20 #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 D | libdevmapper.h | 802 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 D | util.h | 20 #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 D | libdevmapper.h | 802 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 D | sync.c | 122 typeof (NAME##_##UNITS) __##NAME##_##UNITS \ 175 typeof (sync_synchronize) __sync_synchronize \
|
/dragonfly/contrib/cryptsetup/luks/ |
H A D | keyencryption.c | 41 typeof(a) __a = (a); \ 42 typeof(b) __b = (b); \
|
/dragonfly/contrib/wpa_supplicant/src/utils/ |
H A D | platform.h | 13 typeof(*(p)) __val; \
|
/dragonfly/sys/dev/drm/ |
H A D | drm_mm.c | 182 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 D | linux_reservation.c | 91 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 D | encoding.c | 46 ({ typeof (X) __x = (X), __y = (Y); \ 51 ({ typeof (X) __x = (X), __y = (Y); \ 56 ({ typeof (V) __v = (V); typeof (A) __a = (A); \
|
H A D | gc.c | 54 ({ typeof (V) __v = (V); typeof (A) __a = (A); \
|