Home
last modified time | relevance | path

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

123456789

/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
136 __u64 key, val, value[nr_cpus]; in test_lookup_and_delete_percpu_hash() local
175 __u64 key, value; in test_lookup_and_delete_lru_hash() local
220 __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/perf/util/
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 …]
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()
Dhashmap.h48 void *value; member
117 const void *key, void *value) in hashmap__add()
123 const void *key, void *value, in hashmap__set()
131 const void *key, void *value, in hashmap__update()
139 const void *key, void *value) in hashmap__append()
Dperf_event_attr_fprintf.c15 static void __p_bits(char *buf, size_t size, u64 value, struct bit_names *bits) in __p_bits()
28 static void __p_sample_type(char *buf, size_t size, u64 value) in __p_sample_type()
46 static void __p_branch_sample_type(char *buf, size_t size, u64 value) in __p_branch_sample_type()
62 static void __p_read_format(char *buf, size_t size, u64 value) in __p_read_format()
/tools/testing/selftests/bpf/
Dtest_lru_map.c43 void *value) in bpf_map_lookup_elem_with_ref_bit()
161 unsigned long long key, value[nr_cpus]; in test_lru_sanity0() local
258 unsigned long long key, end_key, value[nr_cpus]; in test_lru_sanity1() local
334 unsigned long long key, value[nr_cpus]; in test_lru_sanity2() local
442 unsigned long long key, end_key, value[nr_cpus]; in test_lru_sanity3() local
507 unsigned long long key, value[nr_cpus]; in test_lru_sanity4() local
565 unsigned long long key, value[nr_cpus]; in do_test_lru_sanity5() local
583 unsigned long long key, value[nr_cpus]; in test_lru_sanity5() local
631 unsigned long long key, value[nr_cpus]; in test_lru_sanity6() local
697 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
272 long long key, value; in helper_fill_hashmap() local
294 long long key, value, next_key; in test_hashmap_walk() local
365 long long value; in test_arraymap() local
516 __u32 key, value; in test_devmap() local
531 __u32 key, value; in test_devmap_hash() local
678 __u32 key, value; in test_sockmap() local
1315 int fd, i, value; in test_map_large() local
1402 static int map_update_retriable(int map_fd, const void *key, const void *value, in map_update_retriable()
1443 int i, key, value, err; in test_update_delete() local
[all …]
Dbench.h50 long value; member
68 static inline void atomic_inc(long *value) in atomic_inc()
73 static inline void atomic_add(long *value, long n) in atomic_add()
78 static inline long atomic_swap(long *value, long n) in atomic_swap()
Dtest_lpm_map.c214 uint8_t *data, *value; in test_lpm_map() local
338 __u64 value; in test_lpm_ipaddr() local
429 __u64 value; in test_lpm_delete() local
540 __u32 value = 0; in test_lpm_get_next_key() local
719 __u32 value = j; in lpm_test_command() local
726 __u32 value; in lpm_test_command() local
/tools/lib/api/fs/
Dfs.c320 int filename__read_int(const char *filename, int *value) in filename__read_int()
338 unsigned long long *value, int base) in filename__read_ull_base()
360 int filename__read_xll(const char *filename, unsigned long long *value) in filename__read_xll()
370 int filename__read_ull(const char *filename, unsigned long long *value) in filename__read_ull()
425 int filename__write_int(const char *filename, int value) in filename__write_int()
455 unsigned long long *value, int base) in sysfs__read_ull_base()
468 int sysfs__read_xll(const char *entry, unsigned long long *value) in sysfs__read_xll()
473 int sysfs__read_ull(const char *entry, unsigned long long *value) in sysfs__read_ull()
478 int sysfs__read_int(const char *entry, int *value) in sysfs__read_int()
504 int sysfs__read_bool(const char *entry, bool *value) in sysfs__read_bool()
[all …]
/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()
196 char value[512]; in _isst_pbf_display_information() local
241 char value[256]; in _isst_fact_display_information() local
326 char value[256]; in isst_ctdp_display_core_info() local
360 char value[512]; in isst_ctdp_display_information() local
612 char value[256]; in isst_clos_display_information() local
655 char value[256]; in isst_clos_display_clos_information() local
697 char value[256]; in isst_clos_display_assoc_information() local
716 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/perf/
Dbuiltin-config.c88 char *value = item->value; in show_spec_config() local
111 char *value = item->value; in show_config() local
121 static int parse_config_arg(char *arg, char **var, char **value) in parse_config_arg()
211 char *var, *value; in cmd_config() local
/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/testing/selftests/net/
Dhwtstamp_config.c22 int value; in lookup_value() local
32 lookup_name(const char **names, int size, int value) in lookup_name()
39 int value; in list_names() local
/tools/lib/bpf/
Dhashmap.h48 void *value; member
117 const void *key, void *value) in hashmap__add()
123 const void *key, void *value, in hashmap__set()
131 const void *key, void *value, in hashmap__update()
139 const void *key, void *value) in hashmap__append()
/tools/bpf/bpftool/
Dmap.c100 void *value) in do_dump_btf()
160 unsigned char *value, struct btf *btf) in print_entry_json()
272 unsigned char *value) in print_entry_plain()
346 static void fill_per_cpu_value(struct bpf_map_info *info, void *value) in fill_per_cpu_value()
360 void *key, void *value, __u32 key_size, __u32 value_size, in parse_elem()
748 static int dump_map_elem(int fd, void *key, void *value, in dump_map_elem()
837 void *key, *value, *prev_key; in map_dump() local
970 static int alloc_key_value(struct bpf_map_info *info, void **key, void **value) in alloc_key_value()
1002 void *key, *value; in do_update() local
1040 void *value) in print_key_value()
[all …]
/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
/tools/testing/selftests/bpf/progs/
Dtest_ringbuf_multi.c12 long value; member
47 long value = 0; variable
Dtest_ringbuf.c12 long value; member
22 long value = 0; variable
/tools/testing/selftests/mqueue/
Dmq_open_tests.c71 static inline void __set(FILE *stream, int value, char *err_msg) in __set()
120 int value; in get() local
127 static inline void set(FILE *stream, int value) in set()

123456789