Searched refs:load_attr (Results 1 – 7 of 7) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_stub.c | 30 struct bpf_load_program_attr load_attr; in bpf_test_load_program() local 32 memset(&load_attr, 0, sizeof(struct bpf_load_program_attr)); in bpf_test_load_program() 33 load_attr.prog_type = type; in bpf_test_load_program() 34 load_attr.expected_attach_type = 0; in bpf_test_load_program() 35 load_attr.name = NULL; in bpf_test_load_program() 36 load_attr.insns = insns; in bpf_test_load_program() 37 load_attr.insns_cnt = insns_cnt; in bpf_test_load_program() 38 load_attr.license = license; in bpf_test_load_program() 39 load_attr.kern_version = kern_version; in bpf_test_load_program() 40 load_attr.prog_flags = BPF_F_TEST_RND_HI32; in bpf_test_load_program() [all …]
|
D | test_sock_addr.c | 644 struct bpf_load_program_attr load_attr; in load_insns() local 647 memset(&load_attr, 0, sizeof(struct bpf_load_program_attr)); in load_insns() 648 load_attr.prog_type = BPF_PROG_TYPE_CGROUP_SOCK_ADDR; in load_insns() 649 load_attr.expected_attach_type = test->expected_attach_type; in load_insns() 650 load_attr.insns = insns; in load_insns() 651 load_attr.insns_cnt = insns_cnt; in load_insns() 652 load_attr.license = "GPL"; in load_insns() 654 ret = bpf_load_program_xattr(&load_attr, bpf_log_buf, BPF_LOG_BUF_SIZE); in load_insns()
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | fexit_stress.c | 23 struct bpf_load_program_attr load_attr = { in test_fexit_stress() local 44 load_attr.expected_attach_type); in test_fexit_stress() 47 load_attr.attach_btf_id = err; in test_fexit_stress() 50 fexit_fd[i] = bpf_load_program_xattr(&load_attr, error, sizeof(error)); in test_fexit_stress()
|
D | raw_tp_writable_reject_nbd_invalid.c | 21 struct bpf_load_program_attr load_attr = { in test_raw_tp_writable_reject_nbd_invalid() local 29 bpf_fd = bpf_load_program_xattr(&load_attr, error, sizeof(error)); in test_raw_tp_writable_reject_nbd_invalid()
|
D | raw_tp_writable_test_run.c | 19 struct bpf_load_program_attr load_attr = { in test_raw_tp_writable_test_run() local 27 int bpf_fd = bpf_load_program_xattr(&load_attr, error, sizeof(error)); in test_raw_tp_writable_test_run()
|
D | core_reloc.c | 468 struct bpf_object_load_attr load_attr = {}; in test_core_reloc() local 510 load_attr.obj = obj; in test_core_reloc() 511 load_attr.log_level = 0; in test_core_reloc() 512 load_attr.target_btf_path = test_case->btf_src_file; in test_core_reloc() 513 err = bpf_object__load_xattr(&load_attr); in test_core_reloc()
|
/external/arm-trusted-firmware/plat/hisilicon/hikey/ |
D | hisi_mcu.c | 40 char load_attr; member 96 (sec->load_attr >= MCU_IMAGE_SEC_LOAD_BUTT)) in is_binary_section_invalid() 181 if (head->secs[i].load_attr != MCU_IMAGE_SEC_LOAD_STATIC) in hisi_mcu_load_image()
|