Searched refs:stat_name (Results 1 – 3 of 3) sorted by relevance
/tools/testing/selftests/bpf/ |
D | veristat.c | 722 static int parse_stat(const char *stat_name, struct stat_specs *specs) in parse_stat() argument 726 size_t len = strlen(stat_name); in parse_stat() 734 if (len > 1 && (is_asc_sym(stat_name[len - 1]) || is_desc_sym(stat_name[len - 1]))) { in parse_stat() 736 is_asc = is_asc_sym(stat_name[len - 1]); in parse_stat() 740 if (!parse_stat_id_var(stat_name, len, &id, &var)) { in parse_stat() 741 fprintf(stderr, "Unrecognized stat name '%s'\n", stat_name); in parse_stat()
|
/tools/testing/selftests/kvm/include/ |
D | kvm_util_base.h | 421 void __vm_get_stat(struct kvm_vm *vm, const char *stat_name, uint64_t *data, 424 static inline uint64_t vm_get_stat(struct kvm_vm *vm, const char *stat_name) in vm_get_stat() argument 428 __vm_get_stat(vm, stat_name, &data, 1); in vm_get_stat()
|
/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 2135 void __vm_get_stat(struct kvm_vm *vm, const char *stat_name, uint64_t *data, in __vm_get_stat() argument 2154 if (strcmp(desc->name, stat_name)) in __vm_get_stat()
|