Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/vhost/
Dvdpa.c59 int in_batch; member
213 v->in_batch = 0; in vhost_vdpa_reset()
776 if (!v->in_batch) in vhost_vdpa_map()
806 if (!v->in_batch) in vhost_vdpa_unmap()
815 if (!v->in_batch && !iotlb->nmaps) in vhost_vdpa_unmap()
1047 if ((v->in_batch && v->batch_asid != asid) || !iotlb) { in vhost_vdpa_process_iotlb_msg()
1048 if (v->in_batch && v->batch_asid != asid) { in vhost_vdpa_process_iotlb_msg()
1067 v->in_batch = true; in vhost_vdpa_process_iotlb_msg()
1070 if (v->in_batch && ops->set_map) in vhost_vdpa_process_iotlb_msg()
1072 v->in_batch = false; in vhost_vdpa_process_iotlb_msg()
/Linux-v6.1/tools/lib/bpf/
Dbpf.c517 static int bpf_map_batch_common(int cmd, int fd, void *in_batch, in bpf_map_batch_common() argument
531 attr.batch.in_batch = ptr_to_u64(in_batch); in bpf_map_batch_common()
552 int bpf_map_lookup_batch(int fd, void *in_batch, void *out_batch, void *keys, in bpf_map_lookup_batch() argument
556 return bpf_map_batch_common(BPF_MAP_LOOKUP_BATCH, fd, in_batch, in bpf_map_lookup_batch()
560 int bpf_map_lookup_and_delete_batch(int fd, void *in_batch, void *out_batch, in bpf_map_lookup_and_delete_batch() argument
565 fd, in_batch, out_batch, keys, values, in bpf_map_lookup_and_delete_batch()
Dbpf.h197 LIBBPF_API int bpf_map_lookup_batch(int fd, void *in_batch, void *out_batch,
223 LIBBPF_API int bpf_map_lookup_and_delete_batch(int fd, void *in_batch,
/Linux-v6.1/tools/include/uapi/linux/
Dbpf.h1342 __aligned_u64 in_batch; /* start batch, member
/Linux-v6.1/include/uapi/linux/
Dbpf.h1342 __aligned_u64 in_batch; /* start batch, member
/Linux-v6.1/kernel/bpf/
Dhashtab.c1664 void __user *ubatch = u64_to_user_ptr(attr->batch.in_batch); in __htab_map_lookup_and_delete_batch()
Dsyscall.c1680 void __user *ubatch = u64_to_user_ptr(attr->batch.in_batch); in generic_map_lookup_batch()