Searched refs:rw_header (Results 1 - 4 of 4) sorted by last modified time

/linux-master/kernel/bpf/
H A Dcore.c1134 struct bpf_binary_header **rw_header,
1155 *rw_header = kvmalloc(size, GFP_KERNEL);
1156 if (!*rw_header) {
1163 bpf_fill_ill_insns(*rw_header, size);
1164 (*rw_header)->size = size;
1171 *rw_image = &(*rw_header)->image[start];
1176 /* Copy JITed text from rw_header to its final location, the ro_header. */
1179 struct bpf_binary_header *rw_header)
1183 ptr = bpf_arch_text_copy(ro_header, rw_header, rw_header
1132 bpf_jit_binary_pack_alloc(unsigned int proglen, u8 **image_ptr, unsigned int alignment, struct bpf_binary_header **rw_header, u8 **rw_image, bpf_jit_fill_hole_t bpf_fill_ill_insns) argument
1177 bpf_jit_binary_pack_finalize(struct bpf_prog *prog, struct bpf_binary_header *ro_header, struct bpf_binary_header *rw_header) argument
1204 bpf_jit_binary_pack_free(struct bpf_binary_header *ro_header, struct bpf_binary_header *rw_header) argument
[all...]
/linux-master/include/linux/
H A Dfilter.h1134 struct bpf_binary_header *rw_header);
1136 struct bpf_binary_header *rw_header);
/linux-master/arch/x86/net/
H A Dbpf_jit_comp.c3213 struct bpf_binary_header *rw_header; member in struct:x64_jit_data
3226 struct bpf_binary_header *rw_header = NULL; local
3271 rw_header = jit_data->rw_header;
3272 rw_image = (void *)rw_header + ((void *)image - (void *)header);
3308 bpf_arch_text_copy(&header->size, &rw_header->size,
3309 sizeof(rw_header->size));
3310 bpf_jit_binary_pack_free(header, rw_header);
3342 &image, align, &rw_header, &rw_image,
3366 if (WARN_ON(bpf_jit_binary_pack_finalize(prog, header, rw_header))) {
[all...]
/linux-master/drivers/md/
H A Ddm-log.c299 static int rw_header(struct log_c *lc, enum req_op op) function
323 r = rw_header(log, REQ_OP_READ);
638 r = rw_header(lc, REQ_OP_WRITE);
710 r = rw_header(lc, REQ_OP_WRITE);

Completed in 178 milliseconds