/tools/usb/usbip/libsrc/ |
D | list.h | 19 struct list_head *next, *prev; member 30 list->prev = list; in INIT_LIST_HEAD() 40 struct list_head *prev, in __list_add() argument 43 next->prev = new; in __list_add() 45 new->prev = prev; in __list_add() 46 prev->next = new; in __list_add() 69 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument 71 next->prev = prev; in __list_del() 72 prev->next = next; in __list_del() 87 __list_del(entry->prev, entry->next); in __list_del_entry() [all …]
|
/tools/firewire/ |
D | list.h | 2 struct list *next, *prev; member 9 list->prev = list; in list_init() 21 new_link->prev = link->prev; in list_insert() 23 new_link->prev->next = new_link; in list_insert() 24 new_link->next->prev = new_link; in list_insert() 42 link->prev->next = link->next; in list_remove() 43 link->next->prev = link->prev; in list_remove() 53 list_entry((list)->prev, type, member)
|
D | nosy-dump.c | 498 struct subaction *sa, *prev; in handle_request_packet() local 507 prev = list_tail(&t->request_list, in handle_request_packet() 510 if (!ACK_BUSY(prev->ack)) { in handle_request_packet() 519 if (prev->packet.common.tcode != sa->packet.common.tcode || in handle_request_packet() 520 prev->packet.common.tlabel != sa->packet.common.tlabel) { in handle_request_packet() 563 struct subaction *sa, *prev; in handle_response_packet() local 576 prev = list_tail(&t->response_list, struct subaction, link); in handle_response_packet() 578 if (!ACK_BUSY(prev->ack)) { in handle_response_packet() 585 if (prev->packet.common.tcode != sa->packet.common.tcode || in handle_response_packet() 586 prev->packet.common.tlabel != sa->packet.common.tlabel) { in handle_response_packet() [all …]
|
/tools/include/linux/ |
D | list.h | 19 begin->prev->next = end->next; in list_del_range() 20 end->next->prev = begin->prev; in list_del_range()
|
D | types.h | 72 struct list_head *next, *prev; member
|
/tools/perf/ |
D | perf-completion.sh | 73 prev) 74 prev=${words_[$cword_-1]} 162 elif [[ $prev == @("-e"|"--event") && 232 local _ret=1 cur cword prev 234 prev=${words[CURRENT-1]} 248 local cur words cword prev 250 _get_comp_words_by_ref -n =: cur words cword prev 252 __perf_get_comp_words_by_ref -n =: cur words cword prev
|
D | builtin-timechart.c | 726 struct io_sample *prev; in pid_begin_io_sample() local 737 prev = c->io_samples; in pid_begin_io_sample() 739 if (prev && prev->start_time && !prev->end_time) { in pid_begin_io_sample() 745 c->io_samples = prev->next; in pid_begin_io_sample() 746 free(prev); in pid_begin_io_sample() 770 struct io_sample *sample, *prev; in pid_end_io_sample() local 794 prev = sample->next; in pid_end_io_sample() 800 if (prev && sample->start_time < prev->end_time) { in pid_end_io_sample() 801 if (prev->err) /* try to make errors more visible */ in pid_end_io_sample() 802 sample->start_time = prev->end_time; in pid_end_io_sample() [all …]
|
D | builtin-sched.c | 725 struct task_desc *prev, __maybe_unused *next; in replay_switch_event() local 750 prev = register_pid(sched, prev_pid, prev_comm); in replay_switch_event() 755 add_sched_event_run(sched, prev, timestamp, delta); in replay_switch_event() 756 add_sched_event_sleep(sched, prev, timestamp, prev_state); in replay_switch_event() 917 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in add_runtime_event() 932 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in add_sched_in_event() 1089 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in latency_wakeup_event() 1157 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in latency_migrate_task_event()
|
/tools/perf/scripts/python/ |
D | sched-migration.py | 102 def sched_switch(self, prev, prev_state, next): argument 106 and prev in self.tasks: 110 event = RunqueueEventSleep(prev) 113 if prev in self.tasks: 115 next_tasks.remove(prev) 117 next_tasks.append(prev) 160 def __init__(self, start, prev): argument 162 self.prev = prev 166 if prev is not None: 167 self.total_load = prev.total_load [all …]
|
D | compaction-times.py | 84 prev = 0 88 prev = 1 90 s += "%sfree_scanner: %s" % (" " if prev else "", self.fscan) 91 prev = 1 93 s += "%smigration_scanner: %s" % (" " if prev else "", self.mscan)
|
/tools/perf/util/ |
D | cpumap.c | 52 int n, cpu, prev; in cpu_map__read() local 56 prev = -1; in cpu_map__read() 61 if (prev >= 0) { in cpu_map__read() 62 int new_max = nr_cpus + cpu - prev - 1; in cpu_map__read() 72 while (++prev < cpu) in cpu_map__read() 73 tmp_cpus[nr_cpus++] = prev; in cpu_map__read() 85 prev = cpu; in cpu_map__read() 87 prev = -1; in cpu_map__read()
|
D | evlist.h | 32 u64 prev; member 194 return list_entry(evlist->entries.prev, struct perf_evsel, node); in perf_evlist__last()
|
D | ordered-events.c | 49 p = last->list.prev; in queue_event() 222 oe->last = list_entry(head->prev, struct ordered_event, list); in __ordered_events__flush()
|
D | annotate.c | 236 char *s = strchr(ops->raw, ','), *target, *comment, prev; in mov__parse() local 259 prev = *s; in mov__parse() 263 *s = prev; in mov__parse() 299 char *target, *comment, *s, prev; in dec__parse() local 305 prev = *s; in dec__parse() 309 *s = prev; in dec__parse() 1058 dl = list_entry(list->prev, struct disasm_line, node); in delete_last_nop()
|
D | auxtrace.c | 64 mm->prev = 0; in auxtrace_mmap__mmap() 605 auxtrace_index = list_entry(head->prev, struct auxtrace_index, list); in auxtrace_index__last() 611 auxtrace_index = list_entry(head->prev, struct auxtrace_index, in auxtrace_index__last() 1153 u64 head, old = mm->prev, offset, ref; in __auxtrace_mmap__read() 1242 mm->prev = head; in __auxtrace_mmap__read()
|
D | evlist.c | 191 evsel = list_entry(list->prev, struct perf_evsel, node); in __perf_evlist__set_leader() 716 u64 old = md->prev; in perf_evlist__mmap_read() 776 md->prev = old; in perf_evlist__mmap_read() 783 return perf_mmap__read_head(md) == md->prev && !md->auxtrace_mmap.base; in perf_mmap__empty() 804 u64 old = md->prev; in perf_evlist__mmap_consume() 896 evlist->mmap[idx].prev = 0; in __perf_evlist__mmap()
|
D | callchain.c | 468 old_tail = parent->val.prev; in split_add_child() 471 new->val.prev = old_tail; in split_add_child() 472 to_split->list.prev = &new->val; in split_add_child()
|
D | symbol.c | 187 struct symbol *curr, *prev; in symbols__fixup_end() local 195 prev = curr; in symbols__fixup_end() 198 if (prev->end == prev->start && prev->end != curr->start) in symbols__fixup_end() 199 prev->end = curr->start; in symbols__fixup_end()
|
D | evsel.h | 317 return list_entry(evsel->node.prev, struct perf_evsel, node); in perf_evsel__prev()
|
/tools/testing/selftests/seccomp/ |
D | test_harness.h | 401 struct __test_metadata *prev, *next; member 429 t->prev = t; in __register_test() 434 t->prev = __test_list->prev; in __register_test() 435 t->prev->next = t; in __register_test() 436 __test_list->prev = t; in __register_test() 439 t->next->prev = t; in __register_test() 440 t->prev = t; in __register_test()
|
/tools/lib/bpf/ |
D | libbpf.h | 61 struct bpf_object *bpf_object__next(struct bpf_object *prev);
|
D | libbpf.c | 1058 bpf_object__next(struct bpf_object *prev) in bpf_object__next() argument 1062 if (!prev) in bpf_object__next() 1067 next = list_next_entry(prev, list); in bpf_object__next() 1093 bpf_program__next(struct bpf_program *prev, struct bpf_object *obj) in bpf_program__next() argument 1100 if (prev == NULL) in bpf_program__next() 1103 if (prev->obj != obj) { in bpf_program__next() 1108 idx = (prev - obj->programs) + 1; in bpf_program__next()
|
/tools/perf/ui/ |
D | browser.c | 84 pos = pos->prev; in ui_browser__list_head_filter_prev_entries() 106 pos = ui_browser__list_head_filter_prev_entries(browser, head->prev); in ui_browser__list_head_seek() 119 pos = ui_browser__list_head_filter_prev_entries(browser, pos->prev); in ui_browser__list_head_seek()
|
/tools/perf/ui/browsers/ |
D | annotate.c | 192 int prev; in annotate_browser__write() local 196 prev = annotate_browser__set_jumps_percent_color(ab, bdl->jump_sources, in annotate_browser__write() 199 ui_browser__set_color(browser, prev); in annotate_browser__write() 349 pos = list_entry(pos->node.prev, struct disasm_line, node); in annotate_browser__set_top()
|
/tools/lguest/ |
D | lguest.c | 1922 u8 prev; in emulate_mmio_write() local 1981 prev = 0; in emulate_mmio_write() 1984 prev |= VIRTIO_CONFIG_S_FEATURES_OK; /* fall thru */ in emulate_mmio_write() 1986 prev |= VIRTIO_CONFIG_S_DRIVER; /* fall thru */ in emulate_mmio_write() 1988 prev |= VIRTIO_CONFIG_S_ACKNOWLEDGE; /* fall thru */ in emulate_mmio_write() 1995 if (d->mmio->cfg.device_status != prev) in emulate_mmio_write()
|