Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 162) sorted by relevance

1234567

/tools/power/cpupower/lib/
A Dcpufreq.c313 first = malloc(sizeof(*first)); in cpufreq_get_available_governors()
318 current->first = first; in cpufreq_get_available_governors()
331 return first; in cpufreq_get_available_governors()
390 first = malloc(sizeof(*first)); in cpufreq_get_available_frequencies()
395 current->first = first; in cpufreq_get_available_frequencies()
446 first = malloc(sizeof(*first)); in cpufreq_get_boost_frequencies()
451 current->first = first; in cpufreq_get_boost_frequencies()
521 first = malloc(sizeof(*first)); in sysfs_get_cpu_list()
526 current->first = first; in sysfs_get_cpu_list()
754 first = malloc(sizeof(*first)); in cpufreq_get_stats()
[all …]
A Dcpufreq.h20 struct cpufreq_available_governors *first; member
26 struct cpufreq_available_frequencies *first; member
33 struct cpufreq_affected_cpus *first; member
40 struct cpufreq_stats *first; member
125 struct cpufreq_available_governors *first);
139 struct cpufreq_available_frequencies *first);
145 struct cpufreq_available_frequencies *first);
157 void cpufreq_put_affected_cpus(struct cpufreq_affected_cpus *first);
169 void cpufreq_put_related_cpus(struct cpufreq_affected_cpus *first);
/tools/testing/selftests/bpf/
A Dbpf_arena_list.h16 struct arena_list_node __arena *first; member
37 for (void * ___tmp = (pos = list_entry_safe((head)->first, \
45 arena_list_node_t *first = h->first, * __arena *tmp; in list_add_head() local
47 cast_user(first); in list_add_head()
49 WRITE_ONCE(n->next, first); in list_add_head()
50 cast_kern(first); in list_add_head()
51 if (first) { in list_add_head()
54 WRITE_ONCE(first->pprev, tmp); in list_add_head()
57 WRITE_ONCE(h->first, n); in list_add_head()
59 tmp = &h->first; in list_add_head()
/tools/testing/radix-tree/
A Dregression3.c36 bool first; in regression3_test() local
43 first = true; in regression3_test()
46 if (first) { in regression3_test()
49 first = false; in regression3_test()
59 first = true; in regression3_test()
62 if (first) { in regression3_test()
64 first = false; in regression3_test()
/tools/include/linux/
A Dlist.h281 first->prev = prev; in __list_splice()
282 prev->next = first; in __list_splice()
622 return !h->first; in hlist_empty()
652 struct hlist_node *first = h->first; in hlist_add_head() local
653 n->next = first; in hlist_add_head()
654 if (first) in hlist_add_head()
656 h->first = n; in hlist_add_head()
699 new->first = old->first; in hlist_move_list()
700 if (new->first) in hlist_move_list()
701 new->first->pprev = &new->first; in hlist_move_list()
[all …]
/tools/perf/util/
A Devsel_fprintf.c25 if (!*first) { in comma_fprintf()
29 *first = false; in comma_fprintf()
45 bool first = true; in evsel__fprintf() local
70 __print_attr__fprintf, &first); in evsel__fprintf()
77 printed += comma_fprintf(fp, &first, " %s=%" PRIu64, in evsel__fprintf()
87 printed += comma_fprintf(fp, &first, " (not a tracepoint)"); in evsel__fprintf()
94 printed += comma_fprintf(fp, &first, " (no trace field)"); in evsel__fprintf()
102 printed += comma_fprintf(fp, &first, "%s", field->name); in evsel__fprintf()
129 bool first = true; in sample__fprintf_callchain() local
154 if (print_arrow && !first) in sample__fprintf_callchain()
[all …]
A Devlist.c675 return first; in evlist__event2evsel()
679 return first; in evlist__event2evsel()
686 return first; in evlist__event2evsel()
1279 struct evsel *first = evlist__first(evlist), *pos = first; in evlist__valid_read_format() local
1308 struct evsel *first = evlist__first(evlist), *pos = first; in evlist__valid_sample_id_all() local
2262 bool first = true; in parse_event_enable_times() local
2274 first = false; in parse_event_enable_times()
2476 bool first = true; in evlist__format_evsels() local
2487 if (!first) in evlist__format_evsels()
2498 first = false; in evlist__format_evsels()
[all …]
/tools/testing/selftests/kvm/lib/
A Dsparsebit.c1918 if (first < last) { in operate()
1922 first = last; in operate()
1933 if (get_value(first)) in operate()
1938 { .first = first, .last = first, .set = true }; in operate()
1951 { .first = first, .last = first, .set = false }; in operate()
1954 assert(sparsebit_is_set(s, first) == get_value(first)); in operate()
1955 assert(sparsebit_is_clear(s, first) == !get_value(first)); in operate()
1993 if (first) in operate()
2008 if (first) in operate()
2028 { .first = first, .last = last, .set = true }; in operate()
[all …]
/tools/testing/selftests/bpf/progs/
A Dmptcp_sock.c17 struct sock *first; member
58 storage->first = NULL; in _sockops()
71 storage->first = msk->first; in _sockops()
A Dtest_siphash.h51 static inline u64 siphash_2u64(const u64 first, const u64 second, const siphash_key_t *key) in siphash_2u64() argument
54 v3 ^= first; in siphash_2u64()
57 v0 ^= first; in siphash_2u64()
A Dtest_tcp_custom_syncookie.c68 u64 first; member
319 u64 first = 0, second; in tcp_prepare_cookie() local
330 first = (u64)ctx->ipv4->saddr << 32 | ctx->ipv4->daddr; in tcp_prepare_cookie()
338 first = (u64)ctx->ipv6->saddr.in6_u.u6_addr8[0] << 32 | in tcp_prepare_cookie()
343 hash = siphash_2u64(first, second, &test_key_siphash); in tcp_prepare_cookie()
468 u64 first = 0, second; in tcp_validate_cookie() local
473 first = (u64)ctx->ipv4->saddr << 32 | ctx->ipv4->daddr; in tcp_validate_cookie()
475 first = (u64)ctx->ipv6->saddr.in6_u.u6_addr8[0] << 32 | in tcp_validate_cookie()
479 hash = siphash_2u64(first, second, &test_key_siphash); in tcp_validate_cookie()
/tools/verification/rvgen/rvgen/
A Ddot2c.py62 first = True
64 if first:
66 first = False
118 first = True
121 if first:
123 first = False;
203 first = True
205 if first == False:
208 first = False
/tools/perf/trace/beauty/
A Dperf_event_open.c51 bool first; member
57 …(args->bf + args->printed , args->size - args->printed, "%s%s: %s", args->first ? "" : ", ", name,… in attr__fprintf()
59 args->first = false; in attr__fprintf()
69 .first = true, in perf_event_attr___scnprintf()
/tools/perf/tests/
A Dtime-utils-test.c62 u64 first; member
73 .first_sample_time = d->first, in test__perf_time__parse_for_ranges()
86 d->first, d->last); in test__perf_time__parse_for_ranges()
192 .first = b, in test__time_utils()
207 .first = b, in test__time_utils()
222 .first = b, in test__time_utils()
237 .first = b, in test__time_utils()
/tools/testing/selftests/net/packetdrill/
A Dtcp_timestamping_partial.pkt38 // SCM_TSTAMP_SCHED for the first chunk should be received almost immediately
39 // after the first ack at t=20ms.
56 // SCM_TSTAMP_SND for the first chunk should be received almost immediately
57 // after the first ack at t=20ms.
74 // SCM_TSTAMP_ACK for the first chunk should be received after the last ack at
A Dtcp_close_close-local-close-then-remote-fin.pkt2 // Test basic connection teardown where local process closes first:
3 // the local process calls close() first, so we send a FIN, and receive an ACK.
A Dtcp_close_close-remote-fin-then-close.pkt3 // Since the remote side (client) closes first, we test our LAST_ACK code path.
19 // Client closes first.
A Dtcp_timestamping_server.pkt24 // is called after when SYN is acked. So, we expect the last byte of the first
40 // SCM_TSTAMP_SCHED for the first chunk should be received almost immediately
58 // SCM_TSTAMP_SND for the first chunk should be received almost immediately
112 // SCM_TSTAMP_ACK for the first chunk should be received at t=20ms.
/tools/power/cpupower/bindings/python/
A Draw_pylibcpupower.swg59 struct cpufreq_available_governors *first;
65 struct cpufreq_available_frequencies *first;
72 struct cpufreq_affected_cpus *first;
79 struct cpufreq_stats *first;
106 struct cpufreq_available_governors *first);
112 struct cpufreq_available_frequencies *first);
118 struct cpufreq_available_frequencies *first);
123 void cpufreq_put_affected_cpus(struct cpufreq_affected_cpus *first);
128 void cpufreq_put_related_cpus(struct cpufreq_affected_cpus *first);
/tools/perf/pmu-events/
A Dmodels.py44 first = False
47 if not first or len(row) == 0 or row[0].startswith('#'):
48 first = True
/tools/perf/ui/stdio/
A Dhist.c340 bool first; in __callchain__fprintf_folded() local
347 first = (ret == 0); in __callchain__fprintf_folded()
354 first = false; in __callchain__fprintf_folded()
425 bool first = true; in __hist_entry__snprintf() local
442 first = false; in __hist_entry__snprintf()
472 bool first = true; in hist_entry__hierarchy_fprintf() local
492 first = false; in hist_entry__hierarchy_fprintf()
760 first = false; in fprintf_line()
792 first = true; in hists__fprintf_standard_headers()
802 if (!first) in hists__fprintf_standard_headers()
[all …]
/tools/testing/selftests/kvm/
A Dcoalesced_io_test.c81 WRITE_ONCE(ring->first, 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()
127 uint32_t idx = (ring->first + i) % io->ring_size; in vcpu_run_and_verify_coalesced_io()
169 WRITE_ONCE(ring->first, ring_start); in test_coalesced_io()
173 TEST_ASSERT_EQ(ring->first, ring_start); in test_coalesced_io()
/tools/lib/
A Dbitmap.c36 bool first = true; in bitmap_scnprintf() local
46 if (!first) in bitmap_scnprintf()
49 first = false; in bitmap_scnprintf()
/tools/perf/
A Dperf-completion.sh7 local exclude i j first
20 first=t
29 if [ $j -ge 2 ] && [ -n "$first" ]; then
32 first=
/tools/testing/selftests/rcutorture/bin/
A Dkvm.sh461 function dump(first, pastlast, batchnum, affinitylist)
476 for (j = first; j < pastlast; j++) {
555 first = 0;
563 first = i;
567 dump(first, i, batchnum);
568 first = i;
577 dump(first, i, batchnum);

Completed in 29 milliseconds

1234567