Searched refs:list_entry (Results 1 - 25 of 42) sorted by relevance

12

/external/syslinux/com32/include/linux/
H A Dlist.h246 * list_entry - get the struct for this entry
251 #define list_entry(ptr, type, member) \ macro
263 list_entry((ptr)->next, type, member)
324 for (pos = list_entry((head)->next, typeof(*pos), member); \
326 pos = list_entry(pos->member.next, typeof(*pos), member))
336 for (pos = list_entry((head)->next, typeof(*pos), member), \
337 n = list_entry(pos->member.next, typeof(*pos), member); \
339 pos = n, n = list_entry(n->member.next, typeof(*n), member))
348 for (pos = list_entry((head)->prev, typeof(*pos), member); \
350 pos = list_entry(po
[all...]
/external/ltp/utils/ffsb-6.0-rc2/
H A Dlist.h35 #define list_entry(ptr, type, member) \ macro
39 for (pos = list_entry((head)->next, typeof(*pos), member); \
41 pos = list_entry(pos->member.next, typeof(*pos), member))
44 for (pos = list_entry((head)->next, typeof(*pos), member), \
45 n = list_entry(pos->member.next, typeof(*pos), member); \
47 pos = n, n = list_entry(n->member.next, typeof(*n), member))
/external/ltp/testcases/realtime/include/
H A Dlist.h258 * list_entry - get the struct for this entry
263 #define list_entry(ptr, type, member) \ macro
301 for (pos = list_entry((head)->next, typeof(*pos), member); \
303 pos = list_entry(pos->member.next, typeof(*pos), member))
312 for (pos = list_entry((head)->prev, typeof(*pos), member); \
314 pos = list_entry(pos->member.prev, typeof(*pos), member))
324 ((pos) ? : list_entry(head, typeof(*pos), member))
334 for (pos = list_entry(pos->member.next, typeof(*pos), member); \
336 pos = list_entry(pos->member.next, typeof(*pos), member))
346 for (pos = list_entry((hea
[all...]
/external/f2fs-tools/include/
H A Dlist.h71 #define list_entry(ptr, type, member) \ macro
81 for (pos = list_entry((head)->next, typeof(*pos), member); \
83 pos = list_entry(pos->member.next, typeof(*pos), member))
85 for (pos = list_entry((head)->next, typeof(*pos), member), \
86 n = list_entry(pos->member.next, typeof(*pos), member); \
88 pos = n, n = list_entry(n->member.next, typeof(*n), member))
/external/syslinux/gpxe/src/include/gpxe/
H A Dlist.h141 #define list_entry( ptr, type, member ) \ macro
161 for ( pos = list_entry ( (head)->next, typeof ( *pos ), member ); \
163 pos = list_entry ( pos->member.next, typeof ( *pos ), member ) )
174 for ( pos = list_entry ( (head)->next, typeof ( *pos ), member ), \
175 tmp = list_entry ( pos->member.next, typeof ( *tmp ), member ); \
178 tmp = list_entry ( tmp->member.next, typeof ( *tmp ), member ) )
/external/kmod/libkmod/
H A Dlibkmod.h91 #define kmod_list_foreach(list_entry, first_entry) \
92 for (list_entry = first_entry; \
93 list_entry != NULL; \
94 list_entry = kmod_list_next(first_entry, list_entry))
96 #define kmod_list_foreach_reverse(list_entry, first_entry) \
97 for (list_entry = kmod_list_last(first_entry); \
98 list_entry != NULL; \
99 list_entry = kmod_list_prev(first_entry, list_entry))
[all...]
H A Dlibkmod-internal.h74 #define kmod_list_foreach(list_entry, first_entry) \
75 for (list_entry = ((first_entry) == NULL) ? NULL : (first_entry); \
76 list_entry != NULL; \
77 list_entry = (list_entry->node.next == &((first_entry)->node)) ? NULL : \
78 container_of(list_entry->node.next, struct kmod_list, node))
81 #define kmod_list_foreach_reverse(list_entry, first_entry) \
82 for (list_entry = (((first_entry) == NULL) ? NULL : container_of(first_entry->node.prev, struct kmod_list, node)); \
83 list_entry != NULL; \
84 list_entry
[all...]
/external/blktrace/btt/
H A Ddevmap.c55 struct devmap *dmp = list_entry(p, struct devmap, head);
87 struct devmap *dmp = list_entry(p, struct devmap, head);
H A Dmisc.c54 struct file_info *fip = list_entry(p, struct file_info, head);
71 struct buf_info *bip = list_entry(p, struct buf_info, head);
H A Ddevs.c68 dip = list_entry(p, struct d_info, hash_head);
101 struct d_info *dip = list_entry(p, struct d_info, all_head);
194 this = list_entry(p, struct io, f_head);
217 func(list_entry(p, struct d_info, all_head), arg);
276 struct d_info *dip = list_entry(p, struct d_info, all_head);
H A Dtrace_issue.c41 struct io *q_iop = list_entry(p, struct io, f_head);
H A Dinlines.h40 rip = list_entry(p, struct range_info, head);
56 rip = list_entry(head_p->prev, struct range_info, head);
155 iop = list_entry(p, struct io, a_head);
361 return list_entry(head->next, struct io, f_head);
/external/e2fsprogs/lib/blkid/
H A Dcache.c75 blkid_dev dev = list_entry(p, struct blkid_struct_dev, bid_devs);
130 blkid_dev dev = list_entry(cache->bic_devs.next,
137 blkid_tag tag = list_entry(cache->bic_tags.next,
142 blkid_tag bad = list_entry(tag->bit_names.next,
166 blkid_dev dev = list_entry(p, struct blkid_struct_dev, bid_devs);
H A Ddev.c44 blkid_tag tag = list_entry(dev->bid_tags.next,
78 blkid_tag tag = list_entry(p, struct blkid_struct_tag, bit_tags);
165 dev = list_entry(iter->p, struct blkid_struct_dev, bid_devs);
H A Dsave.c47 blkid_tag tag = list_entry(p, struct blkid_struct_tag, bit_tags);
124 blkid_dev dev = list_entry(p, struct blkid_struct_dev, bid_devs);
H A Dtag.c76 blkid_tag tmp = list_entry(p, struct blkid_struct_tag,
114 tmp = list_entry(p, struct blkid_struct_tag, bit_tags);
308 tag = list_entry(iter->p, struct blkid_struct_tag, bit_tags);
353 blkid_tag tmp = list_entry(p, struct blkid_struct_tag,
H A Ddevname.c58 tmp = list_entry(p, struct blkid_struct_dev, bid_devs);
94 dev2 = list_entry(p, struct blkid_struct_dev, bid_devs);
191 blkid_dev tmp = list_entry(p, struct blkid_struct_dev,
474 tmp = list_entry(p, struct blkid_struct_dev,
/external/iptables/libiptc/
H A Dlinux_list.h325 * list_entry - get the struct for this entry
330 #define list_entry(ptr, type, member) \ macro
381 for (pos = list_entry((head)->next, typeof(*pos), member), \
384 pos = list_entry(pos->member.next, typeof(*pos), member), \
394 for (pos = list_entry((head)->prev, typeof(*pos), member), \
397 pos = list_entry(pos->member.prev, typeof(*pos), member), \
408 ((pos) ? : list_entry(head, typeof(*pos), member))
418 for (pos = list_entry(pos->member.next, typeof(*pos), member), \
421 pos = list_entry(pos->member.next, typeof(*pos), member), \
432 for (pos = list_entry((hea
[all...]
/external/libnetfilter_conntrack/include/internal/
H A Dlinux_list.h330 * list_entry - get the struct for this entry
335 #define list_entry(ptr, type, member) \ macro
386 for (pos = list_entry((head)->next, typeof(*pos), member), \
389 pos = list_entry(pos->member.next, typeof(*pos), member), \
399 for (pos = list_entry((head)->prev, typeof(*pos), member), \
402 pos = list_entry(pos->member.prev, typeof(*pos), member), \
413 ((pos) ? : list_entry(head, typeof(*pos), member))
423 for (pos = list_entry(pos->member.next, typeof(*pos), member), \
426 pos = list_entry(pos->member.next, typeof(*pos), member), \
437 for (pos = list_entry((hea
[all...]
/external/libnfnetlink/include/
H A Dlinux_list.h329 * list_entry - get the struct for this entry
334 #define list_entry(ptr, type, member) \ macro
385 for (pos = list_entry((head)->next, typeof(*pos), member), \
388 pos = list_entry(pos->member.next, typeof(*pos), member), \
398 for (pos = list_entry((head)->prev, typeof(*pos), member), \
401 pos = list_entry(pos->member.prev, typeof(*pos), member), \
412 ((pos) ? : list_entry(head, typeof(*pos), member))
422 for (pos = list_entry(pos->member.next, typeof(*pos), member), \
425 pos = list_entry(pos->member.next, typeof(*pos), member), \
436 for (pos = list_entry((hea
[all...]
/external/squashfs-tools/kernel/fs/squashfs/
H A Dsquashfs.h32 return list_entry(inode, struct squashfs_inode_info, vfs_inode);
/external/libusb/include/libusb/
H A Dlibusbi.h86 #define list_entry(ptr, type, member) \ macro
90 list_entry((ptr)->next, type, member)
99 for (pos = list_entry((head)->next, type, member); \
101 pos = list_entry(pos->member.next, type, member))
104 for (pos = list_entry((head)->next, type, member), \
105 n = list_entry(pos->member.next, type, member); \
107 pos = n, n = list_entry(n->member.next, type, member))
/external/libusb/libusb/
H A Dlibusbi.h86 #define list_entry(ptr, type, member) \ macro
90 list_entry((ptr)->next, type, member)
99 for (pos = list_entry((head)->next, type, member); \
101 pos = list_entry(pos->member.next, type, member))
104 for (pos = list_entry((head)->next, type, member), \
105 n = list_entry(pos->member.next, type, member); \
107 pos = n, n = list_entry(n->member.next, type, member))
/external/syslinux/com32/elflink/ldlinux/
H A Dcli.c70 last_found = list_entry(cli_history_head.next, typeof(*last_found), list);
84 last_found = list_entry(last_found->list.next, typeof(*last_found), list);
100 last_found = list_entry(last_found->list.next, typeof(*last_found), list);
354 list_entry(next, typeof(*comm_counter), list);
376 list_entry(prev, typeof(*comm_counter), list);
/external/e2fsprogs/lib/ext2fs/
H A Dkernel-list.h103 #define list_entry(ptr, type, member) \ macro

Completed in 4767 milliseconds

12