Home
last modified time | relevance | path

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

/linux/drivers/md/
H 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/kernel/bpf/
H A Dcore.c1132 struct bpf_binary_header **rw_header, in bpf_jit_binary_pack_alloc() argument
1153 *rw_header = kvmalloc(size, GFP_KERNEL); in bpf_jit_binary_pack_alloc()
1154 if (!*rw_header) { in bpf_jit_binary_pack_alloc()
1161 bpf_fill_ill_insns(*rw_header, size); in bpf_jit_binary_pack_alloc()
1162 (*rw_header)->size = size; in bpf_jit_binary_pack_alloc()
1169 *rw_image = &(*rw_header)->image[start]; in bpf_jit_binary_pack_alloc()
1176 struct bpf_binary_header *rw_header) in bpf_jit_binary_pack_finalize() argument
1180 ptr = bpf_arch_text_copy(ro_header, rw_header, rw_header->size); in bpf_jit_binary_pack_finalize()
1182 kvfree(rw_header); in bpf_jit_binary_pack_finalize()
1202 struct bpf_binary_header *rw_header) in bpf_jit_binary_pack_free() argument
[all …]
/linux/arch/x86/net/
H A Dbpf_jit_comp.c3705 struct bpf_binary_header *rw_header; member
3718 struct bpf_binary_header *rw_header = NULL; in bpf_int_jit_compile() local
3782 rw_header = jit_data->rw_header; in bpf_int_jit_compile()
3783 rw_image = (void *)rw_header + ((void *)image - (void *)header); in bpf_int_jit_compile()
3819 bpf_arch_text_copy(&header->size, &rw_header->size, in bpf_int_jit_compile()
3820 sizeof(rw_header->size)); in bpf_int_jit_compile()
3821 bpf_jit_binary_pack_free(header, rw_header); in bpf_int_jit_compile()
3853 &image, align, &rw_header, &rw_image, in bpf_int_jit_compile()
3877 if (WARN_ON(bpf_jit_binary_pack_finalize(header, rw_header))) { in bpf_int_jit_compile()
3890 jit_data->rw_header = rw_header; in bpf_int_jit_compile()
[all …]