/external/linux-tools-perf/util/include/linux/added/ |
D | list.h | 331 #define list_entry(ptr, type, member) \ macro 343 list_entry((ptr)->next, type, member) 404 for (pos = list_entry((head)->next, typeof(*pos), member); \ 406 pos = list_entry(pos->member.next, typeof(*pos), member)) 415 for (pos = list_entry((head)->prev, typeof(*pos), member); \ 417 pos = list_entry(pos->member.prev, typeof(*pos), member)) 428 ((pos) ? : list_entry(head, typeof(*pos), member)) 440 for (pos = list_entry(pos->member.next, typeof(*pos), member); \ 442 pos = list_entry(pos->member.next, typeof(*pos), member)) 454 for (pos = list_entry(pos->member.prev, typeof(*pos), member); \ [all …]
|
/external/qemu/android/ |
D | adb-server.c | 40 ACList list_entry; member 58 ACList list_entry; member 117 alist_init(&adb_host->list_entry); in _adb_host_new() 130 assert(alist_is_empty(&adb_host->list_entry)); in _adb_host_free() 211 alist_remove(&adb_host->list_entry); in _on_adb_host_disconnected() 216 alist_remove(&adb_guest->list_entry); in _on_adb_host_disconnected() 338 alist_init(&adb_guest->list_entry); in _adb_guest_new() 350 assert(alist_is_empty(&adb_guest->list_entry)); in _adb_guest_free() 393 alist_insert_tail(&adb_srv->adb_guests, &adb_guest->list_entry); in _on_server_socket_io() 394 alist_insert_tail(&adb_srv->adb_hosts, &adb_host->list_entry); in _on_server_socket_io() [all …]
|
/external/kernel-headers/original/linux/ |
D | list.h | 353 #define list_entry(ptr, type, member) \ macro 404 for (pos = list_entry((head)->next, typeof(*pos), member); \ 406 pos = list_entry(pos->member.next, typeof(*pos), member)) 415 for (pos = list_entry((head)->prev, typeof(*pos), member); \ 417 pos = list_entry(pos->member.prev, typeof(*pos), member)) 428 ((pos) ? : list_entry(head, typeof(*pos), member)) 440 for (pos = list_entry(pos->member.next, typeof(*pos), member); \ 442 pos = list_entry(pos->member.next, typeof(*pos), member)) 454 pos = list_entry(pos->member.next, typeof(*pos), member)) 464 for (pos = list_entry((head)->next, typeof(*pos), member), \ [all …]
|
D | pnp.h | 153 #define global_to_pnp_card(n) list_entry(n, struct pnp_card, global_list) 154 #define protocol_to_pnp_card(n) list_entry(n, struct pnp_card, protocol_list) 208 #define global_to_pnp_dev(n) list_entry(n, struct pnp_dev, global_list) 209 #define card_to_pnp_dev(n) list_entry(n, struct pnp_dev, card_list) 210 #define protocol_to_pnp_dev(n) list_entry(n, struct pnp_dev, protocol_list) 344 #define to_pnp_protocol(n) list_entry(n, struct pnp_protocol, protocol_list)
|
/external/chromium/third_party/libjingle/source/talk/third_party/libudev/ |
D | libudev.h | 50 struct udev_list_entry *udev_list_entry_get_next(struct udev_list_entry *list_entry); 51 struct udev_list_entry *udev_list_entry_get_by_name(struct udev_list_entry *list_entry, const char … 52 const char *udev_list_entry_get_name(struct udev_list_entry *list_entry); 53 const char *udev_list_entry_get_value(struct udev_list_entry *list_entry); 61 #define udev_list_entry_foreach(list_entry, first_entry) \ argument 62 for (list_entry = first_entry; \ 63 list_entry != NULL; \ 64 list_entry = udev_list_entry_get_next(list_entry))
|
/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/e2fsprogs/lib/blkid/ |
D | cache.c | 72 blkid_dev dev = list_entry(p, struct blkid_struct_dev, bid_devs); 127 blkid_dev dev = list_entry(cache->bic_devs.next, in blkid_put_cache() 134 blkid_tag tag = list_entry(cache->bic_tags.next, in blkid_put_cache() 139 blkid_tag bad = list_entry(tag->bit_names.next, in blkid_put_cache() 163 blkid_dev dev = list_entry(p, struct blkid_struct_dev, bid_devs); in blkid_gc_cache()
|
D | dev.c | 43 blkid_tag tag = list_entry(dev->bid_tags.next, in blkid_free_dev() 77 blkid_tag tag = list_entry(p, struct blkid_struct_tag, bit_tags); in blkid_debug_dump_dev() 164 dev = list_entry(iter->p, struct blkid_struct_dev, bid_devs); in blkid_dev_next()
|
D | tag.c | 75 blkid_tag tmp = list_entry(p, struct blkid_struct_tag, in blkid_find_tag_dev() 113 tmp = list_entry(p, struct blkid_struct_tag, bit_tags); in blkid_find_head_cache() 307 tag = list_entry(iter->p, struct blkid_struct_tag, bit_tags); in blkid_tag_next() 352 blkid_tag tmp = list_entry(p, struct blkid_struct_tag, in blkid_find_dev_with_tag()
|
D | save.c | 46 blkid_tag tag = list_entry(p, struct blkid_struct_tag, bit_tags); in save_dev() 121 blkid_dev dev = list_entry(p, struct blkid_struct_dev, bid_devs); in blkid_flush_cache()
|
/external/libusb/libusb/ |
D | libusbi.h | 48 #define list_entry(ptr, type, member) \ macro 57 for (pos = list_entry((head)->next, typeof(*pos), member); \ 59 pos = list_entry(pos->member.next, typeof(*pos), member)) 62 for (pos = list_entry((head)->next, typeof(*pos), member), \ 63 n = list_entry(pos->member.next, typeof(*pos), member); \ 65 pos = n, n = list_entry(n->member.next, typeof(*n), member))
|
/external/oprofile/daemon/liblegacy/ |
D | opd_proc.c | 94 proc = list_entry(pos, struct opd_proc, next); in opd_get_proc() 173 struct opd_map * map = list_entry(pos, struct opd_map, next); in opd_lookup_maps() 268 struct opd_map * map = list_entry(pos, struct opd_map, next); in opd_handle_fork() 350 list_entry(pos, struct opd_proc, next); in opd_for_each_proc() 419 struct opd_map * map = list_entry(pos, struct opd_map, next); in opd_remove_kernel_mapping()
|
/external/blktrace/btt/ |
D | devs.c | 68 dip = list_entry(p, struct d_info, hash_head); in __dip_find() 101 struct d_info *dip = list_entry(p, struct d_info, all_head); in dip_exit() 194 this = list_entry(p, struct io, f_head); in dip_foreach() 217 func(list_entry(p, struct d_info, all_head), arg); in dip_foreach_out() 276 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() 87 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()
|
/external/libusb_aah/libusb/ |
D | libusbi.h | 61 #define list_entry(ptr, type, member) \ macro 71 for (pos = list_entry((head)->next, type, member); \ 73 pos = list_entry(pos->member.next, type, member)) 76 for (pos = list_entry((head)->next, type, member), \ 77 n = list_entry(pos->member.next, type, member); \ 79 pos = n, n = list_entry(n->member.next, type, member))
|
/external/oprofile/daemon/ |
D | opd_cookie.c | 143 entry = list_entry(pos, struct cookie_entry, list); in find_cookie() 166 entry = list_entry(pos, struct cookie_entry, list); in is_cookie_ignored() 191 entry = list_entry(pos, struct cookie_entry, list); in verbose_cookie()
|
D | opd_anon.c | 55 entry = list_entry(pos, struct anon_mapping, lru_list); in do_lru() 89 entry = list_entry(pos, struct anon_mapping, list); in clear_anon_maps() 191 entry = list_entry(pos, struct anon_mapping, list); in find_anon_mapping()
|
D | opd_kernel.c | 119 image = list_entry(pos, struct kernel_image, list); in opd_clear_modules() 220 image = list_entry(pos, struct kernel_image, list); in find_kernel_image()
|
D | opd_sfile.c | 262 sf = list_entry(pos, struct sfile, hash); in sfile_find() 326 cg = list_entry(pos, struct cg_entry, hash); in get_file() 537 list_entry(pos, struct cg_entry, hash); in for_one_sfile() 559 struct sfile * sf = list_entry(pos, struct sfile, lru); in for_each_sfile() 615 sf = list_entry(pos, struct sfile, lru); in sfile_lru_clear()
|
/external/blktrace/ |
D | blktrace.c | 912 struct devpath *dpp = list_entry(p, struct devpath, head); in net_send_drops() 1045 struct devpath *dpp = list_entry(p, struct devpath, head); in setup_buts() 1069 struct devpath *dpp = list_entry(p, struct devpath, head); in start_buts() 1111 struct devpath *dpp = list_entry(p, struct devpath, head); in get_all_drops() 1156 struct devpath *dpp = list_entry(p, struct devpath, head); in setup_tracer_devpaths() 1240 struct devpath *dpp = list_entry(p, struct devpath, head); in rel_devpaths() 1276 tbp = list_entry(p, struct trace_buf, head); in handle_list_net() 1333 tbp = list_entry(p, struct trace_buf, head); in handle_list_file() 1395 struct devpath *dpp = list_entry(p, struct devpath, head); in __process_trace_bufs() 1612 struct devpath *dpp = list_entry(p, struct devpath, head); in open_ios() [all …]
|
/external/oprofile/libop/ |
D | op_events.c | 289 struct op_unit_mask * um = list_entry(pos, struct op_unit_mask, um_next); in try_find_um() 584 struct op_event * event = list_entry(pos, struct op_event, event_next); in arch_filter_events() 620 struct op_unit_mask * um = list_entry(pos, struct op_unit_mask, um_next); in load_events() 667 struct op_event * event = list_entry(pos, struct op_event, event_next); in op_free_events() 672 struct op_unit_mask * unit = list_entry(pos, struct op_unit_mask, um_next); in op_free_events() 683 struct op_event * event = list_entry(pos, struct op_event, event_next); in find_event_any() 697 struct op_event * event = list_entry(pos, struct op_event, event_next); in find_event_um() 868 struct op_event * event = list_entry(pos, struct op_event, event_next); in find_event_by_name() 914 struct op_event * event = list_entry(pos, struct op_event, event_next); in op_check_events()
|
D | op_alloc_counter.c | 91 counter_arc * arc = list_entry(pos, counter_arc, next); in delete_counter_arc() 143 counter_arc const * arc = list_entry(pos, counter_arc, next); in allocate_counter()
|
/external/kernel-headers/original/linux/sunrpc/ |
D | sched.h | 105 if ((task=list_entry(pos, struct rpc_task, u.tk_wait.list)),1) 109 ((task=list_entry((head)->next, struct rpc_task, u.tk_wait.list)),1)) 114 if ((task=list_entry(pos, struct rpc_task, tk_task)),1)
|
/external/linux-tools-perf/util/ |
D | evlist.c | 164 return list_entry(evlist->entries.next, struct perf_evsel, node); in perf_evlist__id2evsel() 469 pos = first = list_entry(evlist->entries.next, struct perf_evsel, node); in perf_evlist__valid_sample_type() 483 first = list_entry(evlist->entries.next, struct perf_evsel, node); in perf_evlist__sample_type() 491 pos = first = list_entry(evlist->entries.next, struct perf_evsel, node); in perf_evlist__valid_sample_id_all() 505 first = list_entry(evlist->entries.next, struct perf_evsel, node); in perf_evlist__sample_id_all()
|