Home
last modified time | relevance | path

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

/openbmc/linux/drivers/vhost/
H A Dvdpa.c59 int in_batch; member
215 v->in_batch = 0; in vhost_vdpa_reset()
906 if (!v->in_batch) in vhost_vdpa_map()
934 if (!v->in_batch) in vhost_vdpa_unmap()
1168 if ((v->in_batch && v->batch_asid != asid) || !iotlb) { in vhost_vdpa_process_iotlb_msg()
1169 if (v->in_batch && v->batch_asid != asid) { in vhost_vdpa_process_iotlb_msg()
1188 v->in_batch = true; in vhost_vdpa_process_iotlb_msg()
1191 if (v->in_batch && ops->set_map) in vhost_vdpa_process_iotlb_msg()
1193 v->in_batch = false; in vhost_vdpa_process_iotlb_msg()
/openbmc/linux/tools/lib/bpf/
H A Dbpf.c516 static int bpf_map_batch_common(int cmd, int fd, void *in_batch, in bpf_map_batch_common() argument
530 attr.batch.in_batch = ptr_to_u64(in_batch); in bpf_map_batch_common()
551 int bpf_map_lookup_batch(int fd, void *in_batch, void *out_batch, void *keys, in bpf_map_lookup_batch() argument
555 return bpf_map_batch_common(BPF_MAP_LOOKUP_BATCH, fd, in_batch, in bpf_map_lookup_batch()
559 int bpf_map_lookup_and_delete_batch(int fd, void *in_batch, void *out_batch, in bpf_map_lookup_and_delete_batch() argument
564 fd, in_batch, out_batch, keys, values, in bpf_map_lookup_and_delete_batch()
H A Dbpf.h211 LIBBPF_API int bpf_map_lookup_batch(int fd, void *in_batch, void *out_batch,
237 LIBBPF_API int bpf_map_lookup_and_delete_batch(int fd, void *in_batch,
/openbmc/linux/tools/testing/selftests/bpf/map_tests/
H A Dmap_percpu_stats.c65 void *in_batch = NULL, *out_batch; in delete_and_lookup_batch() local
70 &in_batch, &out_batch, in delete_and_lookup_batch()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h1416 __aligned_u64 in_batch; /* start batch, member
/openbmc/linux/include/uapi/linux/
H A Dbpf.h1416 __aligned_u64 in_batch; /* start batch, member
/openbmc/linux/kernel/bpf/
H A Dhashtab.c1693 void __user *ubatch = u64_to_user_ptr(attr->batch.in_batch); in __htab_map_lookup_and_delete_batch()
H A Dsyscall.c1808 void __user *ubatch = u64_to_user_ptr(attr->batch.in_batch); in generic_map_lookup_batch()