Home
last modified time | relevance | path

Searched defs:value (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/tools/perf/util/
Dperf_event_attr_fprintf.c19 static void __p_bits(char *buf, size_t size, u64 value, struct bit_names *bits) in __p_bits()
32 static void __p_sample_type(char *buf, size_t size, u64 value) in __p_sample_type()
50 static void __p_branch_sample_type(char *buf, size_t size, u64 value) in __p_branch_sample_type()
66 static void __p_read_format(char *buf, size_t size, u64 value) in __p_read_format()
96 static const char *stringify_perf_hw_id(u64 value) in stringify_perf_hw_id()
114 static const char *stringify_perf_hw_cache_id(u64 value) in stringify_perf_hw_cache_id()
129 static const char *stringify_perf_hw_cache_op_id(u64 value) in stringify_perf_hw_cache_op_id()
140 static const char *stringify_perf_hw_cache_op_result_id(u64 value) in stringify_perf_hw_cache_op_result_id()
150 static const char *stringify_perf_sw_id(u64 value) in stringify_perf_sw_id()
182 static void __p_type_id(struct perf_pmu *pmu, char *buf, size_t size, u64 value) in __p_type_id()
[all …]
Dconfig.c76 static char value[1024]; in parse_value() local
148 char *value; in get_value() local
317 static int perf_parse_llong(const char *value, long long *ret) in perf_parse_llong()
332 static int perf_parse_long(const char *value, long *ret) in perf_parse_long()
354 int perf_config_u64(u64 *dest, const char *name, const char *value) in perf_config_u64()
367 int perf_config_int(int *dest, const char *name, const char *value) in perf_config_int()
378 int perf_config_u8(u8 *dest, const char *name, const char *value) in perf_config_u8()
390 static int perf_config_bool_or_int(const char *name, const char *value, int *is_bool) in perf_config_bool_or_int()
407 int perf_config_bool(const char *name, const char *value) in perf_config_bool()
413 static const char *perf_config_dirname(const char *name, const char *value) in perf_config_dirname()
[all …]
Dhashmap.h66 long value; member
133 #define hashmap__insert(map, key, value, strategy, old_key, old_value) \ argument
138 #define hashmap__add(map, key, value) \ argument
141 #define hashmap__set(map, key, value, old_key, old_value) \ argument
144 #define hashmap__update(map, key, value, old_key, old_value) \ argument
147 #define hashmap__append(map, key, value) \ argument
159 #define hashmap__find(map, key, value) \ argument
Dunits.c18 unsigned long int value; in parse_tag_value() local
36 double convert_unit_double(double value, char *unit) in convert_unit_double()
58 unsigned long convert_unit(unsigned long value, char *unit) in convert_unit()
Dcolor_config.c12 int perf_config_colorbool(const char *var, const char *value, int stdout_is_tty) in perf_config_colorbool()
39 int perf_color_default_config(const char *var, const char *value, in perf_color_default_config()
/tools/testing/selftests/bpf/prog_tests/
Dlookup_and_delete.c15 __u64 key, value = START_VALUE; in fill_values() local
29 __u64 key, value[nr_cpus]; in fill_values_percpu() local
79 __u64 value) in trigger_tp()
101 __u64 key, value; in test_lookup_and_delete_hash() local
137 __u64 key, val, value[nr_cpus]; in test_lookup_and_delete_percpu_hash() local
177 __u64 key, value; in test_lookup_and_delete_lru_hash() local
223 __u64 key, val, value[nr_cpus]; in test_lookup_and_delete_lru_percpu_hash() local
Dmap_init.c22 pcpu_map_value_t value[nr_cpus]; in map_populate() local
79 map_value_t value) in prog_run_insert_elem()
100 static int check_values_one_cpu(pcpu_map_value_t *value, map_value_t expected) in check_values_one_cpu()
131 pcpu_map_value_t value[nr_cpus]; in test_pcpu_map_init() local
171 pcpu_map_value_t value[nr_cpus]; in test_pcpu_lru_map_init() local
/tools/lib/api/fs/
Dfs.c292 int filename__read_int(const char *filename, int *value) in filename__read_int()
310 unsigned long long *value, int base) in filename__read_ull_base()
332 int filename__read_xll(const char *filename, unsigned long long *value) in filename__read_xll()
342 int filename__read_ull(const char *filename, unsigned long long *value) in filename__read_ull()
397 int filename__write_int(const char *filename, int value) in filename__write_int()
427 unsigned long long *value, int base) in sysfs__read_ull_base()
440 int sysfs__read_xll(const char *entry, unsigned long long *value) in sysfs__read_xll()
445 int sysfs__read_ull(const char *entry, unsigned long long *value) in sysfs__read_ull()
450 int sysfs__read_int(const char *entry, int *value) in sysfs__read_int()
476 int sysfs__read_bool(const char *entry, bool *value) in sysfs__read_bool()
[all …]
/tools/testing/selftests/bpf/
Dtest_lru_map.c43 void *value) in bpf_map_lookup_elem_with_ref_bit()
150 unsigned long long key, value[nr_cpus]; in test_lru_sanity0() local
241 unsigned long long key, end_key, value[nr_cpus]; in test_lru_sanity1() local
317 unsigned long long key, value[nr_cpus]; in test_lru_sanity2() local
424 unsigned long long key, end_key, value[nr_cpus]; in test_lru_sanity3() local
489 unsigned long long key, value[nr_cpus]; in test_lru_sanity4() local
547 unsigned long long key, value[nr_cpus]; in do_test_lru_sanity5() local
564 unsigned long long key, value[nr_cpus]; in test_lru_sanity5() local
612 unsigned long long key, value[nr_cpus]; in test_lru_sanity6() local
678 unsigned long long key, value[nr_cpus]; in test_lru_sanity7() local
[all …]
Dtest_maps.c39 long long key, next_key, first_key, value; in test_hashmap() local
271 long long key, value[VALUE_SIZE] = {}; in helper_fill_hashmap() local
293 long long key, value[VALUE_SIZE], next_key; in test_hashmap_walk() local
364 long long value; in test_arraymap() local
514 __u32 key, value; in test_devmap() local
528 __u32 key, value; in test_devmap_hash() local
670 __u32 key, value; in test_sockmap() local
1316 int fd, i, value; in test_map_large() local
1403 static int map_update_retriable(int map_fd, const void *key, const void *value, in map_update_retriable()
1444 int i, key, value, err; in test_update_delete() local
[all …]
Dtest_lpm_map.c215 uint8_t *data, *value; in test_lpm_map() local
340 __u64 value; in test_lpm_ipaddr() local
429 __u64 value; in test_lpm_delete() local
537 __u32 value = 0; in test_lpm_get_next_key() local
709 __u32 value = j; in lpm_test_command() local
716 __u32 value; in lpm_test_command() local
Dbench.h63 long value; member
84 static inline void atomic_inc(long *value) in atomic_inc()
89 static inline void atomic_add(long *value, long n) in atomic_add()
94 static inline long atomic_swap(long *value, long n) in atomic_swap()
/tools/power/x86/intel-speed-select/
Disst-display.c85 char *value) in format_and_print_txt()
112 static void format_and_print(FILE *outf, int level, char *header, char *value) in format_and_print()
203 char value[512]; in _isst_pbf_display_information() local
249 char value[256]; in _isst_fact_display_information() local
322 char value[256]; in isst_ctdp_display_core_info() local
342 char value[512]; in isst_ctdp_display_information() local
587 char value[256]; in isst_clos_display_information() local
630 char value[256]; in isst_clos_display_clos_information() local
672 char value[256]; in isst_clos_display_assoc_information() local
691 char value[256]; in isst_display_result() local
[all …]
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DCore.py20 def define_flag_value(event_name, field_name, value, field_str): argument
27 def define_symbolic_value(event_name, field_name, value, field_str): argument
30 def flag_str(event_name, field_name, value): argument
48 def symbol_str(event_name, field_name, value): argument
69 def trace_flag_str(value): argument
/tools/crypto/
Dgen_fips140_testvecs.py41 def is_string_value(value): argument
45 def format_value(value, is_string): argument
53 def print_value(name, value): argument
/tools/lib/bpf/
Dhashmap.h66 long value; member
133 #define hashmap__insert(map, key, value, strategy, old_key, old_value) \ argument
138 #define hashmap__add(map, key, value) \ argument
141 #define hashmap__set(map, key, value, old_key, old_value) \ argument
144 #define hashmap__update(map, key, value, old_key, old_value) \ argument
147 #define hashmap__append(map, key, value) \ argument
159 #define hashmap__find(map, key, value) \ argument
/tools/wmi/
Ddell-smbios-example.c53 static int find_token(__u16 token, __u16 *location, __u16 *value) in find_token()
112 __u16 value; in query_token() local
127 __u16 value; in activate_token() local
159 __u64 value = 0; in main() local
/tools/perf/
Dbuiltin-config.c89 char *value = item->value; in show_spec_config() local
112 char *value = item->value; in show_config() local
122 static int parse_config_arg(char *arg, char **var, char **value) in parse_config_arg()
213 char *var, *value; in cmd_config() local
/tools/testing/selftests/bpf/progs/
Dcb_refs.c18 static __noinline int cb1(void *map, void *key, void *value, void *ctx) in cb1()
40 static __always_inline int cb2(void *map, void *key, void *value, void *ctx) in cb2()
67 static __always_inline int cb(void *map, void *key, void *value, void *ctx) in cb()
72 static __always_inline int cb3(void *map, void *key, void *value, void *ctx) in cb3()
/tools/testing/selftests/cgroup/
Dtest_zswap.c16 static int read_int(const char *path, size_t *value) in read_int()
30 static int set_min_free_kb(size_t value) in set_min_free_kb()
43 static int read_min_free_kb(size_t *value) in read_min_free_kb()
48 static int get_zswap_stored_pages(size_t *value) in get_zswap_stored_pages()
53 static int get_zswap_written_back_pages(size_t *value) in get_zswap_written_back_pages()
/tools/testing/selftests/net/
Dhwtstamp_config.c24 int value; in lookup_value() local
34 lookup_name(const char **names, int size, int value) in lookup_name()
41 int value; in list_names() local
/tools/bpf/bpftool/
Dmap.c73 void *value) in do_dump_btf()
133 unsigned char *value, struct btf *btf) in print_entry_json()
248 unsigned char *value) in print_entry_plain()
327 static void fill_per_cpu_value(struct bpf_map_info *info, void *value) in fill_per_cpu_value()
341 void *key, void *value, __u32 key_size, __u32 value_size, in parse_elem()
742 static int dump_map_elem(int fd, void *key, void *value, in dump_map_elem()
826 void *key, *value, *prev_key; in map_dump() local
962 static int alloc_key_value(struct bpf_map_info *info, void **key, void **value) in alloc_key_value()
994 void *key, *value; in do_update() local
1032 void *value) in print_key_value()
[all …]
/tools/testing/selftests/sgx/
Ddefines.h39 uint64_t value; member
44 uint64_t value; member
49 uint64_t value; member
55 uint64_t value; member
/tools/testing/selftests/powerpc/pmu/ebb/
Dtrace.c87 int trace_log_reg(struct trace_buffer *tb, u64 reg, u64 value) in trace_log_reg()
104 int trace_log_counter(struct trace_buffer *tb, u64 value) in trace_log_counter()
202 u64 *p, *reg, *value; in trace_print_reg() local
218 u64 *value; in trace_print_counter() local
/tools/virtio/asm/
Dbarrier.h9 #define virt_store_mb(var, value) do { \ argument
24 #define virt_store_mb(var, value) do { WRITE_ONCE(var, value); dmb(ish); } while (0) argument

12345678910>>...12