Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 101) sorted by relevance

12345

/tools/include/linux/
A Dinterval_tree_generic.h42 ITTYPE start = ITSTART(node), last = ITLAST(node); \
49 if (parent->ITSUBTREE < last) \
50 parent->ITSUBTREE = last; \
59 node->ITSUBTREE = last; \
104 if (ITSTART(node) <= last) { /* Cond1 */ \
120 ITTYPE start, ITTYPE last) \
145 if (ITSTART(leftmost) > last) \
148 return ITPREFIX ## _subtree_search(node, start, last); \
152 ITPREFIX ## _iter_next(ITSTRUCT *node, ITTYPE start, ITTYPE last) \
168 start, last); \
[all …]
/tools/perf/util/
A Dordered-events.c20 struct ordered_event *last = oe->last; in queue_event() local
25 oe->last = new; in queue_event()
29 if (!last) { in queue_event()
40 if (last->timestamp <= timestamp) { in queue_event()
42 p = last->list.next; in queue_event()
52 while (last->timestamp > timestamp) { in queue_event()
53 p = last->list.prev; in queue_event()
60 list_add(&new->list, &last->list); in queue_event()
229 u64 last_ts = oe->last ? oe->last->timestamp : 0ULL; in do_flush()
257 oe->last = NULL; in do_flush()
[all …]
A Dthread.c225 struct comm *comm, *last = NULL, *second_last = NULL; in thread__exec_comm() local
233 second_last = last; in thread__exec_comm()
234 last = comm; in thread__exec_comm()
244 if (second_last && !last->start && thread__pid(thread) == thread__tid(thread)) in thread__exec_comm()
247 return last; in thread__exec_comm()
A Dordered-events.h46 struct ordered_event *last; member
/tools/testing/selftests/bpf/progs/
A Dtest_stack_var_off.c19 unsigned long last; in probe() local
29 last = (len - 1) & 0xf; in probe()
47 probe_res = stack_buf[last]; in probe()
/tools/testing/selftests/ublk/trace/
A Dseq_io.bt13 $last = @last_rw[$dev, str($2)];
14 if ((uint64)args.sector != $last) {
16 args.sector, $last);
/tools/perf/tests/
A Dtime-utils-test.c63 u64 last; member
74 .last_sample_time = d->last, in test__perf_time__parse_for_ranges()
86 d->first, d->last); in test__perf_time__parse_for_ranges()
193 .last = b + 100, in test__time_utils()
208 .last = b + 100, in test__time_utils()
223 .last = b + 100, in test__time_utils()
238 .last = b + 100, in test__time_utils()
A Dmmap-basic.c333 __u64 start, end, last = 0; in test_stat_user_read() local
345 if ((end - start) < last) { in test_stat_user_read()
347 pmu->name, end, start, last); in test_stat_user_read()
351 last = end - start; in test_stat_user_read()
352 pr_debug("count = %llu\n", last); in test_stat_user_read()
/tools/testing/selftests/net/packetdrill/
A Dtcp_timestamping_client-only-last-byte.pkt3 // the last byte of each sendmsg.
37 // SCM_TSTAMP_SCHED for the last byte should be received almost immediately
40 // is called after when SYN is acked. So, we expect the last byte of the first
58 // SCM_TSTAMP_SND for the last byte should be received almost immediately
76 // SCM_TSTAMP_ACK for the last byte should be received at t=30ms.
A Dtcp_ts_recent_fin_tsval.pkt22 // Check that FIN TSval is updated properly, one second has passed since last sent packet.
A Dtcp_ts_recent_reset_tsval.pkt24 // Check that RST TSval is updated properly, one second has passed since last sent packet.
/tools/perf/ui/
A Dprogress.c18 u64 last = p->curr; in ui_progress__update() local
23 u64 nr = DIV_ROUND_UP(p->curr - last, p->step); in ui_progress__update()
/tools/testing/selftests/net/tcp_ao/
A Drst.c261 unsigned int last = ARRAY_SIZE(sk) - 1; in test_client_active_rst() local
273 for (i = 0; i < last; i++) { in test_client_active_rst()
280 err = test_wait_fds(sk, last, is_writable, last, TEST_TIMEOUT_SEC); in test_client_active_rst()
285 err = _test_connect_socket(sk[last], this_ip_dest, port, 1); in test_client_active_rst()
303 err = test_wait_fds(sk, last, NULL, last, TEST_TIMEOUT_SEC); in test_client_active_rst()
/tools/testing/selftests/kvm/
A Dcoalesced_io_test.c82 WRITE_ONCE(ring->last, ring_start); in vcpu_run_and_verify_io_exit()
122 TEST_ASSERT((ring->last + 1) % io->ring_size == ring->first, in vcpu_run_and_verify_coalesced_io()
124 ring->first, ring->last, io->ring_size, ring_start); in vcpu_run_and_verify_coalesced_io()
170 WRITE_ONCE(ring->last, ring_start); in test_coalesced_io()
174 TEST_ASSERT_EQ(ring->last, ring_start); in test_coalesced_io()
/tools/testing/selftests/kvm/lib/
A Dsparsebit.c1894 sparsebit_idx_t first, last; member
1918 if (first < last) { in operate()
1919 num = last - first + 1; in operate()
1921 num = first - last + 1; in operate()
1922 first = last; in operate()
1923 last = first + num - 1; in operate()
1992 assert(next == 0 || next > last); in operate()
2028 { .first = first, .last = last, .set = true }; in operate()
2039 { .first = first, .last = last, .set = false }; in operate()
2079 uint64_t last = get64(); in main() local
[all …]
/tools/testing/selftests/rcutorture/bin/
A Dtorture.sh353 echo $resdir > $T/last-resdir
381 if test -e $T/last-resdir
383 mv $T/last-resdir $T/last-resdir-nodebug || :
390 if test -e $T/last-resdir
392 mv $T/last-resdir $T/last-resdir-kasan || :
409 if test -e $T/last-resdir
411 mv $T/last-resdir $T/last-resdir-kcsan || :
650 mv $T/last-resdir-nodebug $T/first-resdir-nodebug || :
653 mv $T/last-resdir-kasan $T/first-resdir-kasan || :
657 mv $T/last-resdir-kcsan $T/first-resdir-kcsan || :
/tools/perf/Documentation/
A Ditrace.txt16 m synthesize last level cache events
22 l synthesize last branch entries (use with i or x)
23 L synthesize last branch entries on existing event records
45 Also the number of last branch entries (default 64, max. 1024) for
/tools/testing/selftests/powerpc/pmu/
A Dlib.c162 libc.last = end - 1; in parse_proc_maps()
165 vdso.last = end - 1; in parse_proc_maps()
A Dlib.h33 uint64_t first, last; member
/tools/perf/ui/browsers/
A Dannotate-data.c241 struct browser_entry *last; in browser__next_entry() local
243 last = list_last_entry(&browser->entries, struct browser_entry, node); in browser__next_entry()
244 while (!last->folded) in browser__next_entry()
245 last = get_last_child(last); in browser__next_entry()
247 while (entry != last) { in browser__next_entry()
260 return last; in browser__next_entry()
/tools/testing/selftests/net/netfilter/
A Dnf_queue.c192 unsigned int last, total; in print_stats() local
196 last = queue_stats[0]; in print_stats()
200 last = queue_stats[i]; in print_stats()
201 total += last; in print_stats()
/tools/testing/selftests/user_events/
A Dperf_test.c58 int ret, c, last = 0, offset = 0; in get_offset() local
70 if (last == '\n' && c == '\n') in get_offset()
73 last = c; in get_offset()
/tools/bpf/bpftool/
A Dcfg.c202 struct bb_node *bb, *last; in func_partition_bb_tail() local
204 last = func_last_bb(func); in func_partition_bb_tail()
205 last->tail = func->end; in func_partition_bb_tail()
207 list_for_each_entry_from(bb, &last->l, l) { in func_partition_bb_tail()
212 last->idx = bb_idx++; in func_partition_bb_tail()
/tools/memory-model/litmus-tests/
A DISA2+poonceonces.litmus7 * against the last process's load, is ordering preserved if all of the
/tools/lib/perf/tests/
A Dtest-evsel.c170 __u64 start, end, last = 0; in test_stat_user_read() local
182 __T("invalid counter data", (end - start) > last); in test_stat_user_read()
183 last = end - start; in test_stat_user_read()

Completed in 35 milliseconds

12345