/external/libbrillo/brillo/udev/ |
D | udev_device.cc | 97 udev_list_entry* list_entry = udev_device_get_devlinks_list_entry(device_); in GetDeviceLinksListEntry() local 98 return list_entry ? std::make_unique<UdevListEntry>(list_entry) : nullptr; in GetDeviceLinksListEntry() 102 udev_list_entry* list_entry = udev_device_get_properties_list_entry(device_); in GetPropertiesListEntry() local 103 return list_entry ? std::make_unique<UdevListEntry>(list_entry) : nullptr; in GetPropertiesListEntry() 111 udev_list_entry* list_entry = udev_device_get_tags_list_entry(device_); in GetTagsListEntry() local 112 return list_entry ? std::make_unique<UdevListEntry>(list_entry) : nullptr; in GetTagsListEntry() 116 udev_list_entry* list_entry = udev_device_get_sysattr_list_entry(device_); in GetSysAttributeListEntry() local 117 return list_entry ? std::make_unique<UdevListEntry>(list_entry) : nullptr; in GetSysAttributeListEntry()
|
D | udev_list_entry.cc | 15 UdevListEntry::UdevListEntry(udev_list_entry* list_entry) in UdevListEntry() argument 16 : list_entry_(list_entry) { in UdevListEntry() 21 udev_list_entry* list_entry = udev_list_entry_get_next(list_entry_); in GetNext() local 22 return list_entry ? std::make_unique<UdevListEntry>(list_entry) : nullptr; in GetNext() 27 udev_list_entry* list_entry = udev_list_entry_get_by_name(list_entry_, name); in GetByName() local 28 return list_entry ? std::make_unique<UdevListEntry>(list_entry) : nullptr; in GetByName()
|
D | udev_enumerate.cc | 154 udev_list_entry* list_entry = udev_enumerate_get_list_entry(enumerate_); in GetListEntry() local 155 return list_entry ? std::make_unique<UdevListEntry>(list_entry) : nullptr; in GetListEntry()
|
D | udev_list_entry.h | 24 explicit UdevListEntry(udev_list_entry* list_entry);
|
/external/blktrace/iowatcher/ |
D | list.h | 286 #define list_entry(ptr, type, member) \ macro 337 for (pos = list_entry((head)->next, typeof(*pos), member); \ 339 pos = list_entry(pos->member.next, typeof(*pos), member)) 348 for (pos = list_entry((head)->prev, typeof(*pos), member); \ 350 pos = list_entry(pos->member.prev, typeof(*pos), member)) 361 ((pos) ? : list_entry(head, typeof(*pos), member)) 373 for (pos = list_entry(pos->member.next, typeof(*pos), member); \ 375 pos = list_entry(pos->member.next, typeof(*pos), member)) 387 pos = list_entry(pos->member.next, typeof(*pos), member)) 397 for (pos = list_entry((head)->next, typeof(*pos), member), \ [all …]
|
/external/ltp/testcases/realtime/include/ |
D | list.h | 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((head)->next, typeof(*pos), member), \ 347 n = list_entry(pos->member.next, typeof(*pos), member); \ [all …]
|
/external/kmod/libkmod/ |
D | libkmod.h | 92 #define kmod_list_foreach(list_entry, first_entry) \ argument 93 for (list_entry = first_entry; \ 94 list_entry != NULL; \ 95 list_entry = kmod_list_next(first_entry, list_entry)) 97 #define kmod_list_foreach_reverse(list_entry, first_entry) \ argument 98 for (list_entry = kmod_list_last(first_entry); \ 99 list_entry != NULL; \ 100 list_entry = kmod_list_prev(first_entry, list_entry))
|
D | libkmod-internal.h | 74 #define kmod_list_foreach(list_entry, first_entry) \ argument 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) \ argument 82 …for (list_entry = (((first_entry) == NULL) ? NULL : container_of(first_entry->node.prev, struct km… 83 list_entry != NULL; \ 84 list_entry = ((list_entry == first_entry) ? NULL : \ 85 container_of(list_entry->node.prev, struct kmod_list, node)))
|
/external/libnfnetlink/include/ |
D | linux_list.h | 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((head)->next, typeof(*pos), member), \ 437 n = list_entry(pos->member.next, typeof(*pos), member); \ [all …]
|
/external/libnetfilter_conntrack/include/internal/ |
D | linux_list.h | 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((head)->next, typeof(*pos), member), \ 438 n = list_entry(pos->member.next, typeof(*pos), member); \ [all …]
|
/external/iptables/libiptc/ |
D | linux_list.h | 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((head)->next, typeof(*pos), member), \ 433 n = list_entry(pos->member.next, typeof(*pos), member); \ [all …]
|
/external/erofs-utils/include/erofs/ |
D | list.h | 70 #define list_entry(ptr, type, member) container_of(ptr, type, member) macro 73 list_entry((ptr)->next, type, member) 76 list_entry((ptr)->prev, type, member) 79 list_entry((pos)->member.next, typeof(*(pos)), member) 82 list_entry((pos)->member.prev, typeof(*(pos)), member)
|
/external/e2fsprogs/lib/blkid/ |
D | cache.c | 75 blkid_dev dev = list_entry(p, struct blkid_struct_dev, bid_devs); 130 blkid_dev dev = list_entry(cache->bic_devs.next, in blkid_put_cache() 137 blkid_tag tag = list_entry(cache->bic_tags.next, in blkid_put_cache() 142 blkid_tag bad = list_entry(tag->bit_names.next, in blkid_put_cache() 166 blkid_dev dev = list_entry(p, struct blkid_struct_dev, bid_devs); in blkid_gc_cache()
|
D | dev.c | 45 blkid_tag tag = list_entry(dev->bid_tags.next, in blkid_free_dev() 79 blkid_tag tag = list_entry(p, struct blkid_struct_tag, bit_tags); in blkid_debug_dump_dev() 166 dev = list_entry(iter->p, struct blkid_struct_dev, bid_devs); in blkid_dev_next()
|
D | tag.c | 76 blkid_tag tmp = list_entry(p, struct blkid_struct_tag, in blkid_find_tag_dev() 114 tmp = list_entry(p, struct blkid_struct_tag, bit_tags); in blkid_find_head_cache() 308 tag = list_entry(iter->p, struct blkid_struct_tag, bit_tags); in blkid_tag_next() 353 blkid_tag tmp = list_entry(p, struct blkid_struct_tag, in blkid_find_dev_with_tag()
|
D | save.c | 51 blkid_tag tag = list_entry(p, struct blkid_struct_tag, bit_tags); in save_dev() 132 blkid_dev dev = list_entry(p, struct blkid_struct_dev, bid_devs); in blkid_flush_cache()
|
D | devname.c | 61 tmp = list_entry(p, struct blkid_struct_dev, bid_devs); in blkid_get_dev() 97 dev2 = list_entry(p, struct blkid_struct_dev, bid_devs); in blkid_get_dev() 194 blkid_dev tmp = list_entry(p, struct blkid_struct_dev, in probe_one() 478 tmp = list_entry(p, struct blkid_struct_dev, in probe_all()
|
/external/iproute2/include/ |
D | list.h | 52 #define list_entry(ptr, type, member) \ macro 56 list_entry((ptr)->next, type, member) 59 list_entry((ptr)->prev, type, member) 62 list_entry((pos)->member.next, typeof(*(pos)), member) 65 list_entry((pos)->member.prev, typeof(*(pos)), member)
|
/external/perfetto/src/traced/probes/filesystem/ |
D | lru_inode_cache.cc | 26 auto list_entry = map_it->second; in Get() local 30 Insert(map_it, std::move(list_entry->first), std::move(list_entry->second)); in Get()
|
/external/blktrace/btt/ |
D | devs.c | 68 dip = list_entry(p, struct d_info, hash_head); in __dip_find() 103 struct d_info *dip = list_entry(p, struct d_info, all_head); in dip_exit() 191 this = list_entry(p, struct io, f_head); in dip_foreach() 214 func(list_entry(p, struct d_info, all_head), arg); in dip_foreach_out() 273 struct d_info *dip = list_entry(p, struct d_info, all_head); in dip_cleanup()
|
D | devmap.c | 55 struct devmap *dmp = list_entry(p, struct devmap, head); in dev_map_find() 88 struct devmap *dmp = list_entry(p, struct devmap, head); in dev_map_exit()
|
D | misc.c | 54 struct file_info *fip = list_entry(p, struct file_info, head); in clean_files() 71 struct buf_info *bip = list_entry(p, struct buf_info, head); in clean_bufs()
|
D | inlines.h | 40 rip = list_entry(p, struct range_info, head); in __region_exit() 56 rip = list_entry(head_p->prev, struct range_info, head); in update_range() 155 iop = list_entry(p, struct io, a_head); in io_free_all() 361 return list_entry(head->next, struct io, f_head); in io_first_list()
|
/external/blktrace/ |
D | blktrace.c | 934 struct devpath *dpp = list_entry(p, struct devpath, head); in net_send_drops() 1076 struct devpath *dpp = list_entry(p, struct devpath, head); in setup_buts() 1105 struct devpath *dpp = list_entry(p, struct devpath, head); in start_buts() 1147 struct devpath *dpp = list_entry(p, struct devpath, head); in get_all_drops() 1192 struct devpath *dpp = list_entry(p, struct devpath, head); in setup_tracer_devpaths() 1256 struct devpath *tmp = list_entry(p, struct devpath, head); in add_devpath() 1285 struct devpath *dpp = list_entry(p, struct devpath, head); in rel_devpaths() 1321 tbp = list_entry(p, struct trace_buf, head); in handle_list_net() 1378 tbp = list_entry(p, struct trace_buf, head); in handle_list_file() 1440 struct devpath *dpp = list_entry(p, struct devpath, head); in __process_trace_bufs() [all …]
|
/external/blktrace/btreplay/ |
D | btreplay.c | 586 dip = list_entry(p, struct dev_info, head); in add_input_dev() 675 struct map_dev *mdp = list_entry(p, struct map_dev, head); in release_map_devs() 696 struct map_dev *mdp = list_entry(p, struct map_dev, head); in map_dev() 856 struct iocb_pkt *iocbp = list_entry(p, struct iocb_pkt, head); in tip_release() 970 rem_input_file(list_entry(p, struct thr_info, head)); in rem_input_files() 1009 __find_input_files(list_entry(p, struct dev_info, head)); in find_input_files() 1253 iocbp = list_entry(tip->free_iocbs.next, struct iocb_pkt, head); in iocbs_map() 1630 tip_init(list_entry(p, struct thr_info, head)); in main()
|