/external/libdrm/ |
D | util_double_list.h | 110 #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/ |
D | u_double_list.h | 114 #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/ |
D | list.h | 169 #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/ |
D | igt_list.h | 100 #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/ |
D | util-list.h | 50 #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/ |
D | libkmod-list.c | 202 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()
|
D | libkmod-internal.h | 78 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/ |
D | list.h | 13 #ifndef container_of 21 #define container_of(ptr, type, member) ({ \ macro 147 container_of(ptr, type, member)
|
/external/blktrace/ |
D | rbtree.h | 120 #define container_of(ptr, type, member) ({ \ macro 141 #define rb_entry(ptr, type, member) container_of(ptr, type, member)
|
/external/e2fsprogs/lib/ext2fs/ |
D | rbtree.h | 107 #define container_of(ptr, type, member) ({ \ macro 144 #define ext2fs_rb_entry(ptr, type, member) container_of(ptr, type, member)
|
/external/zstd/tests/regression/ |
D | method.c | 34 #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/ |
D | rbug_core.c | 50 #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/ |
D | list.h | 7 #define container_of(ptr, type, member) ({ \ macro 53 container_of(ptr, type, member)
|
/external/iproute2/lib/ |
D | ll_map.c | 47 = 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/ |
D | adapter.rs | 100 macro_rules! container_of { macro 209 $crate::container_of!(link.as_ptr(), $value, $field)
|
/external/iptables/libiptc/ |
D | linux_stddef.h | 23 #define container_of(ptr, type, member) ({ \ macro
|
D | linux_list.h | 15 #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/ |
D | misc.h | 18 #define container_of(ptr, type, member) ({ \ macro
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_shader_args.h | 79 return (struct radv_shader_args *) container_of(args, radv_args, ac); in radv_shader_args_from_ac()
|
/external/libnl/python/netlink/ |
D | utils.h | 32 #define container_of(ptr, type, member) ({ \ macro
|
/external/kmod/shared/ |
D | macro.h | 34 #define container_of(member_ptr, containing_type, member) \ macro
|
/external/ltp/testcases/realtime/include/ |
D | list.h | 252 #define container_of(ptr, type, member) ({ \ macro 264 container_of(ptr, type, member)
|
/external/libnfnetlink/include/ |
D | linux_list.h | 17 #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/ |
D | linux_list.h | 18 #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/ |
D | iris_context.c | 84 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()
|