Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/vhost/
Dvdpa.c59 int in_batch; member
217 v->in_batch = 0; in vhost_vdpa_reset()
897 if (!v->in_batch) in vhost_vdpa_map()
925 if (!v->in_batch) in vhost_vdpa_unmap()
1159 if ((v->in_batch && v->batch_asid != asid) || !iotlb) { in vhost_vdpa_process_iotlb_msg()
1160 if (v->in_batch && v->batch_asid != asid) { in vhost_vdpa_process_iotlb_msg()
1179 v->in_batch = true; in vhost_vdpa_process_iotlb_msg()
1182 if (v->in_batch && ops->set_map) in vhost_vdpa_process_iotlb_msg()
1184 v->in_batch = false; in vhost_vdpa_process_iotlb_msg()
/linux-6.6.21/tools/lib/bpf/
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()
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,
/linux-6.6.21/tools/testing/selftests/bpf/map_tests/
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()
/linux-6.6.21/tools/include/uapi/linux/
Dbpf.h1399 __aligned_u64 in_batch; /* start batch, member
/linux-6.6.21/include/uapi/linux/
Dbpf.h1399 __aligned_u64 in_batch; /* start batch, member
/linux-6.6.21/kernel/bpf/
Dhashtab.c1686 void __user *ubatch = u64_to_user_ptr(attr->batch.in_batch); in __htab_map_lookup_and_delete_batch()
Dsyscall.c1805 void __user *ubatch = u64_to_user_ptr(attr->batch.in_batch); in generic_map_lookup_batch()