| /tools/perf/util/ |
| A D | s390-cpumsf.c | 203 if (!sf->use_logfile || sf->queues.nr_queues <= sample->cpu) in s390_cpumcf_dumpctr() 214 rc = (sf->logdir) in s390_cpumcf_dumpctr() 604 struct s390_cpumsf *sf = sfq->sf; in s390_cpumsf_samples() local 778 sfq->sf = sf; in s390_cpumsf_alloc_queue() 785 rc = (sf->logdir) in s390_cpumsf_alloc_queue() 828 ret = s390_cpumsf_setup_queue(sf, &sf->queues.queue_array[i], in s390_cpumsf_setup_queues() 1044 zfree(&sf->logdir); in s390_cpumsf_free() 1045 free(sf); in s390_cpumsf_free() 1126 if (sf == NULL) in s390_cpumsf_process_auxtrace_info() 1171 zfree(&sf->logdir); in s390_cpumsf_process_auxtrace_info() [all …]
|
| A D | srccode.c | 79 list_del_init(&sf->nd); in free_srcfile() 80 hlist_del(&sf->hash_nd); in free_srcfile() 81 map_total_sz -= sf->maplen; in free_srcfile() 82 munmap(sf->map, sf->maplen); in free_srcfile() 83 zfree(&sf->lines); in free_srcfile() 84 zfree(&sf->fn); in free_srcfile() 85 free(sf); in free_srcfile() 160 if (!sf) in find_sourceline() 163 if (line >= sf->numlines) in find_sourceline() 165 l = sf->lines[line]; in find_sourceline() [all …]
|
| /tools/testing/selftests/arm64/signal/testcases/ |
| A D | fake_sigreturn_bad_size_for_magic0.c | 16 struct fake_sigframe sf; variable 21 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; in fake_sigreturn_bad_size_for_magic0_run() 24 if (!get_current_context(td, &sf.uc, sizeof(sf.uc))) in fake_sigreturn_bad_size_for_magic0_run() 28 head = get_starting_head(shead, HDR_SZ, GET_SF_RESV_SIZE(sf), NULL); in fake_sigreturn_bad_size_for_magic0_run() 34 ASSERT_BAD_CONTEXT(&sf.uc); in fake_sigreturn_bad_size_for_magic0_run() 35 fake_sigreturn(&sf, sizeof(sf), 0); in fake_sigreturn_bad_size_for_magic0_run()
|
| A D | fake_sigreturn_bad_magic.c | 16 struct fake_sigframe sf; variable 21 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; in fake_sigreturn_bad_magic_run() 24 if (!get_current_context(td, &sf.uc, sizeof(sf.uc))) in fake_sigreturn_bad_magic_run() 28 head = get_starting_head(shead, HDR_SZ * 2, GET_SF_RESV_SIZE(sf), NULL); in fake_sigreturn_bad_magic_run() 40 ASSERT_BAD_CONTEXT(&sf.uc); in fake_sigreturn_bad_magic_run() 41 fake_sigreturn(&sf, sizeof(sf), 0); in fake_sigreturn_bad_magic_run()
|
| A D | fake_sigreturn_duplicated_fpsimd.c | 16 struct fake_sigframe sf; variable 21 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; in fake_sigreturn_duplicated_fpsimd_run() 24 if (!get_current_context(td, &sf.uc, sizeof(sf.uc))) in fake_sigreturn_duplicated_fpsimd_run() 28 GET_SF_RESV_SIZE(sf), NULL); in fake_sigreturn_duplicated_fpsimd_run() 38 ASSERT_BAD_CONTEXT(&sf.uc); in fake_sigreturn_duplicated_fpsimd_run() 39 fake_sigreturn(&sf, sizeof(sf), 0); in fake_sigreturn_duplicated_fpsimd_run()
|
| A D | fake_sigreturn_bad_size.c | 16 struct fake_sigframe sf; variable 24 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; in fake_sigreturn_bad_size_run() 27 if (!get_current_context(td, &sf.uc, sizeof(sf.uc))) in fake_sigreturn_bad_size_run() 30 resv_sz = GET_SF_RESV_SIZE(sf); in fake_sigreturn_bad_size_run() 49 ASSERT_GOOD_CONTEXT(&sf.uc); in fake_sigreturn_bad_size_run() 65 ASSERT_BAD_CONTEXT(&sf.uc); in fake_sigreturn_bad_size_run() 66 fake_sigreturn(&sf, sizeof(sf), 0); in fake_sigreturn_bad_size_run()
|
| A D | fake_sigreturn_missing_fpsimd.c | 17 struct fake_sigframe sf; variable 23 struct _aarch64_ctx *head = GET_SF_RESV_HEAD(sf); in fake_sigreturn_missing_fpsimd_run() 26 if (!get_current_context(td, &sf.uc, sizeof(sf.uc))) in fake_sigreturn_missing_fpsimd_run() 29 resv_sz = GET_SF_RESV_SIZE(sf); in fake_sigreturn_missing_fpsimd_run() 37 ASSERT_BAD_CONTEXT(&sf.uc); in fake_sigreturn_missing_fpsimd_run() 38 fake_sigreturn(&sf, sizeof(sf), 0); in fake_sigreturn_missing_fpsimd_run()
|
| A D | fake_sigreturn_sme_change_vl.c | 18 struct fake_sigframe sf; variable 37 struct _aarch64_ctx *head = GET_SF_RESV_HEAD(sf); in fake_sigreturn_ssve_change_vl() 41 if (!get_current_context(td, &sf.uc, sizeof(sf.uc))) in fake_sigreturn_ssve_change_vl() 44 resv_sz = GET_SF_RESV_SIZE(sf); in fake_sigreturn_ssve_change_vl() 63 fake_sigreturn(&sf, sizeof(sf), 0); in fake_sigreturn_ssve_change_vl()
|
| A D | fake_sigreturn_sve_change_vl.c | 18 struct fake_sigframe sf; variable 37 struct _aarch64_ctx *head = GET_SF_RESV_HEAD(sf); in fake_sigreturn_sve_change_vl() 41 if (!get_current_context(td, &sf.uc, sizeof(sf.uc))) in fake_sigreturn_sve_change_vl() 44 resv_sz = GET_SF_RESV_SIZE(sf); in fake_sigreturn_sve_change_vl() 63 fake_sigreturn(&sf, sizeof(sf), 0); in fake_sigreturn_sve_change_vl()
|
| A D | fake_sigreturn_misaligned_sp.c | 16 struct fake_sigframe sf; variable 22 if (!get_current_context(td, &sf.uc, sizeof(sf.uc))) in fake_sigreturn_misaligned_run() 26 fake_sigreturn(&sf, sizeof(sf), 3); in fake_sigreturn_misaligned_run()
|
| A D | sme_vl.c | 16 struct fake_sigframe sf; variable 33 struct _aarch64_ctx *head = GET_SF_RESV_HEAD(sf); in sme_vl() 37 if (!get_current_context(td, &sf.uc, sizeof(sf.uc))) in sme_vl() 40 resv_sz = GET_SF_RESV_SIZE(sf); in sme_vl()
|
| A D | sve_vl.c | 16 struct fake_sigframe sf; variable 33 struct _aarch64_ctx *head = GET_SF_RESV_HEAD(sf); in sve_vl() 37 if (!get_current_context(td, &sf.uc, sizeof(sf.uc))) in sve_vl() 40 resv_sz = GET_SF_RESV_SIZE(sf); in sve_vl()
|
| A D | testcases.h | 33 #define GET_SF_RESV_HEAD(sf) \ argument 34 (struct _aarch64_ctx *)(&(sf).uc.uc_mcontext.__reserved) 36 #define GET_SF_RESV_SIZE(sf) \ argument 37 sizeof((sf).uc.uc_mcontext.__reserved)
|
| /tools/iio/ |
| A D | Makefile | 30 ln -sf $(CURDIR)/../../include/uapi/linux/iio/buffer.h $@ 31 ln -sf $(CURDIR)/../../include/uapi/linux/iio/events.h $@ 32 ln -sf $(CURDIR)/../../include/uapi/linux/iio/types.h $@
|
| /tools/testing/selftests/bpf/progs/ |
| A D | sock_iter_batch.c | 25 volatile const unsigned int sf; variable 45 if (sk->sk_family != sf || in iter_tcp_soreuse() 109 if (sk->sk_family != sf || in iter_udp_soreuse()
|
| /tools/lib/thermal/ |
| A D | Makefile | 89 ln -sf $(srctree)/$@ $(srctree)/tools/$@ 100 @ln -sf $(@F) $(OUTPUT)libthermal.so 101 @ln -sf $(@F) $(OUTPUT)libthermal.so.$(LIBTHERMAL_VERSION)
|
| /tools/spi/ |
| A D | Makefile | 30 ln -sf $(CURDIR)/../../include/uapi/linux/spi/spidev.h $@ 31 ln -sf $(CURDIR)/../../include/uapi/linux/spi/spi.h $@
|
| /tools/power/x86/intel-speed-select/ |
| A D | Makefile | 32 ln -sf $(CURDIR)/../../../../include/uapi/linux/isst_if.h $@ 36 ln -sf $(CURDIR)/../../../../include/uapi/linux/thermal.h $@
|
| /tools/thermal/lib/ |
| A D | Makefile | 92 @ln -sf $(@F) $(OUTPUT)libthermal_tools.so 93 @ln -sf $(@F) $(OUTPUT)libthermal_tools.so.$(LIBTHERMAL_TOOLS_VERSION)
|
| /tools/testing/selftests/filesystems/statmount/ |
| A D | statmount_test.c | 324 struct statfs sf; in test_statmount_sb_basic() local 357 ret = statfs("/", &sf); in test_statmount_sb_basic() 364 if (sm.sb_magic != sf.f_type) { in test_statmount_sb_basic() 367 sf.f_type); in test_statmount_sb_basic()
|
| /tools/counter/ |
| A D | Makefile | 31 ln -sf $(CURDIR)/../../include/uapi/linux/counter.h $@
|
| /tools/lib/perf/ |
| A D | Makefile | 121 @ln -sf $(@F) $(OUTPUT)libperf.so 122 @ln -sf $(@F) $(OUTPUT)libperf.so.$(LIBPERF_VERSION)
|
| /tools/gpio/ |
| A D | Makefile | 34 ln -sf $(CURDIR)/../../include/uapi/linux/gpio.h $@
|
| /tools/lib/bpf/ |
| A D | Makefile | 164 @ln -sf $(@F) $(OUTPUT)libbpf.so 165 @ln -sf $(@F) $(OUTPUT)libbpf.so.$(LIBBPF_MAJOR_VERSION)
|
| /tools/perf/tests/ |
| A D | make | 7 @echo "Testing Makefile"; $(MAKE) -sf tests/make MK=Makefile 8 @echo "Testing Makefile.perf"; $(MAKE) -sf tests/make MK=Makefile.perf SET_PARALLEL=1 SET_O=1 12 @echo "Testing Makefile"; $(MAKE) -sf tests/make MK=Makefile $@
|