/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 | 292 int isst_get_get_trl(int cpu, int level, int avx_level, int *trl) in isst_get_get_trl() argument 297 req = level | (avx_level << 16); in isst_get_get_trl() 313 req = level | BIT(8) | (avx_level << 16); in isst_get_get_trl() 351 unsigned long long level = tdp_level; in isst_set_tdp_level_msr() local 364 ret = isst_send_msr_command(cpu, 0x64b, 1, &level); in isst_set_tdp_level_msr() 395 int isst_get_pbf_info(int cpu, int level, struct isst_pbf_info *pbf_info) in isst_get_pbf_info() argument 408 if (level > pkg_dev.levels) { in isst_get_pbf_info() 409 isst_display_error_info_message(1, "Invalid level", 1, level); in isst_get_pbf_info() 413 ret = isst_get_ctdp_control(cpu, level, &ctdp_level); in isst_get_pbf_info() 418 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 | 35 if (ctx->level == SOL_IP && ctx->optname == IP_TOS) { in _getsockopt() 44 if (ctx->level == SOL_SOCKET && ctx->optname == SO_SNDBUF) { in _getsockopt() 52 if (ctx->level == SOL_TCP && ctx->optname == TCP_CONGESTION) { in _getsockopt() 60 if (ctx->level == SOL_IP && ctx->optname == IP_FREEBIND) { in _getsockopt() 80 if (ctx->level != SOL_CUSTOM) in _getsockopt() 110 if (ctx->level == SOL_IP && ctx->optname == IP_TOS) { in _setsockopt() 119 if (ctx->level == SOL_SOCKET && ctx->optname == SO_SNDBUF) { in _setsockopt() 131 if (ctx->level == SOL_TCP && ctx->optname == TCP_CONGESTION) { in _setsockopt() 143 if (ctx->level == SOL_IP && ctx->optname == IP_FREEBIND) { in _setsockopt() 165 if (ctx->level != SOL_CUSTOM) in _setsockopt()
|
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 | 75 static void f(DIR *d, unsigned int level) in f() argument 96 if (level == 0 && streq(de->d_name, "sysrq-trigger")) { in f() 98 } else if (level == 1 && streq(de->d_name, "clear_refs")) { in f() 100 } else if (level == 3 && streq(de->d_name, "clear_refs")) { in f() 113 f(dd, level + 1); in f()
|
/tools/perf/util/ |
D | debug.c | 34 int veprintf(int level, int var, const char *fmt, va_list args) in veprintf() argument 38 if (var >= level) { in veprintf() 48 int eprintf(int level, int var, const char *fmt, ...) in eprintf() argument 54 ret = veprintf(level, var, fmt, args); in eprintf() 75 int eprintf_time(int level, int var, u64 t, const char *fmt, ...) in eprintf_time() argument 80 if (var >= level) { in eprintf_time()
|
D | debug.h | 60 int eprintf(int level, int var, const char *fmt, ...) __printf(3, 4); 61 int eprintf_time(int level, int var, u64 t, const char *fmt, ...) __printf(4, 5); 62 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 | sort.c | 294 u64 ip, char level, char *bf, size_t size, in _hist_entry__sym_snprintf() argument 313 ret += repsep_snprintf(bf + ret, size - ret, "[%c] ", level); in _hist_entry__sym_snprintf() 339 he->level, bf, size, width); in hist_entry__sym_snprintf() 914 he->level, bf, size, width); in hist_entry__sym_from_snprintf() 927 he->level, bf, size, width); in hist_entry__sym_to_snprintf() 1068 return _hist_entry__sym_snprintf(ms, addr, he->level, bf, size, width); in hist_entry__daddr_snprintf() 1094 return _hist_entry__sym_snprintf(ms, addr, he->level, bf, size, width); in hist_entry__iaddr_snprintf() 1296 char level = he->level; in hist_entry__dcacheline_snprintf() local 1310 level = 's'; in hist_entry__dcacheline_snprintf() 1312 level = 'X'; in hist_entry__dcacheline_snprintf() [all …]
|
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()
|
/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 | 85 int eprintf(int level, int var, const char *fmt, ...) in eprintf() argument 91 if (var < level) in eprintf() 963 int level = ftwbuf->level; in preprocess_arch_std_files() local 966 if (level == 1 && is_file && is_json_file(fpath)) in preprocess_arch_std_files() 978 int level = ftwbuf->level; in process_one_file() local 981 if (level == 2 && is_dir) { in process_one_file() 999 level, sb->st_size, bname, fpath); in process_one_file() 1002 if (level == 0 || level > 3) in process_one_file() 1007 if ((level == 1 && is_dir && is_leaf_dir(fpath)) || in process_one_file() 1008 (level == 2 && is_dir)) { 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,
|
/tools/bpf/bpftool/ |
D | cgroup.c | 51 int level) in show_bpf_prog() argument 79 printf("%s%-8u ", level ? " " : "", info.id); in show_bpf_prog() 124 int level) in show_attached_bpf_progs() argument 159 attach_flags_str, level); in show_attached_bpf_progs() 279 show_attached_bpf_progs(cgroup_fd, type, ftw->level); in do_show_tree_fn()
|
/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 186 static void pte_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent, uint64_t page, int level) in pte_dump() argument 192 if (level == 4) in pte_dump() 199 fprintf(stream, "%*s%s: %lx: %lx at %p\n", indent, "", type[level], pte, *ptep, ptep); in pte_dump() 200 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level + 1); in pte_dump() 207 int level = 4 - (vm->pgtable_levels - 1); in virt_dump() local 218 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level); in virt_dump()
|
/tools/lib/perf/tests/ |
D | test-threadmap.c | 7 static int libperf_print(enum libperf_print_level level, in libperf_print() argument
|