Home
last modified time | relevance | path

Searched refs:container_of (Results 1 – 25 of 55) sorted by relevance

123

/external/libdrm/
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(storage->member.prev, storage, member))
[all …]
/external/virglrenderer/src/gallium/auxiliary/util/
Du_double_list.h114 #ifndef container_of
115 #define container_of(ptr, sample, member) \ macro
121 for (pos = NULL, pos = container_of((head)->next, pos, member); \
123 pos = container_of(pos->member.next, pos, member))
126 for (pos = NULL, pos = container_of((head)->next, pos, member), \
127 storage = container_of(pos->member.next, pos, member); \
129 pos = storage, storage = container_of(storage->member.next, storage, member))
132 for (pos = NULL, pos = container_of((head)->prev, pos, member), \
133 storage = container_of(pos->member.prev, pos, member); \
135 pos = storage, storage = container_of(storage->member.prev, storage, member))
[all …]
/external/mesa3d/src/util/
Dlist.h169 #ifndef container_of
170 #define container_of(ptr, sample, member) \ macro
183 for (pos = NULL, pos = container_of((head)->next, pos, member); \
185 pos = container_of(pos->member.next, pos, member))
188 for (pos = NULL, pos = container_of((head)->next, pos, member), \
189 storage = container_of(pos->member.next, pos, member); \
191 pos = storage, storage = container_of(storage->member.next, storage, member))
194 for (pos = NULL, pos = container_of((head)->prev, pos, member), \
195 storage = container_of(pos->member.prev, pos, member); \
197 pos = storage, storage = container_of(storage->member.prev, storage, member))
[all …]
/external/igt-gpu-tools/lib/
Digt_list.h100 #define container_of(ptr, sample, member) \ macro
104 container_of((head)->next, (pos), member)
106 container_of((head)->prev, (pos), member)
109 container_of((pos)->member.next, (pos), member)
111 container_of((pos)->member.prev, (pos), member)
/external/libxkbcommon/src/
Dutil-list.h50 #define container_of(ptr, type, member) \ macro
55 container_of((head)->next, __typeof__(*pos), member)
58 container_of((head)->prev, __typeof__(*pos), member)
/external/kmod/libkmod/
Dlibkmod-list.c202 return container_of(node, struct kmod_list, node); in kmod_list_remove()
225 return container_of(node, struct kmod_list, node); in kmod_list_remove_data()
268 return container_of(curr->node.prev, struct kmod_list, node); in kmod_list_prev()
293 return container_of(curr->node.next, struct kmod_list, node); in kmod_list_next()
313 return container_of(list->node.prev, struct kmod_list, node); in kmod_list_last()
Dlibkmod-internal.h78 container_of(list_entry->node.next, struct kmod_list, node))
82 …for (list_entry = (((first_entry) == NULL) ? NULL : container_of(first_entry->node.prev, struct km…
85 container_of(list_entry->node.prev, struct kmod_list, node)))
/external/blktrace/btt/
Dlist.h13 #ifndef container_of
21 #define container_of(ptr, type, member) ({ \ macro
147 container_of(ptr, type, member)
/external/blktrace/
Drbtree.h120 #define container_of(ptr, type, member) ({ \ macro
141 #define rb_entry(ptr, type, member) container_of(ptr, type, member)
/external/e2fsprogs/lib/ext2fs/
Drbtree.h107 #define container_of(ptr, type, member) ({ \ macro
144 #define ext2fs_rb_entry(ptr, type, member) container_of(ptr, type, member)
/external/zstd/tests/regression/
Dmethod.c34 #define container_of(ptr, type, member) \ macro
71 buffer_state_t* state = container_of(base, buffer_state_t, base); in buffer_state_destroy()
95 buffer_state_t* state = container_of(base, buffer_state_t, base); in simple_compress()
144 buffer_state_t* state = container_of(base, buffer_state_t, base); in compress_cctx_compress()
328 buffer_state_t* state = container_of(base, buffer_state_t, base); in advanced_one_pass_compress_output_adjustment()
385 buffer_state_t* state = container_of(base, buffer_state_t, base); in advanced_streaming_compress()
505 buffer_state_t* state = container_of(base, buffer_state_t, base); in old_streaming_compress_internal()
/external/mesa3d/src/gallium/auxiliary/driver_rbug/
Drbug_core.c50 #define container_of(ptr, type, field) \ macro
77 rb_context = container_of(ptr, struct rbug_context, list); in rbug_get_context_locked()
93 tr_shdr = container_of(ptr, struct rbug_shader, list); in rbug_get_shader_locked()
189 tr_tex = container_of(ptr, struct rbug_resource, list); in rbug_texture_list()
212 tr_tex = container_of(ptr, struct rbug_resource, list); in rbug_texture_info()
261 tr_tex = container_of(ptr, struct rbug_resource, list); in rbug_texture_read()
308 rb_context = container_of(ptr, struct rbug_context, list); in rbug_context_list()
535 tr_shdr = container_of(ptr, struct rbug_shader, list); in rbug_shader_list()
/external/iproute2/include/
Dlist.h7 #define container_of(ptr, type, member) ({ \ macro
53 container_of(ptr, type, member)
/external/iproute2/lib/
Dll_map.c47 = container_of(n, struct ll_cache, idx_hash); in ll_get_by_index()
72 = container_of(n, struct ll_cache, name_hash); in ll_get_by_name()
/external/rust/crates/intrusive-collections/src/
Dadapter.rs100 macro_rules! container_of { macro
209 $crate::container_of!(link.as_ptr(), $value, $field)
/external/iptables/libiptc/
Dlinux_stddef.h23 #define container_of(ptr, type, member) ({ \ macro
Dlinux_list.h15 #define container_of(ptr, type, member) ({ \ macro
331 container_of(ptr, type, member)
646 #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
/external/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dmisc.h18 #define container_of(ptr, type, member) ({ \ macro
/external/mesa3d/src/amd/vulkan/
Dradv_shader_args.h79 return (struct radv_shader_args *) container_of(args, radv_args, ac); in radv_shader_args_from_ac()
/external/libnl/python/netlink/
Dutils.h32 #define container_of(ptr, type, member) ({ \ macro
/external/kmod/shared/
Dmacro.h34 #define container_of(member_ptr, containing_type, member) \ macro
/external/ltp/testcases/realtime/include/
Dlist.h252 #define container_of(ptr, type, member) ({ \ macro
264 container_of(ptr, type, member)
/external/libnfnetlink/include/
Dlinux_list.h17 #define container_of(ptr, type, member) ({ \ macro
335 container_of(ptr, type, member)
650 #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
/external/libnetfilter_conntrack/include/internal/
Dlinux_list.h18 #define container_of(ptr, type, member) ({ \ macro
336 container_of(ptr, type, member)
651 #define hlist_entry(ptr, type, member) container_of(ptr,type,member)
/external/mesa3d/src/gallium/drivers/iris/
Diris_context.c84 ice = container_of(batch, ice, batches[IRIS_BATCH_RENDER]); in iris_lost_context_state()
89 ice = container_of(batch, ice, batches[IRIS_BATCH_COMPUTE]); in iris_lost_context_state()

123