Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/net/
Dbpf_jit_comp.c2339 struct bpf_binary_header *rw_header; member
2352 struct bpf_binary_header *rw_header = NULL; in bpf_int_jit_compile() local
2397 rw_header = jit_data->rw_header; in bpf_int_jit_compile()
2398 rw_image = (void *)rw_header + ((void *)image - (void *)header); in bpf_int_jit_compile()
2434 bpf_arch_text_copy(&header->size, &rw_header->size, in bpf_int_jit_compile()
2435 sizeof(rw_header->size)); in bpf_int_jit_compile()
2436 bpf_jit_binary_pack_free(header, rw_header); in bpf_int_jit_compile()
2468 &image, align, &rw_header, &rw_image, in bpf_int_jit_compile()
2492 if (WARN_ON(bpf_jit_binary_pack_finalize(prog, header, rw_header))) { in bpf_int_jit_compile()
2505 jit_data->rw_header = rw_header; in bpf_int_jit_compile()
[all …]
/linux-6.1.9/drivers/md/
Ddm-log.c294 static int rw_header(struct log_c *lc, enum req_op op) in rw_header() function
318 r = rw_header(log, REQ_OP_READ); in read_header()
631 r = rw_header(lc, REQ_OP_WRITE); in disk_resume()
699 r = rw_header(lc, REQ_OP_WRITE); in disk_flush()
/linux-6.1.9/kernel/bpf/
Dcore.c1062 struct bpf_binary_header **rw_header, in bpf_jit_binary_pack_alloc() argument
1083 *rw_header = kvmalloc(size, GFP_KERNEL); in bpf_jit_binary_pack_alloc()
1084 if (!*rw_header) { in bpf_jit_binary_pack_alloc()
1092 bpf_fill_ill_insns(*rw_header, size); in bpf_jit_binary_pack_alloc()
1093 (*rw_header)->size = size; in bpf_jit_binary_pack_alloc()
1100 *rw_image = &(*rw_header)->image[start]; in bpf_jit_binary_pack_alloc()
1108 struct bpf_binary_header *rw_header) in bpf_jit_binary_pack_finalize() argument
1112 ptr = bpf_arch_text_copy(ro_header, rw_header, rw_header->size); in bpf_jit_binary_pack_finalize()
1114 kvfree(rw_header); in bpf_jit_binary_pack_finalize()
1134 struct bpf_binary_header *rw_header) in bpf_jit_binary_pack_free() argument
[all …]
/linux-6.1.9/include/linux/
Dfilter.h1057 struct bpf_binary_header *rw_header);
1059 struct bpf_binary_header *rw_header);