/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/perf/ |
D | perf-completion.sh | 65 prev) 66 prev=${words_[$cword_-1]} 121 elif [[ $prev == "-e" && "${words[1]}" == @(record|stat|top) ]]; then 125 elif [[ $prev == @(kvm|kmem|mem|lock|sched) ]]; then 126 subcmds=$($cmd $prev --list-cmds) 184 local _ret=1 cur cword prev 186 prev=${words[CURRENT-1]} 200 local cur words cword prev 201 _get_comp_words_by_ref -n =: cur words cword prev
|
D | builtin-timechart.c | 724 struct io_sample *prev; in pid_begin_io_sample() local 735 prev = c->io_samples; in pid_begin_io_sample() 737 if (prev && prev->start_time && !prev->end_time) { in pid_begin_io_sample() 743 c->io_samples = prev->next; in pid_begin_io_sample() 744 free(prev); in pid_begin_io_sample() 768 struct io_sample *sample, *prev; in pid_end_io_sample() local 792 prev = sample->next; in pid_end_io_sample() 798 if (prev && sample->start_time < prev->end_time) { in pid_end_io_sample() 799 if (prev->err) /* try to make errors more visible */ in pid_end_io_sample() 800 sample->start_time = prev->end_time; in pid_end_io_sample() [all …]
|
D | builtin-sched.c | 688 struct task_desc *prev, __maybe_unused *next; in replay_switch_event() local 713 prev = register_pid(sched, prev_pid, prev_comm); in replay_switch_event() 718 add_sched_event_run(sched, prev, timestamp, delta); in replay_switch_event() 719 add_sched_event_sleep(sched, prev, timestamp, prev_state); in replay_switch_event() 877 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in add_runtime_event() 892 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in add_sched_in_event() 1035 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in latency_wakeup_event() 1096 atom = list_entry(atoms->work_list.prev, struct work_atom, list); in latency_migrate_task_event()
|
D | builtin-record.c | 74 unsigned int old = md->prev; in record__mmap_read() 107 md->prev = old; in record__mmap_read()
|
D | builtin-kvm.c | 158 void *prev; in kvm_event_expand() local 166 prev = event->vcpu; in kvm_event_expand() 170 free(prev); in kvm_event_expand()
|
/tools/perf/util/include/linux/ |
D | list.h | 18 begin->prev->next = end->next; in list_del_range() 19 end->next->prev = begin->prev; in list_del_range()
|
/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 …]
|
/tools/perf/util/ |
D | cpumap.c | 49 int n, cpu, prev; in cpu_map__read() local 53 prev = -1; in cpu_map__read() 58 if (prev >= 0) { in cpu_map__read() 59 int new_max = nr_cpus + cpu - prev - 1; in cpu_map__read() 69 while (++prev < cpu) in cpu_map__read() 70 tmp_cpus[nr_cpus++] = prev; in cpu_map__read() 82 prev = cpu; in cpu_map__read() 84 prev = -1; in cpu_map__read()
|
D | evlist.h | 30 unsigned int prev; member 181 return list_entry(evlist->entries.prev, struct perf_evsel, node); in perf_evlist__last()
|
D | ordered-events.c | 50 p = last->list.prev; in queue_event() 202 oe->last = list_entry(head->prev, struct ordered_event, list); in __ordered_events__flush()
|
D | symbol.c | 177 struct symbol *curr, *prev; in symbols__fixup_end() local 185 prev = curr; in symbols__fixup_end() 188 if (prev->end == prev->start && prev->end != curr->start) in symbols__fixup_end() 189 prev->end = curr->start; in symbols__fixup_end() 199 struct map *prev, *curr; in __map_groups__fixup_end() local 208 prev = curr; in __map_groups__fixup_end() 210 prev->end = curr->start; in __map_groups__fixup_end()
|
D | evlist.c | 152 evsel = list_entry(list->prev, struct perf_evsel, node); in __perf_evlist__set_leader() 621 unsigned int old = md->prev; in perf_evlist__mmap_read() 674 md->prev = old; in perf_evlist__mmap_read() 681 return perf_mmap__read_head(md) != md->prev; in perf_mmap__empty() 702 unsigned int old = md->prev; in perf_evlist__mmap_consume() 764 evlist->mmap[idx].prev = 0; in __perf_evlist__mmap()
|
D | annotate.c | 222 char *s = strchr(ops->raw, ','), *target, *comment, prev; in mov__parse() local 245 prev = *s; in mov__parse() 249 *s = prev; in mov__parse() 285 char *target, *comment, *s, prev; in dec__parse() local 291 prev = *s; in dec__parse() 295 *s = prev; in dec__parse() 879 dl = list_entry(list->prev, struct disasm_line, node); in delete_last_nop()
|
D | callchain.c | 507 old_tail = parent->val.prev; in split_add_child() 510 new->val.prev = old_tail; in split_add_child() 511 to_split->list.prev = &new->val; in split_add_child()
|
D | evsel.h | 293 return list_entry(evsel->node.prev, struct perf_evsel, node); in perf_evsel__prev()
|
/tools/include/linux/ |
D | types.h | 64 struct list_head *next, *prev; member
|
/tools/perf/ui/ |
D | browser.c | 69 pos = pos->prev; in ui_browser__list_head_filter_prev_entries() 91 pos = ui_browser__list_head_filter_prev_entries(browser, head->prev); in ui_browser__list_head_seek() 104 pos = ui_browser__list_head_filter_prev_entries(browser, pos->prev); in ui_browser__list_head_seek()
|
/tools/perf/ui/browsers/ |
D | annotate.c | 147 int prev; in annotate_browser__write() local 151 prev = annotate_browser__set_jumps_percent_color(ab, bdl->jump_sources, in annotate_browser__write() 154 ui_browser__set_color(browser, prev); in annotate_browser__write() 308 pos = list_entry(pos->node.prev, struct disasm_line, node); in annotate_browser__set_top()
|
D | hists.c | 235 chain = list_entry(node->val.prev, struct callchain_list, list); in callchain_node__init_have_children() 1915 if (pos->node.prev == &evlist->entries) in perf_evsel_menu__run()
|
/tools/lib/traceevent/ |
D | event-parse.h | 55 struct pevent_record *prev; member
|
/tools/testing/ktest/ |
D | ktest.pl | 1236 my $prev = ""; 1242 while ($prev ne $option) { 1249 $prev = $option;
|