Home
last modified time | relevance | path

Searched refs:sc (Results 1 – 18 of 18) sorted by relevance

/tools/testing/selftests/powerpc/stringloops/
Dstring.c16 const char *sc; in test_strlen() local
18 for (sc = s; *sc != '\0'; ++sc) in test_strlen()
20 return sc - s; in test_strlen()
/tools/perf/arch/arm64/entry/syscalls/
Dmksyscalltbl24 local sc nr last_sc
37 while read sc nr; do
38 printf "%s\n" " printf(\"\\t[%d] = \\\"$sc\\\",\\n\", __NR_$sc);"
39 last_sc=$sc
/tools/perf/arch/s390/entry/syscalls/
Dmksyscalltbl19 local max_nr nr abi sc discard
22 while read nr abi sc discard; do
23 printf '\t[%d] = "%s",\n' $nr $sc
/tools/perf/
Dbuiltin-trace.c298 ({ struct syscall_tp *sc = evsel->priv;\
299 perf_evsel__init_tp_uint_field(evsel, &sc->name, #name); })
314 ({ struct syscall_tp *sc = evsel->priv;\
315 perf_evsel__init_tp_ptr_field(evsel, &sc->name, #name); })
325 struct syscall_tp *sc = evsel->priv = malloc(sizeof(struct syscall_tp)); in perf_evsel__init_syscall_tp() local
328 if (perf_evsel__init_tp_uint_field(evsel, &sc->id, "__syscall_nr") && in perf_evsel__init_syscall_tp()
329 perf_evsel__init_tp_uint_field(evsel, &sc->id, "nr")) in perf_evsel__init_syscall_tp()
342 struct syscall_tp *sc = evsel->priv = malloc(sizeof(struct syscall_tp)); in perf_evsel__init_augmented_syscall_tp() local
350 if (__tp_field__init_uint(&sc->id, syscall_id->size, syscall_id->offset, evsel->needs_swap)) in perf_evsel__init_augmented_syscall_tp()
364 struct syscall_tp *sc = evsel->priv; in perf_evsel__init_augmented_syscall_tp_args() local
[all …]
/tools/perf/arch/powerpc/entry/syscalls/
Dmksyscalltbl22 local max_nr nr abi sc discard
27 while read nr abi sc discard; do
29 printf '\t[%d] = "%s",\n' $nr $sc
/tools/testing/selftests/powerpc/tm/
Dtm-syscall-asm.S10 sc
22 sc
Dtm-signal.S95 sc /* Taking the signal will doom the transaction */
/tools/testing/selftests/powerpc/switch_endian/
Dswitch_endian_test.S65 sc
78 sc
81 sc
Dcheck.S99 sc
/tools/testing/selftests/powerpc/signal/
Dsignal.S13 sc
29 sc
/tools/perf/util/
Dsyscalltbl.c111 struct syscall *sc = bsearch(name, tbl->syscalls.entries, in syscalltbl__id() local
112 tbl->syscalls.nr_entries, sizeof(*sc), in syscalltbl__id()
115 return sc ? sc->id : -1; in syscalltbl__id()
Dstat.c453 struct perf_stat_config sc; in perf_event__fprintf_stat_config() local
456 perf_event__read_stat_config(&sc, &event->stat_config); in perf_event__fprintf_stat_config()
459 ret += fprintf(fp, "... aggr_mode %d\n", sc.aggr_mode); in perf_event__fprintf_stat_config()
460 ret += fprintf(fp, "... scale %d\n", sc.scale); in perf_event__fprintf_stat_config()
461 ret += fprintf(fp, "... interval %u\n", sc.interval); in perf_event__fprintf_stat_config()
Dstat-display.c338 double sc = evsel->scale; in abs_printout() local
342 fmt = floor(sc) != sc ? "%.2f%s" : "%.0f%s"; in abs_printout()
345 fmt = floor(sc) != sc ? "%'18.2f%s" : "%'18.0f%s"; in abs_printout()
347 fmt = floor(sc) != sc ? "%18.2f%s" : "%18.0f%s"; in abs_printout()
/tools/testing/selftests/sigaltstack/
Dsas.c29 static ucontext_t uc, sc; variable
66 swapcontext(&sc, &uc); in my_usr1()
97 setcontext(&sc); in switch_fn()
/tools/testing/selftests/bpf/
Dtest_sockmap.c714 int sc; in forever_ping_pong() local
720 sc = send(c1, buf, sizeof(buf), 0); in forever_ping_pong()
721 if (sc < 0) { in forever_ping_pong()
723 return sc; in forever_ping_pong()
765 sc = send(i, buf, rc, 0); in forever_ping_pong()
766 if (sc < 0) { in forever_ping_pong()
768 return sc; in forever_ping_pong()
Dtest_maps.c658 int one = 1, s, sc, rc; in test_sockmap() local
967 sc = send(sfd[2], buf, 20, 0); in test_sockmap()
968 if (sc < 0) { in test_sockmap()
1001 sc = send(sfd[2], buf, 20, 0); in test_sockmap()
1002 if (sc < 0) { in test_sockmap()
/tools/testing/selftests/powerpc/math/
Dfpu_asm.S81 sc
Dvmx_asm.S98 sc