Home
last modified time | relevance | path

Searched refs:in_batch (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dbpf.c454 static int bpf_map_batch_common(int cmd, int fd, void *in_batch, in bpf_map_batch_common() argument
467 attr.batch.in_batch = ptr_to_u64(in_batch); in bpf_map_batch_common()
488 int bpf_map_lookup_batch(int fd, void *in_batch, void *out_batch, void *keys, in bpf_map_lookup_batch() argument
492 return bpf_map_batch_common(BPF_MAP_LOOKUP_BATCH, fd, in_batch, in bpf_map_lookup_batch()
496 int bpf_map_lookup_and_delete_batch(int fd, void *in_batch, void *out_batch, in bpf_map_lookup_and_delete_batch() argument
501 fd, in_batch, out_batch, keys, values, in bpf_map_lookup_and_delete_batch()
H A Dbpf.h141 LIBBPF_API int bpf_map_lookup_batch(int fd, void *in_batch, void *out_batch,
144 LIBBPF_API int bpf_map_lookup_and_delete_batch(int fd, void *in_batch,
/OK3568_Linux_fs/kernel/drivers/vhost/
H A Dvdpa.c49 int in_batch; member
127 v->in_batch = 0; in vhost_vdpa_reset()
582 if (!v->in_batch) in vhost_vdpa_map()
608 if (!v->in_batch) in vhost_vdpa_unmap()
770 v->in_batch = true; in vhost_vdpa_process_iotlb_msg()
773 if (v->in_batch && ops->set_map) in vhost_vdpa_process_iotlb_msg()
775 v->in_batch = false; in vhost_vdpa_process_iotlb_msg()
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbpf.h518 __aligned_u64 in_batch; /* start batch, member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbpf.h518 __aligned_u64 in_batch; /* start batch, member
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dhashtab.c1377 void *ubatch = u64_to_user_ptr(attr->batch.in_batch); in __htab_map_lookup_and_delete_batch()
H A Dsyscall.c1390 void __user *ubatch = u64_to_user_ptr(attr->batch.in_batch); in generic_map_lookup_batch()