Home
last modified time | relevance | path

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

/external/libdrm/
Dutil_double_list.h104 #ifndef container_of
105 #define container_of(ptr, sample, member) \ macro
111 for (pos = container_of((head)->next, pos, member); \
113 pos = container_of(pos->member.next, pos, member))
116 for (pos = container_of((head)->next, pos, member), \
117 storage = container_of(pos->member.next, pos, member); \
119 pos = storage, storage = container_of(storage->member.next, storage, member))
122 for (pos = container_of((head)->prev, pos, member), \
123 storage = container_of(pos->member.prev, pos, member); \
125 pos = storage, storage = container_of(storage->member.prev, storage, member))
[all …]
/external/mesa3d/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/blktrace/btt/
Dlist.h13 #ifndef container_of
21 #define container_of(ptr, type, member) ({ \ macro
147 container_of(ptr, type, member)
/external/fio/
Dgoptions.c473 struct gopt_int *i_inv = container_of(b_inv, struct gopt_int, gopt); in gopt_int_changed()
588 struct gopt_bool *b_inv = container_of(g_inv, struct gopt_bool, gopt); in gopt_bool_toggled()
879 g = container_of(gopt, struct gopt_str_val, gopt); in gopt_set_option()
891 i = container_of(gopt, struct gopt_int, gopt); in gopt_set_option()
904 c = container_of(gopt, struct gopt_combo, gopt); in gopt_set_option()
914 i = container_of(gopt, struct gopt_int, gopt); in gopt_set_option()
927 b = container_of(gopt, struct gopt_bool, gopt); in gopt_set_option()
940 c = container_of(gopt, struct gopt_combo, gopt); in gopt_set_option()
953 s = container_of(gopt, struct gopt_str, gopt); in gopt_set_option()
971 s = container_of(gopt, struct gopt_str, gopt); in gopt_set_option()
[all …]
Dflist.h13 #define container_of(ptr, type, member) ({ \ macro
175 container_of(ptr, type, member)
Dgraph.c755 alias = container_of(ret, struct graph_value, node); in graph_label_add_value()
995 v = container_of(n, struct graph_value, node); in graph_find_tooltip()
Diolog.c997 data = container_of(work, struct iolog_flush_data, work); in gz_work()
/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.h106 #define container_of(ptr, type, member) ({ \ macro
143 #define ext2fs_rb_entry(ptr, type, member) container_of(ptr, type, member)
/external/mesa3d/src/gallium/drivers/rbug/
Drbug_core.c50 #define container_of(ptr, type, field) \ macro
76 rb_context = container_of(ptr, struct rbug_context, list); in rbug_get_context_locked()
92 tr_shdr = container_of(ptr, struct rbug_shader, list); in rbug_get_shader_locked()
188 tr_tex = container_of(ptr, struct rbug_resource, list); in rbug_texture_list()
210 tr_tex = container_of(ptr, struct rbug_resource, list); in rbug_texture_info()
257 tr_tex = container_of(ptr, struct rbug_resource, list); in rbug_texture_read()
307 rb_context = container_of(ptr, struct rbug_context, list); in rbug_context_list()
534 tr_shdr = container_of(ptr, struct rbug_shader, list); in rbug_shader_list()
/external/f2fs-tools/include/
Dlist.h9 #define container_of(ptr, type, member) ({ \ macro
72 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/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)
Dlibiptc.c1602 struct rule_head *r = container_of(e, struct rule_head, entry[0]); in TC_GET_TARGET()
/external/libdrm/amdgpu/
Damdgpu_vamgr.c172 hole = container_of(mgr->va_holes.next, hole, list); in amdgpu_vamgr_free_va()
182 hole = container_of(&mgr->va_holes, hole, list); in amdgpu_vamgr_free_va()
/external/fio/lib/
Drbtree.h133 #define rb_entry(ptr, type, member) container_of(ptr, type, member)
/external/iproute2/include/
Dhlist.h7 #define container_of(ptr, type, member) ({ \ macro
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_context.c44 nv30 = container_of(push->user_priv, nv30, bufctx); in nv30_context_kick_notify()
/external/iproute2/tc/
Dtc_class.c233 struct graph_node *cls = container_of(n, struct graph_node, in graph_cls_show()
237 struct graph_node *child = container_of(c, in graph_cls_show()
/external/fio/engines/
Dsolarisaio.c56 io_u = container_of(res, struct io_u, resultp); in wait_for_event()
Dlibaio.c89 io_u = container_of(ev->obj, struct io_u, iocb); in fio_libaio_event()
/external/libusb/libusb/
Dlibusbi.h99 #define container_of(ptr, type, member) ({ \ macro
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c310 hole = container_of(mgr->va_holes.next, hole, list); in radeon_bomgr_free_va()
320 hole = container_of(&mgr->va_holes, hole, list); in radeon_bomgr_free_va()
/external/iproute2/ip/
Dipnetns.c158 struct nsid_cache *c = container_of(n, struct nsid_cache, in netns_map_get_by_nsid()