Searched refs:finfo (Results 1 – 7 of 7) sorted by relevance
| /tools/testing/selftests/x86/ |
| A D | xstate.c | 125 finfo->valid = true; in check_xstate() 135 if (finfo->valid) { in check_xstate() 152 return finfo; in check_xstate() 162 finfo[i].nr = i; in create_threads() 173 finfo[i].next = &finfo[next_nr]; in create_threads() 175 if (pthread_create(&finfo[i].thread, NULL, check_xstate, &finfo[i])) in create_threads() 196 valid &= finfo[i].valid; in checkout_threads() 215 struct futex_info *finfo; in test_context_switch() local 223 finfo = malloc(sizeof(*finfo) * num_threads); in test_context_switch() 224 if (!finfo) in test_context_switch() [all …]
|
| /tools/testing/selftests/mm/ |
| A D | khugepaged.c | 74 static struct file_info finfo; variable 136 finfo.dir = dir; in get_finfo() 142 if (snprintf(finfo.path, sizeof(finfo.path), "%s/" TEST_FILE, in get_finfo() 143 finfo.dir) >= sizeof(finfo.path)) { in get_finfo() 392 finfo.fd = open(finfo.path, O_RDONLY, 777); in file_setup_area() 393 if (finfo.fd < 0) { in file_setup_area() 413 close(finfo.fd); in file_cleanup_area() 414 unlink(finfo.path); in file_cleanup_area() 427 switch (finfo.type) { in file_check_huge() 444 if (finfo.fd < 0) { in shmem_setup_area() [all …]
|
| /tools/bpf/bpftool/ |
| A D | common.c | 416 struct bpf_func_info finfo = {}; in get_prog_full_name() local 430 if (info.func_info_rec_size > sizeof(finfo)) in get_prog_full_name() 431 info.func_info_rec_size = sizeof(finfo); in get_prog_full_name() 432 info.func_info = ptr_to_u64(&finfo); in get_prog_full_name() 441 func_type = btf__type_by_id(prog_btf, finfo.type_id); in get_prog_full_name()
|
| A D | btf_dumper.c | 41 struct bpf_func_info finfo; in dump_prog_id_as_func_ptr() local 71 info.func_info = ptr_to_u64(&finfo); in dump_prog_id_as_func_ptr() 80 func_type = btf__type_by_id(prog_btf, finfo.type_id); in dump_prog_id_as_func_ptr()
|
| /tools/lib/bpf/ |
| A D | bpf.c | 242 void *finfo = NULL, *linfo = NULL; in bpf_prog_load() local 331 while (errno == E2BIG && (!finfo || !linfo)) { in bpf_prog_load() 332 if (!finfo && attr.func_info_cnt && in bpf_prog_load() 335 finfo = alloc_zero_tailing_info(func_info, in bpf_prog_load() 339 if (!finfo) { in bpf_prog_load() 344 attr.func_info = ptr_to_u64(finfo); in bpf_prog_load() 383 free(finfo); in bpf_prog_load()
|
| /tools/perf/util/ |
| A D | bpf-event.c | 138 const struct bpf_func_info *finfo; in synthesize_bpf_prog_name() local 147 finfo = func_infos + sub_id * info->func_info_rec_size; in synthesize_bpf_prog_name() 148 t = btf__type_by_id(btf, finfo->type_id); in synthesize_bpf_prog_name()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | btf.c | 4835 struct bpf_func_info *finfo; in do_test_file() local 4957 finfo = func_info; in do_test_file() 4962 t = btf__type_by_id(btf, finfo->type_id); in do_test_file() 4964 finfo->type_id)) { in do_test_file() 4981 finfo = (void *)finfo + rec_size; in do_test_file() 6542 struct bpf_func_info *finfo; in test_get_finfo() local 6599 finfo = func_info; in test_get_finfo() 6603 if (CHECK(finfo->type_id != test->func_info[i][1], in test_get_finfo() 6605 finfo->type_id, test->func_info[i][1])) { in test_get_finfo() 6609 finfo = (void *)finfo + rec_size; in test_get_finfo()
|
Completed in 31 milliseconds