Home
last modified time | relevance | path

Searched refs:func_id (Results 1 – 6 of 6) sorted by relevance

/tools/testing/selftests/kvm/arm64/
A Dsmccc_filter.c28 static void guest_main(uint32_t func_id, enum smccc_conduit conduit) in guest_main() argument
33 smccc_smc(func_id, 0, 0, 0, 0, 0, 0, 0, &res); in guest_main()
35 smccc_hvc(func_id, 0, 0, 0, 0, 0, 0, 0, &res); in guest_main()
207 static void expect_call_fwd_to_user(struct kvm_vcpu *vcpu, uint32_t func_id, in expect_call_fwd_to_user() argument
214 TEST_ASSERT(run->hypercall.nr == func_id, in expect_call_fwd_to_user()
A Dhypercalls.c62 uint32_t func_id; member
68 .func_id = f, \
111 smccc_hvc(hc_info->func_id, hc_info->arg1, 0, 0, 0, 0, 0, 0, &res); in guest_test_hvc()
118 res.a0, hc_info->func_id, hc_info->arg1, stage); in guest_test_hvc()
123 res.a0, hc_info->func_id, hc_info->arg1, stage); in guest_test_hvc()
A Dpsci_test.c66 static uint64_t psci_features(uint32_t func_id) in psci_features() argument
70 smccc_hvc(PSCI_1_0_FN_PSCI_FEATURES, func_id, 0, 0, 0, 0, 0, 0, &res); in psci_features()
/tools/testing/selftests/bpf/
A Dtest_loader.c408 int func_id, i, err = 0; in parse_test_spec() local
425 func_id = btf__find_by_name_kind(btf, spec->prog_name, BTF_KIND_FUNC); in parse_test_spec()
426 if (func_id < 0) { in parse_test_spec()
441 if (t->type != func_id || btf_decl_tag(t)->component_idx != -1) in parse_test_spec()
/tools/testing/selftests/bpf/progs/
A Dprofiler.inc.h444 enum bpf_function_id func_id) in bpf_stats_enter() argument
446 int func_id_key = func_id; in bpf_stats_enter()
/tools/lib/bpf/
A Dlibbpf.c7356 static bool insn_is_helper_call(struct bpf_insn *insn, enum bpf_func_id *func_id) in insn_is_helper_call() argument
7363 *func_id = insn->imm; in insn_is_helper_call()
7372 enum bpf_func_id func_id; in bpf_object__sanitize_prog() local
7379 if (!insn_is_helper_call(insn, &func_id)) in bpf_object__sanitize_prog()
7386 switch (func_id) { in bpf_object__sanitize_prog()

Completed in 669 milliseconds