Searched refs:ro_header (Results 1 – 4 of 4) sorted by relevance
| /Linux-v6.6/arch/riscv/net/ |
| D | bpf_jit_core.c | 122 jit_data->ro_header = in bpf_int_jit_compile() 127 if (!jit_data->ro_header) { in bpf_int_jit_compile() 178 if (WARN_ON(bpf_jit_binary_pack_finalize(prog, jit_data->ro_header, in bpf_int_jit_compile() 181 jit_data->ro_header = NULL; in bpf_int_jit_compile() 191 bpf_flush_icache(jit_data->ro_header, ctx->ro_insns + ctx->ninsns); in bpf_int_jit_compile() 209 bpf_arch_text_copy(&jit_data->ro_header->size, &jit_data->header->size, in bpf_int_jit_compile() 211 bpf_jit_binary_pack_free(jit_data->ro_header, jit_data->header); in bpf_int_jit_compile() 271 bpf_jit_binary_pack_finalize(prog, jit_data->ro_header, jit_data->header); in bpf_jit_free()
|
| D | bpf_jit.h | 89 struct bpf_binary_header *ro_header; member
|
| /Linux-v6.6/kernel/bpf/ |
| D | core.c | 1080 struct bpf_binary_header *ro_header; in bpf_jit_binary_pack_alloc() local 1087 size = round_up(proglen + sizeof(*ro_header) + 16, BPF_PROG_CHUNK_SIZE); in bpf_jit_binary_pack_alloc() 1091 ro_header = bpf_prog_pack_alloc(size, bpf_fill_ill_insns); in bpf_jit_binary_pack_alloc() 1092 if (!ro_header) { in bpf_jit_binary_pack_alloc() 1099 bpf_arch_text_copy(&ro_header->size, &size, sizeof(size)); in bpf_jit_binary_pack_alloc() 1100 bpf_prog_pack_free(ro_header); in bpf_jit_binary_pack_alloc() 1109 hole = min_t(unsigned int, size - (proglen + sizeof(*ro_header)), in bpf_jit_binary_pack_alloc() 1110 BPF_PROG_CHUNK_SIZE - sizeof(*ro_header)); in bpf_jit_binary_pack_alloc() 1113 *image_ptr = &ro_header->image[start]; in bpf_jit_binary_pack_alloc() 1116 return ro_header; in bpf_jit_binary_pack_alloc() [all …]
|
| /Linux-v6.6/include/linux/ |
| D | filter.h | 1047 struct bpf_binary_header *ro_header, 1049 void bpf_jit_binary_pack_free(struct bpf_binary_header *ro_header,
|