Searched refs:container_of (Results 1 - 25 of 69) sorted by relevance

123

/xsrc/external/mit/libdrm/dist/
H A Dutil_double_list.h110 #ifndef container_of
111 #define container_of(ptr, sample, member) \ macro
117 for (pos = container_of((head)->next, pos, member); \
119 pos = container_of(pos->member.next, pos, member))
122 for (pos = container_of((head)->next, pos, member), \
123 storage = container_of(pos->member.next, pos, member); \
125 pos = storage, storage = container_of(storage->member.next, storage, member))
128 for (pos = container_of((head)->prev, pos, member), \
129 storage = container_of(pos->member.prev, pos, member); \
131 pos = storage, storage = container_of(storag
[all...]
/xsrc/external/mit/xf86-video-intel/dist/src/sna/
H A Dgen4_common.c47 sna = container_of(kgem, struct sna, kgem);
59 sna = container_of(kgem, struct sna, kgem);
H A Dgen6_common.c63 sna = container_of(kgem, struct sna, kgem);
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
H A Dgen4_common.c47 sna = container_of(kgem, struct sna, kgem);
59 sna = container_of(kgem, struct sna, kgem);
H A Dgen6_common.c63 sna = container_of(kgem, struct sna, kgem);
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dlist.h174 #ifndef container_of
175 #define container_of(ptr, sample, member) \ macro
188 for (pos = NULL, pos = container_of((head)->next, pos, member); \
190 pos = container_of(pos->member.next, pos, member))
193 for (pos = NULL, pos = container_of((head)->next, pos, member), \
194 storage = container_of(pos->member.next, pos, member); \
196 pos = storage, storage = container_of(storage->member.next, storage, member))
199 for (pos = NULL, pos = container_of((head)->prev, pos, member), \
200 storage = container_of(pos->member.prev, pos, member); \
202 pos = storage, storage = container_of(storag
[all...]
/xsrc/external/mit/xf86-video-qxl/dist/src/
H A Dspiceqxl_display.c31 #ifndef container_of
32 #define container_of(ptr, type, member) ({ \ macro
91 qxl_screen_t *qxl = container_of(sin, qxl_screen_t, display_sin);
104 qxl_screen_t *qxl = container_of(sin, qxl_screen_t, display_sin);
113 qxl_screen_t *qxl = container_of(sin, qxl_screen_t, display_sin);
121 qxl_screen_t *qxl = container_of(sin, qxl_screen_t, display_sin);
145 qxl_screen_t *qxl = container_of(sin, qxl_screen_t, display_sin);
175 qxl_screen_t *qxl = container_of(sin, qxl_screen_t, display_sin);
224 qxl_screen_t *qxl = container_of(sin, qxl_screen_t, display_sin);
254 qxl_screen_t *qxl = container_of(si
[all...]
H A Dspiceqxl_inputs.c236 XSpiceKbd *kbd = container_of(sin, XSpiceKbd, sin);
260 XSpiceKbd *kbd = container_of(sin, XSpiceKbd, sin);
299 XSpicePointer *spice_pointer = container_of(sin, XSpicePointer, tablet);
/xsrc/external/mit/xorg-server.old/dist/include/
H A Dlist.h77 #ifndef container_of
78 #define container_of(ptr, type, member) \ macro
83 container_of(ptr, type, member)
/xsrc/external/mit/xorg-server/dist/present/
H A Dpresent_fence.c46 struct present_fence *present_fence = container_of(trigger, struct present_fence, trigger);
54 struct present_fence *present_fence = container_of(trigger, struct present_fence, trigger);
63 struct present_fence *present_fence = container_of(trigger, struct present_fence, trigger);
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_shader_args.h58 return container_of(args, struct radv_shader_args, ac);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/panfrost/
H A Dpan_mempool.h54 return container_of(pool, struct panfrost_pool, base);
/xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
H A Dpanvk_mempool.h72 return container_of(pool, struct panvk_pool, base);
/xsrc/external/mit/xorg-server/dist/include/
H A Dlist.h228 * f = container_of(&foo->entry, struct foo, entry);
236 #ifndef container_of
237 #define container_of(ptr, type, member) \ macro
242 * Alias of container_of
245 container_of(ptr, type, member)
279 container_of(ptr, typeof(*sample), member)
/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/
H A Dvbo_private.h61 return container_of(exec, struct gl_context, vbo_context.exec);
68 return container_of(exec, struct gl_context, vbo_context.exec);
75 return container_of(save, struct gl_context, vbo_context.save);
/xsrc/external/mit/libdrm/dist/tegra/
H A Dprivate.h38 #define container_of(ptr, type, member) ({ \ macro
/xsrc/external/mit/xf86-video-intel-2014/dist/src/
H A Dintel_list.h273 * Alias of container_of
276 container_of(ptr, type, member)
310 container_of(ptr, typeof(*sample), member)
416 #undef container_of
417 #define container_of(ptr, type, member) \ macro
/xsrc/external/mit/xf86-video-intel/dist/src/
H A Dintel_list.h273 * Alias of container_of
276 container_of(ptr, type, member)
409 #undef container_of
410 #define container_of(ptr, type, member) \ macro
/xsrc/external/mit/libdrm/dist/tests/tegra/
H A Dvic40.c51 struct vic40 *vic = container_of(v, struct vic40, base);
91 struct vic40 *vic = container_of(v, struct vic40, base);
160 struct vic40 *vic = container_of(v, struct vic40, base);
231 struct vic40 *vic = container_of(v, struct vic40, base);
252 struct vic40 *vic = container_of(v, struct vic40, base);
H A Dvic41.c51 struct vic41 *vic = container_of(v, struct vic41, base);
91 struct vic41 *vic = container_of(v, struct vic41, base);
160 struct vic41 *vic = container_of(v, struct vic41, base);
231 struct vic41 *vic = container_of(v, struct vic41, base);
256 struct vic41 *vic = container_of(v, struct vic41, base);
H A Dvic42.c51 struct vic42 *vic = container_of(v, struct vic42, base);
91 struct vic42 *vic = container_of(v, struct vic42, base);
160 struct vic42 *vic = container_of(v, struct vic42, base);
231 struct vic42 *vic = container_of(v, struct vic42, base);
256 struct vic42 *vic = container_of(v, struct vic42, base);
/xsrc/external/mit/MesaLib/dist/src/panfrost/lib/
H A Dpan_pool.h70 pool_subclass *pool = container_of(p, pool_subclass, base); \
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/driver_rbug/
H A Drbug_core.c50 #define container_of(ptr, type, field) \ macro
77 rb_context = container_of(ptr, struct rbug_context, list);
93 tr_shdr = container_of(ptr, struct rbug_shader, list);
189 tr_tex = container_of(ptr, struct rbug_resource, list);
212 tr_tex = container_of(ptr, struct rbug_resource, list);
261 tr_tex = container_of(ptr, struct rbug_resource, list);
308 rb_context = container_of(ptr, struct rbug_context, list);
535 tr_shdr = container_of(ptr, struct rbug_shader, list);
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dmacros.h97 * container_of - cast a member of a structure out to the containing structure
104 # define container_of(ptr, type, member) \ macro
109 # define container_of(ptr, type, member) ({ \ macro
113 !"pointer type mismatch in container_of()"); \
/xsrc/external/mit/MesaLib/dist/src/vulkan/util/
H A Dvk_log.c52 return container_of(obj, struct vk_physical_device, base);
71 return container_of(obj, struct vk_instance, base);

Completed in 20 milliseconds

123