Home
last modified time | relevance | path

Searched refs:rw_header (Results 1 – 4 of 4) 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()
645 r = rw_header(lc, REQ_OP_WRITE); in disk_resume()
717 r = rw_header(lc, REQ_OP_WRITE); in disk_flush()
/linux/kernel/bpf/
H A Dcore.c1203 struct bpf_binary_header **rw_header, in bpf_jit_binary_pack_alloc()
1225 *rw_header = kvmalloc(size, GFP_KERNEL); in bpf_jit_binary_pack_alloc()
1226 if (!*rw_header) { in bpf_jit_binary_pack_alloc()
1233 bpf_fill_ill_insns(*rw_header, size); in bpf_jit_binary_pack_alloc()
1234 (*rw_header)->size = size; in bpf_jit_binary_pack_alloc()
1241 *rw_image = &(*rw_header)->image[start]; in bpf_jit_binary_pack_finalize()
1246 /* Copy JITed text from rw_header to its final location, the ro_header. */ in bpf_jit_binary_pack_finalize()
1248 struct bpf_binary_header *rw_header) in bpf_jit_binary_pack_finalize()
1252 ptr = bpf_arch_text_copy(ro_header, rw_header, rw_header in bpf_jit_binary_pack_finalize()
1195 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,bool was_classic) bpf_jit_binary_pack_alloc() argument
1240 bpf_jit_binary_pack_finalize(struct bpf_binary_header * ro_header,struct bpf_binary_header * rw_header) bpf_jit_binary_pack_finalize() argument
1266 bpf_jit_binary_pack_free(struct bpf_binary_header * ro_header,struct bpf_binary_header * rw_header) bpf_jit_binary_pack_free() argument
[all...]
/linux/arch/x86/net/
H A Dbpf_jit_comp.c4825 struct bpf_binary_header *rw_header;
4838 struct bpf_binary_header *rw_header = NULL;
4884 rw_header = jit_data->rw_header;
4885 rw_image = (void *)rw_header + ((void *)image - (void *)header);
4939 bpf_arch_text_copy(&header->size, &rw_header->size,
4940 sizeof(rw_header->size));
4941 bpf_jit_binary_pack_free(header, rw_header);
4973 &image, align, &rw_header, &rw_image,
4996 if (WARN_ON(bpf_jit_binary_pack_finalize(header, rw_header))) {
3959 struct bpf_binary_header *rw_header; global() member
3972 struct bpf_binary_header *rw_header = NULL; bpf_int_jit_compile() local
[all...]
/linux/include/linux/
H A Dfilter.h1496 struct bpf_binary_header *rw_header);
1498 struct bpf_binary_header *rw_header); in ebpf_jit_enabled()