/tools/usb/usbip/libsrc/ |
D | list.h | 20 struct list_head *next, *prev; member 31 list->prev = list; in INIT_LIST_HEAD() 41 struct list_head *prev, in __list_add() argument 44 next->prev = new; in __list_add() 46 new->prev = prev; in __list_add() 47 prev->next = new; in __list_add() 70 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument 72 next->prev = prev; in __list_del() 73 prev->next = next; in __list_del() 82 __list_del(entry->prev, entry->next); in __list_del_entry() [all …]
|
/tools/power/cpupower/ |
D | cpupower-completion.sh | 10 local prev="${COMP_WORDS[COMP_CWORD-1]}" 12 case "$prev" in 20 local prev="${COMP_WORDS[COMP_CWORD-1]}" 22 case "$prev" in 38 local prev="${COMP_WORDS[COMP_CWORD-1]}" 40 case "$prev" in 48 local prev="${COMP_WORDS[COMP_CWORD-1]}" 50 case "$prev" in 58 local prev="${COMP_WORDS[COMP_CWORD-1]}" 60 case "$prev" in [all …]
|
/tools/include/linux/ |
D | list.h | 28 list->prev = list; in INIT_LIST_HEAD() 39 struct list_head *prev, in __list_add() argument 42 next->prev = new; in __list_add() 44 new->prev = prev; in __list_add() 45 prev->next = new; in __list_add() 49 struct list_head *prev, 77 __list_add(new, head->prev, head); in list_add_tail() 87 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument 89 next->prev = prev; in __list_del() 90 WRITE_ONCE(prev->next, next); in __list_del() [all …]
|
D | types.h | 76 struct list_head *next, *prev; member
|
/tools/firewire/ |
D | list.h | 3 struct list *next, *prev; member 10 list->prev = list; in list_init() 22 new_link->prev = link->prev; in list_insert() 24 new_link->prev->next = new_link; in list_insert() 25 new_link->next->prev = new_link; in list_insert() 43 link->prev->next = link->next; in list_remove() 44 link->next->prev = link->prev; in list_remove() 54 list_entry((list)->prev, type, member)
|
D | nosy-dump.c | 485 struct subaction *sa, *prev; in handle_request_packet() local 494 prev = list_tail(&t->request_list, in handle_request_packet() 497 if (!ACK_BUSY(prev->ack)) { in handle_request_packet() 506 if (prev->packet.common.tcode != sa->packet.common.tcode || in handle_request_packet() 507 prev->packet.common.tlabel != sa->packet.common.tlabel) { in handle_request_packet() 550 struct subaction *sa, *prev; in handle_response_packet() local 563 prev = list_tail(&t->response_list, struct subaction, link); in handle_response_packet() 565 if (!ACK_BUSY(prev->ack)) { in handle_response_packet() 572 if (prev->packet.common.tcode != sa->packet.common.tcode || in handle_response_packet() 573 prev->packet.common.tlabel != sa->packet.common.tlabel) { in handle_response_packet() [all …]
|
/tools/perf/ |
D | perf-completion.sh | 74 prev) 75 prev=${words_[$cword_-1]} 163 elif [[ $prev == @("-e"|"--event") && 267 local _ret=1 cur cword prev 269 prev=${words[CURRENT-1]} 293 local cur words cword prev 295 _get_comp_words_by_ref -n =:, cur words cword prev 297 __perf_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-annotate.c | 132 struct addr_map_symbol *prev = NULL; in process_branch_stack() local 147 if (prev) in process_branch_stack() 148 process_basic_block(prev, &bi[i].from, &bi[i].flags); in process_branch_stack() 149 prev = &bi[i].to; in process_branch_stack()
|
/tools/bpf/bpftool/bash-completion/ |
D | bpftool | 258 local cur prev words objword 270 case $prev in 304 prev=${words[cword - 1]} 333 case $prev in 352 [[ $prev != "$command" ]] && return 0 357 case $prev in 382 if [[ $prev == "$command" ]]; then 396 case $prev in 421 case $prev in 470 case $prev in [all …]
|
/tools/testing/selftests/kvm/lib/ |
D | sparsebit.c | 335 struct node *nodep, *parentp, *prev; in node_add() local 381 prev = node_prev(s, nodep); in node_add() 382 while (prev && prev->idx + MASK_BITS + prev->num_after - 1 >= nodep->idx) { in node_add() 383 unsigned int n1 = (prev->idx + MASK_BITS + prev->num_after - 1) in node_add() 385 assert(prev->num_after > 0); in node_add() 389 prev->num_after--; in node_add() 605 struct node *prev, *next, *tmp; in node_reduce() local 670 prev = node_prev(s, nodep); in node_reduce() 671 if (prev) { in node_reduce() 675 if (prev->mask == 0 && prev->num_after == 0) { in node_reduce() [all …]
|
/tools/perf/scripts/python/ |
D | sched-migration.py | 104 def sched_switch(self, prev, prev_state, next): argument 108 and prev in self.tasks: 112 event = RunqueueEventSleep(prev) 115 if prev in self.tasks: 117 next_tasks.remove(prev) 119 next_tasks.append(prev) 162 def __init__(self, start, prev): argument 164 self.prev = prev 168 if prev is not None: 169 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/lib/perf/ |
D | mmap.c | 18 void perf_mmap__init(struct perf_mmap *map, struct perf_mmap *prev, in perf_mmap__init() argument 25 if (prev) in perf_mmap__init() 26 prev->next = map; in perf_mmap__init() 37 map->prev = 0; in perf_mmap__mmap() 90 return perf_mmap__read_head(map) == map->prev && !pc->aux_size; in perf_mmap__empty() 96 u64 old = map->prev; in perf_mmap__consume() 143 u64 old = md->prev; in __perf_mmap__read_init() 158 md->prev = head; in __perf_mmap__read_init() 199 map->prev = perf_mmap__read_head(map); in perf_mmap__read_done() 274 map->prev = map->start; in perf_mmap__read_event()
|
D | cpumap.c | 110 int n, cpu, prev; in perf_cpu_map__read() local 114 prev = -1; in perf_cpu_map__read() 119 if (prev >= 0) { in perf_cpu_map__read() 120 int new_max = nr_cpus + cpu - prev - 1; in perf_cpu_map__read() 133 while (++prev < cpu) in perf_cpu_map__read() 134 tmp_cpus[nr_cpus++] = prev; in perf_cpu_map__read() 146 prev = cpu; in perf_cpu_map__read() 148 prev = -1; in perf_cpu_map__read()
|
D | evlist.c | 93 perf_evlist__next(struct perf_evlist *evlist, struct perf_evsel *prev) in perf_evlist__next() argument 97 if (!prev) { in perf_evlist__next() 102 next = list_next_entry(prev, node); in perf_evlist__next() 359 struct perf_mmap *prev = i ? &map[i - 1] : NULL; in perf_evlist__alloc_mmap() local 370 perf_mmap__init(&map[i], prev, overwrite, NULL); in perf_evlist__alloc_mmap() 650 evsel = list_entry(list->prev, struct perf_evsel, node); in __perf_evlist__set_leader()
|
/tools/bpf/runqslower/ |
D | runqslower.bpf.c | 69 struct task_struct *prev = (struct task_struct *)ctx[1]; in handle__sched_switch() local 77 if (prev->__state == TASK_RUNNING) in handle__sched_switch() 78 trace_enqueue(prev); in handle__sched_switch()
|
/tools/perf/util/ |
D | evlist-hybrid.c | 46 struct evsel *pos, *prev = NULL; in group_hybrid_conflict() local 52 if (prev && strcmp(prev->pmu_name, pos->pmu_name)) in group_hybrid_conflict() 55 prev = pos; in group_hybrid_conflict()
|
D | mem2node.c | 84 struct phys_entry *prev = &entries[j - 1]; in mem2node__init() local 86 if ((prev->end == start) && in mem2node__init() 87 (prev->node == n->node)) { in mem2node__init() 88 prev->end += bsize; in mem2node__init()
|
/tools/lib/perf/include/internal/ |
D | mmap.h | 29 u64 prev; member 46 void perf_mmap__init(struct perf_mmap *map, struct perf_mmap *prev,
|
/tools/testing/selftests/ |
D | kselftest_harness.h | 760 item->prev = item; \ 765 item->prev = head->prev; \ 766 item->prev->next = item; \ 767 head->prev = item; \ 770 item->next->prev = item; \ 771 item->prev = item; \ 788 struct __fixture_metadata *prev, *next; member 791 .prev = &_fixture_global, 808 struct __fixture_variant_metadata *prev, *next; member 834 struct __test_metadata *prev, *next; member
|
/tools/testing/selftests/kvm/include/ |
D | sparsebit.h | 48 sparsebit_idx_t sparsebit_next_set(struct sparsebit *sbit, sparsebit_idx_t prev); 49 sparsebit_idx_t sparsebit_next_clear(struct sparsebit *sbit, sparsebit_idx_t prev);
|
/tools/testing/selftests/bpf/progs/ |
D | btf_dump_test_case_ordering.c | 33 struct list_head *prev; member
|
/tools/virtio/ringtest/ |
D | ring.c | 21 unsigned short prev) in need_event() argument 23 return (unsigned short)(next - event - 1) < (unsigned short)(next - prev); in need_event()
|
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/ |
D | types.h | 109 struct list_head *next, *prev; member
|