Searched refs:is_native (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/testing/selftests/x86/ |
| H A D | test_vsyscall.c | 481 bool is_native; in test_emulation() local 502 is_native = (num_vsyscall_traps > 1); in test_emulation() 504 ksft_test_result(!is_native, "vsyscalls are %s (%d instructions in vsyscall page)\n", in test_emulation() 505 (is_native ? "native" : "emulated"), (int)num_vsyscall_traps); in test_emulation()
|
| /linux/tools/lib/bpf/ |
| H A D | btf.c | 3363 bool is_native) in btf_ext_parse_sec_info() argument 3400 record_size = is_native ? *(__u32 *)info : bswap_32(*(__u32 *)info); in btf_ext_parse_sec_info() 3402 (!is_native && record_size != ext_sec->min_rec_size) || in btf_ext_parse_sec_info() 3429 num_records = is_native ? sinfo->num_info : bswap_32(sinfo->num_info); in btf_ext_parse_sec_info() 3458 static int btf_ext_parse_info(struct btf_ext *btf_ext, bool is_native) in btf_ext_parse_info() argument 3481 err = btf_ext_parse_sec_info(btf_ext, &func_info, is_native); in btf_ext_parse_info() 3485 err = btf_ext_parse_sec_info(btf_ext, &line_info, is_native); in btf_ext_parse_info() 3494 err = btf_ext_parse_sec_info(btf_ext, &core_relo, is_native); in btf_ext_parse_info() 3504 bool is_native = h->magic == BTF_MAGIC; in btf_ext_bswap_hdr() local 3507 hdr_len = is_native ? h->hdr_len : bswap_32(h->hdr_len); in btf_ext_bswap_hdr() [all …]
|