Home
last modified time | relevance | path

Searched refs:prog_array (Results 1 – 4 of 4) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dtailcalls.c11 struct bpf_map *prog_array; in test_tailcall_1() local
31 prog_array = bpf_object__find_map_by_name(obj, "jmp_table"); in test_tailcall_1()
32 if (CHECK_FAIL(!prog_array)) in test_tailcall_1()
35 map_fd = bpf_map__fd(prog_array); in test_tailcall_1()
39 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_1()
55 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_1()
71 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_1()
92 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_1()
93 j = bpf_map__def(prog_array)->max_entries - 1 - i; in test_tailcall_1()
109 for (i = 0; i < bpf_map__def(prog_array)->max_entries; i++) { in test_tailcall_1()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dflow_dissector_load.h17 struct bpf_map *prog_array, *keys; in bpf_flow_load() local
34 prog_array = bpf_object__find_map_by_name(*obj, map_name); in bpf_flow_load()
35 if (!prog_array) in bpf_flow_load()
38 prog_array_fd = bpf_map__fd(prog_array); in bpf_flow_load()
/external/arm-trusted-firmware/drivers/brcm/
Dsotp.c139 uint8_t prog_array[4] = { 0x0F, 0x04, 0x08, 0x0D }; in sotp_mem_write()
199 mmio_write_32(SOTP_WRDATA_0, prog_array[loop]); in sotp_mem_write()
/external/bcc/docs/
Dreference_guide.md795 BPF_PROG_ARRAY(prog_array, 10);
804 prog_array.call(ctx, 2);
812 prog_array = b.get_table("prog_array")
813 prog_array[c_int(2)] = c_int(tail_fn.fd)
817 This assigns ```tail_call()``` to ```prog_array[2]```. In the end of ```do_tail_call()```, ```prog_…