/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | pmu.c | 131 static LIST_HEAD(terms); in test_terms_list() 135 list_add_tail(&test_terms[i].list, &terms); in test_terms_list() 137 return &terms; in test_terms_list() 144 struct list_head *terms = test_terms_list(); in test__pmu() local 160 terms, false, NULL); in test__pmu()
|
H A D | attr.py | 53 terms = [ variable in Event 106 for t in Event.terms: 120 for t in Event.terms:
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | pmu.c | 133 static LIST_HEAD(terms); in test_terms_list() 137 list_add_tail(&test_terms[i].list, &terms); in test_terms_list() 139 return &terms; in test_terms_list() 146 struct list_head *terms = test_terms_list(); in test__pmu() local 178 ret = perf_pmu__config_terms(pmu, &attr, terms, /*zero=*/false, /*err=*/NULL); in test__pmu()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | parse-events.h | 45 int parse_events_terms(struct list_head *terms, const char *str); 138 struct list_head *terms; member 159 void parse_events_terms__delete(struct list_head *terms); 160 void parse_events_terms__purge(struct list_head *terms);
|
H A D | parse-events.y | 280 struct list_head *list = NULL, *orig_terms = NULL, *terms= NULL; 316 if (parse_events_copy_term_list(orig_terms, &terms)) 318 if (!parse_events_add_pmu(_parse_state, list, pmu->name, terms, true, false)) 320 parse_events_terms__delete(terms); 714 if (parse_state->terms) { 718 parse_state->terms = $1;
|
H A D | pmu.c | 286 parse_events_terms__purge(&newalias->terms); in perf_pmu_free_alias() 326 INIT_LIST_HEAD(&alias->terms); in __perf_pmu__new_alias() 333 ret = parse_events_terms(&alias->terms, val); in __perf_pmu__new_alias() 341 * platforms have terms specified as in __perf_pmu__new_alias() 343 * and terms specified as event=0x91 (read from JSON files). in __perf_pmu__new_alias() 349 list_for_each_entry(term, &alias->terms, list) { in __perf_pmu__new_alias() 499 struct list_head *terms) in pmu_alias_terms() 505 list_for_each_entry(term, &alias->terms, list) { in pmu_alias_terms() 512 * Weak terms don't override command line options, in pmu_alias_terms() 513 * which we don't want for implicit terms i in pmu_alias_terms() 498 pmu_alias_terms(struct perf_pmu_alias *alias, struct list_head *terms) pmu_alias_terms() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | parse-events.h | 47 int parse_events_terms(struct list_head *terms, const char *str, FILE *input); 123 * shouldn't override terms coming from the command line. 150 /* Holds returned terms for term parsing. */ 151 struct list_head *terms; member 158 /* Should PE_LEGACY_NAME tokens be generated for config terms? */ 184 void parse_events_terms__delete(struct list_head *terms); 185 void parse_events_terms__purge(struct list_head *terms);
|
H A D | parse-events.y | 277 struct list_head *list = NULL, *orig_terms = NULL, *terms= NULL; 323 if (parse_events_copy_term_list(orig_terms, &terms)) { 327 if (!parse_events_add_pmu(parse_state, list, pmu->name, terms, 332 parse_events_terms__delete(terms); 648 if (parse_state->terms) { 652 parse_state->terms = $1;
|
H A D | parse-events.c | 188 * @config_terms: the list of terms that may contain a raw term. 1014 * Always succeed for sysfs terms, as we dont know in config_term_pmu() 1059 strdup("valid terms: call-graph,stack-size\n")); in config_term_tracepoint() 1442 * Configure hardcoded terms first, no need to check in parse_events_add_pmu() 1833 * parse event config string, return a list of event terms. 1835 int parse_events_terms(struct list_head *terms, const char *str, FILE *input) in parse_events_terms() argument 1838 .terms = NULL, in parse_events_terms() 1846 list_splice(parse_state.terms, terms); in parse_events_terms() 1847 zfree(&parse_state.terms); in parse_events_terms() 2572 parse_events_terms__purge(struct list_head *terms) parse_events_terms__purge() argument 2582 parse_events_terms__delete(struct list_head *terms) parse_events_terms__delete() argument [all...] |
H A D | pmu.c | 54 /** @terms: Owned list of the original parsed parameters. */ 55 struct list_head terms; member 407 parse_events_terms__purge(&newalias->terms); in perf_pmu_free_alias() 487 parse_events_terms__purge(&data->alias->terms); in update_alias() 488 ret = parse_events_terms(&data->alias->terms, pe->event, /*input=*/NULL); in update_alias() 527 INIT_LIST_HEAD(&alias->terms); in perf_pmu__new_alias() 534 ret = parse_events_terms(&alias->terms, val, val_fd); in perf_pmu__new_alias() 660 struct list_head *terms) in pmu_alias_terms() 666 list_for_each_entry(term, &alias->terms, list) { in pmu_alias_terms() 673 * Weak terms do in pmu_alias_terms() 659 pmu_alias_terms(struct perf_pmu_alias *alias, struct list_head *terms) pmu_alias_terms() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/ |
H A D | Util.pm | 87 it under the same terms as Perl itself, either Perl version 5.10.0 or, 90 Alternatively, this software may be distributed under the terms of the
|
H A D | Context.pm | 48 it under the same terms as Perl itself, either Perl version 5.10.0 or, 51 Alternatively, this software may be distributed under the terms of the
|
H A D | Core.pm | 185 it under the same terms as Perl itself, either Perl version 5.10.0 or, 188 Alternatively, this software may be distributed under the terms of the
|
/kernel/linux/linux-6.6/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/ |
H A D | Util.pm | 87 it under the same terms as Perl itself, either Perl version 5.10.0 or, 90 Alternatively, this software may be distributed under the terms of the
|
H A D | Context.pm | 48 it under the same terms as Perl itself, either Perl version 5.10.0 or, 51 Alternatively, this software may be distributed under the terms of the
|
H A D | Core.pm | 185 it under the same terms as Perl itself, either Perl version 5.10.0 or, 188 Alternatively, this software may be distributed under the terms of the
|
/kernel/linux/linux-5.10/drivers/scsi/arm/ |
H A D | cumana_2.c | 77 unsigned int terms; /* Terminator state */ member 124 info->terms = 1; in cumanascsi_2_terminator_ctl() 127 info->terms = 0; in cumanascsi_2_terminator_ctl() 302 VERSION, info->terms ? "n" : "ff"); in cumanascsi_2_info() 348 info->terms ? "n" : "ff"); in cumanascsi_2_show_info()
|
/kernel/linux/linux-6.6/drivers/scsi/arm/ |
H A D | cumana_2.c | 81 unsigned int terms; /* Terminator state */ member 128 info->terms = 1; in cumanascsi_2_terminator_ctl() 131 info->terms = 0; in cumanascsi_2_terminator_ctl() 306 VERSION, info->terms ? "n" : "ff"); in cumanascsi_2_info() 352 info->terms ? "n" : "ff"); in cumanascsi_2_show_info()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | polynomial.h | 26 * @terms: polynomial terms, last term must have degree of 0 30 struct polynomial_term terms[]; member
|
/kernel/linux/linux-6.6/drivers/iio/light/ |
H A D | rohm-bu27034.c | 898 /* All terms positive */ in bu27034_fixp_calc_lx() 907 u64 res = 0, terms[3]; in bu27034_fixp_calc_lx() local 913 terms[0] = bu27034_fixp_calc_t1(c->A, ch0, ch1, gain0, gain1); in bu27034_fixp_calc_lx() 914 terms[1] = bu27034_fixp_calc_t23(c->B, ch1, gain1); in bu27034_fixp_calc_lx() 915 terms[2] = bu27034_fixp_calc_t23(c->C, ch0, gain0); in bu27034_fixp_calc_lx() 917 /* First, add positive terms */ in bu27034_fixp_calc_lx() 920 res += terms[i]; in bu27034_fixp_calc_lx() 926 /* Then, subtract negative terms (if any) */ in bu27034_fixp_calc_lx() 934 if (terms[i] >= res) in bu27034_fixp_calc_lx() 937 res -= terms[ in bu27034_fixp_calc_lx() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | polynomial.c | 46 * .terms = { 57 * .terms = { 81 const struct polynomial_term *term = poly->terms; in polynomial_calc() 88 * redistributed terms calculations. It's pretty straightforward. in polynomial_calc()
|
/kernel/linux/linux-5.10/arch/x86/math-emu/ |
H A D | poly.h | 33 const unsigned long long terms[], const int n);
|
/kernel/linux/linux-6.6/arch/x86/math-emu/ |
H A D | poly.h | 33 const unsigned long long terms[], const int n);
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/ |
H A D | intel-pt.c | 67 struct list_head *terms; in intel_pt_parse_terms_with_default() local 71 terms = malloc(sizeof(struct list_head)); in intel_pt_parse_terms_with_default() 72 if (!terms) in intel_pt_parse_terms_with_default() 75 INIT_LIST_HEAD(terms); in intel_pt_parse_terms_with_default() 77 err = parse_events_terms(terms, str); in intel_pt_parse_terms_with_default() 82 err = perf_pmu__config_terms(pmu_name, formats, &attr, terms, true, in intel_pt_parse_terms_with_default() 89 parse_events_terms__delete(terms); in intel_pt_parse_terms_with_default()
|
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/ |
H A D | intel-pt.c | 67 struct list_head *terms; in intel_pt_parse_terms_with_default() local 71 terms = malloc(sizeof(struct list_head)); in intel_pt_parse_terms_with_default() 72 if (!terms) in intel_pt_parse_terms_with_default() 75 INIT_LIST_HEAD(terms); in intel_pt_parse_terms_with_default() 77 err = parse_events_terms(terms, str, /*input=*/ NULL); in intel_pt_parse_terms_with_default() 82 err = perf_pmu__config_terms(pmu, &attr, terms, /*zero=*/true, /*err=*/NULL); in intel_pt_parse_terms_with_default() 88 parse_events_terms__delete(terms); in intel_pt_parse_terms_with_default()
|