Home
last modified time | relevance | path

Searched refs:is_native (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/x86/
H A Dtest_vsyscall.c481 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 Dbtf.c3077 bool is_native) in btf_ext_parse_sec_info()
3114 record_size = is_native ? *(__u32 *)info : bswap_32(*(__u32 *)info); in btf_ext_parse_info()
3116 (!is_native && record_size != ext_sec->min_rec_size) || in btf_ext_parse_info()
3143 num_records = is_native ? sinfo->num_info : bswap_32(sinfo->num_info); in btf_ext_parse_info()
3172 static int btf_ext_parse_info(struct btf_ext *btf_ext, bool is_native)
3195 err = btf_ext_parse_sec_info(btf_ext, &func_info, is_native); in btf_ext_bswap_info_sec()
3199 err = btf_ext_parse_sec_info(btf_ext, &line_info, is_native); in btf_ext_bswap_info_sec()
3208 err = btf_ext_parse_sec_info(btf_ext, &core_relo, is_native); in btf_ext_bswap_info()
3218 bool is_native = h->magic == BTF_MAGIC; in btf_ext_bswap_info()
3221 hdr_len = is_native in btf_ext_bswap_info()
3012 btf_ext_parse_sec_info(struct btf_ext * btf_ext,struct btf_ext_sec_info_param * ext_sec,bool is_native) btf_ext_parse_sec_info() argument
3107 btf_ext_parse_info(struct btf_ext * btf_ext,bool is_native) btf_ext_parse_info() argument
3153 bool is_native = h->magic == BTF_MAGIC; btf_ext_bswap_hdr() local
3173 btf_ext_bswap_info_sec(void * info,__u32 len,bool is_native,info_rec_bswap_fn bswap_fn) btf_ext_bswap_info_sec() argument
3210 const bool is_native = btf_ext->swapped_endian; btf_ext_bswap_info() local
[all...]