/tools/power/x86/intel-speed-select/ |
D | isst-display.c | 84 static void format_and_print_txt(FILE *outf, int level, char *header, in format_and_print_txt() argument 91 if (!level) in format_and_print_txt() 94 if (level == 1) { in format_and_print_txt() 97 for (i = 0; i < level - 1; ++i) in format_and_print_txt() 112 static void format_and_print(FILE *outf, int level, char *header, char *value) in format_and_print() argument 119 format_and_print_txt(outf, level, header, value); in format_and_print() 123 if (level == 0) { in format_and_print() 132 for (i = 0; i < level; ++i) in format_and_print() 136 if (last_level == level) in format_and_print() 140 if (last_level != level) in format_and_print() [all …]
|
D | isst-core.c | 307 int isst_get_get_trl(int cpu, int level, int avx_level, int *trl) in isst_get_get_trl() argument 312 req = level | (avx_level << 16); in isst_get_get_trl() 328 req = level | BIT(8) | (avx_level << 16); in isst_get_get_trl() 366 unsigned long long level = tdp_level; in isst_set_tdp_level_msr() local 379 ret = isst_send_msr_command(cpu, 0x64b, 1, &level); in isst_set_tdp_level_msr() 410 int isst_get_pbf_info(int cpu, int level, struct isst_pbf_info *pbf_info) in isst_get_pbf_info() argument 423 if (level > pkg_dev.levels) { in isst_get_pbf_info() 424 isst_display_error_info_message(1, "Invalid level", 1, level); in isst_get_pbf_info() 428 ret = isst_get_ctdp_control(cpu, level, &ctdp_level); in isst_get_pbf_info() 433 isst_display_error_info_message(1, "base-freq feature is not present at this level", 1, level); in isst_get_pbf_info() [all …]
|
D | isst.h | 122 int level; member 215 extern void isst_pbf_display_information(int cpu, FILE *outf, int level, 220 extern int isst_get_pbf_info(int cpu, int level, 223 extern int isst_get_fact_info(int cpu, int level, int fact_bucket, 225 extern int isst_get_fact_bucket_info(int cpu, int level, 227 extern void isst_fact_display_information(int cpu, FILE *outf, int level,
|
/tools/testing/selftests/bpf/ |
D | test_skb_cgroup_id_user.c | 119 __u32 level; in check_ancestor_cgroup_ids() local 132 for (level = 0; level < NUM_CGROUP_LEVELS; ++level) { in check_ancestor_cgroup_ids() 133 if (bpf_map_lookup_elem(map_fd, &level, &actual_ids[level])) { in check_ancestor_cgroup_ids() 134 log_err("Failed to lookup key %d", level); in check_ancestor_cgroup_ids() 137 if (actual_ids[level] != expected_ids[level]) { in check_ancestor_cgroup_ids() 139 actual_ids[level], expected_ids[level], level); in check_ancestor_cgroup_ids()
|
/tools/testing/selftests/bpf/progs/ |
D | sockopt_sk.c | 50 if (ctx->level == SOL_IP && ctx->optname == IP_TOS) { in _getsockopt() 59 if (ctx->level == SOL_SOCKET && ctx->optname == SO_SNDBUF) { in _getsockopt() 67 if (ctx->level == SOL_TCP && ctx->optname == TCP_CONGESTION) { in _getsockopt() 75 if (ctx->level == SOL_TCP && ctx->optname == TCP_ZEROCOPY_RECEIVE) { in _getsockopt() 90 if (ctx->level == SOL_IP && ctx->optname == IP_FREEBIND) { in _getsockopt() 110 if (ctx->level != SOL_CUSTOM) in _getsockopt() 154 if (ctx->level == SOL_IP && ctx->optname == IP_TOS) { in _setsockopt() 163 if (ctx->level == SOL_SOCKET && ctx->optname == SO_SNDBUF) { in _setsockopt() 175 if (ctx->level == SOL_TCP && ctx->optname == TCP_CONGESTION) { in _setsockopt() 187 if (ctx->level == SOL_IP && ctx->optname == IP_FREEBIND) { in _setsockopt() [all …]
|
D | test_skb_cgroup_id_kern.c | 20 static __always_inline void log_nth_level(struct __sk_buff *skb, __u32 level) in log_nth_level() argument 27 id = bpf_skb_ancestor_cgroup_id(skb, level); in log_nth_level() 28 bpf_map_update_elem(&cgroup_ids, &level, &id, 0); in log_nth_level()
|
D | sockopt_multi.c | 15 if (ctx->level != SOL_IP || ctx->optname != IP_TOS) in _getsockopt_child() 38 if (ctx->level != SOL_IP || ctx->optname != IP_TOS) in _getsockopt_parent() 61 if (ctx->level != SOL_IP || ctx->optname != IP_TOS) in _setsockopt()
|
D | sockopt_inherit.c | 58 if (ctx->level != SOL_CUSTOM) in _getsockopt() 83 if (ctx->level != SOL_CUSTOM) in _setsockopt()
|
/tools/testing/selftests/futex/include/ |
D | logging.h | 91 void log_verbosity(int level) in log_verbosity() argument 93 if (level > VMAX) in log_verbosity() 94 level = VMAX; in log_verbosity() 95 else if (level < 0) in log_verbosity() 96 level = 0; in log_verbosity() 97 _verbose = level; in log_verbosity()
|
/tools/lib/perf/ |
D | core.c | 13 static int __base_pr(enum libperf_print_level level __maybe_unused, const char *format, in __base_pr() 22 void libperf_print(enum libperf_print_level level, const char *format, ...) in libperf_print() argument 30 __libperf_pr(level, format, args); in libperf_print()
|
D | internal.h | 7 void libperf_print(enum libperf_print_level level, 11 #define __pr(level, fmt, ...) \ argument 13 libperf_print(level, "libperf: " fmt, ##__VA_ARGS__); \
|
/tools/testing/selftests/proc/ |
D | read.c | 77 static void f(DIR *d, unsigned int level) in f() argument 98 if (level == 0 && streq(de->d_name, "sysrq-trigger")) { in f() 100 } else if (level == 1 && streq(de->d_name, "clear_refs")) { in f() 102 } else if (level == 3 && streq(de->d_name, "clear_refs")) { in f() 115 f(dd, level + 1); in f()
|
/tools/perf/util/ |
D | debug.c | 66 int veprintf(int level, int var, const char *fmt, va_list args) in veprintf() argument 70 if (var >= level) { in veprintf() 82 int eprintf(int level, int var, const char *fmt, ...) in eprintf() argument 88 ret = veprintf(level, var, fmt, args); in eprintf() 109 int eprintf_time(int level, int var, u64 t, const char *fmt, ...) in eprintf_time() argument 114 if (var >= level) { in eprintf_time()
|
D | debug.h | 75 int eprintf(int level, int var, const char *fmt, ...) __printf(3, 4); 76 int eprintf_time(int level, int var, u64 t, const char *fmt, ...) __printf(4, 5); 77 int veprintf(int level, int var, const char *fmt, va_list args);
|
D | zstd.c | 8 int zstd_init(struct zstd_data *data, int level) in zstd_init() argument 24 if (!level) in zstd_init() 33 ret = ZSTD_initCStream(data->cstream, level); in zstd_init()
|
D | compress.h | 29 int zstd_init(struct zstd_data *data, int level); 40 static inline int zstd_init(struct zstd_data *data __maybe_unused, int level __maybe_unused) in zstd_init()
|
D | sort.c | 297 u64 ip, char level, char *bf, size_t size, in _hist_entry__sym_snprintf() argument 316 ret += repsep_snprintf(bf + ret, size - ret, "[%c] ", level); in _hist_entry__sym_snprintf() 342 he->level, bf, size, width); in hist_entry__sym_snprintf() 917 he->level, bf, size, width); in hist_entry__sym_from_snprintf() 930 he->level, bf, size, width); in hist_entry__sym_to_snprintf() 1071 return _hist_entry__sym_snprintf(ms, addr, he->level, bf, size, width); in hist_entry__daddr_snprintf() 1097 return _hist_entry__sym_snprintf(ms, addr, he->level, bf, size, width); in hist_entry__iaddr_snprintf() 1299 char level = he->level; in hist_entry__dcacheline_snprintf() local 1313 level = 's'; in hist_entry__dcacheline_snprintf() 1315 level = 'X'; in hist_entry__dcacheline_snprintf() [all …]
|
/tools/testing/selftests/powerpc/tm/ |
D | tm-syscall-asm.S | 31 .macro scv level argument 32 .long (0x44000001 | (\level) << 5)
|
/tools/perf/util/bpf_skel/ |
D | bperf_cgroup.bpf.c | 58 int level; in get_cgroup_v1_idx() local 62 level = BPF_CORE_READ(cgrp, level); in get_cgroup_v1_idx() 67 if (i > level) in get_cgroup_v1_idx()
|
/tools/testing/selftests/kvm/x86_64/ |
D | vmx_nested_tsc_scaling_test.c | 31 #define GUEST_CHECK(level, freq) ucall(UCALL_SYNC, 2, level, freq) argument 58 static void check_tsc_freq(int level) in check_tsc_freq() argument 74 GUEST_CHECK(level, tsc_freq); in check_tsc_freq()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | test_global_funcs.c | 8 static int libbpf_debug_print(enum libbpf_print_level level, in libbpf_debug_print() argument 13 if (level != LIBBPF_WARN || in libbpf_debug_print()
|
D | bpf_verif_scale.c | 4 static int libbpf_debug_print(enum libbpf_print_level level, in libbpf_debug_print() argument 7 if (level != LIBBPF_DEBUG) { in libbpf_debug_print()
|
/tools/perf/pmu-events/ |
D | jevents.c | 103 int eprintf(int level, int var, const char *fmt, ...) in eprintf() argument 109 if (var < level) in eprintf() 1030 int level = ftwbuf->level; in preprocess_arch_std_files() local 1033 if (level == 1 && is_file && is_json_file(fpath)) in preprocess_arch_std_files() 1045 int level = ftwbuf->level; in process_one_file() local 1048 if (level >= 2 && is_dir) { in process_one_file() 1061 if (count == level - 1) in process_one_file() 1071 level, sb->st_size, bname, fpath); in process_one_file() 1074 if (level == 0 || level > 4) in process_one_file() 1079 if ((level == 1 && is_dir && is_leaf_dir(fpath)) || in process_one_file() [all …]
|
/tools/perf/tests/ |
D | attr.py | 337 level = logging.CRITICAL 340 level = logging.WARNING 342 level = logging.INFO 344 level = logging.DEBUG 347 log.setLevel(level) 349 ch.setLevel(level)
|
/tools/lib/perf/include/perf/ |
D | core.h | 20 typedef int (*libperf_print_fn_t)(enum libperf_print_level level,
|