Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/x86/net/
A Dbpf_jit_comp.c2431 struct bpf_binary_header *rw_header; member
2444 struct bpf_binary_header *rw_header = NULL; in bpf_int_jit_compile() local
2489 rw_header = jit_data->rw_header; in bpf_int_jit_compile()
2490 rw_image = (void *)rw_header + ((void *)image - (void *)header); in bpf_int_jit_compile()
2526 bpf_arch_text_copy(&header->size, &rw_header->size, in bpf_int_jit_compile()
2527 sizeof(rw_header->size)); in bpf_int_jit_compile()
2528 bpf_jit_binary_pack_free(header, rw_header); in bpf_int_jit_compile()
2560 &image, align, &rw_header, &rw_image, in bpf_int_jit_compile()
2584 if (WARN_ON(bpf_jit_binary_pack_finalize(prog, header, rw_header))) { in bpf_int_jit_compile()
2597 jit_data->rw_header = rw_header; in bpf_int_jit_compile()
[all …]
/linux-6.3-rc2/drivers/md/
A Ddm-log.c299 static int rw_header(struct log_c *lc, enum req_op op) in rw_header() function
323 r = rw_header(log, REQ_OP_READ); in read_header()
638 r = rw_header(lc, REQ_OP_WRITE); in disk_resume()
710 r = rw_header(lc, REQ_OP_WRITE); in disk_flush()
/linux-6.3-rc2/kernel/bpf/
A Dcore.c1066 struct bpf_binary_header **rw_header, in bpf_jit_binary_pack_alloc() argument
1087 *rw_header = kvmalloc(size, GFP_KERNEL); in bpf_jit_binary_pack_alloc()
1088 if (!*rw_header) { in bpf_jit_binary_pack_alloc()
1096 bpf_fill_ill_insns(*rw_header, size); in bpf_jit_binary_pack_alloc()
1097 (*rw_header)->size = size; in bpf_jit_binary_pack_alloc()
1104 *rw_image = &(*rw_header)->image[start]; in bpf_jit_binary_pack_alloc()
1112 struct bpf_binary_header *rw_header) in bpf_jit_binary_pack_finalize() argument
1116 ptr = bpf_arch_text_copy(ro_header, rw_header, rw_header->size); in bpf_jit_binary_pack_finalize()
1118 kvfree(rw_header); in bpf_jit_binary_pack_finalize()
1138 struct bpf_binary_header *rw_header) in bpf_jit_binary_pack_free() argument
[all …]
/linux-6.3-rc2/include/linux/
A Dfilter.h1057 struct bpf_binary_header *rw_header);
1059 struct bpf_binary_header *rw_header);

Completed in 17 milliseconds