Home
last modified time | relevance | path

Searched refs:in_batch (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/vhost/
H A 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()
/kernel/linux/linux-6.6/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.h185 * The parameter *in_batch* is the address of the first element in the batch to read.
186 * *out_batch* is an output parameter that should be passed as *in_batch* to subsequent
187 * calls to **bpf_map_lookup_batch()**. NULL can be passed for *in_batch* to indicate
196 * @param in_batch address of the first element in batch to read, can pass NULL to
198 * @param out_batch output parameter that should be passed to next call as *in_batch*
211 LIBBPF_API int bpf_map_lookup_batch(int fd, void *in_batch, void *out_batch,
220 * @param in_batch address of the first element in batch to read, can pass NULL to
222 * @param out_batch output parameter that should be passed to next call as *in_batch*
237 LIBBPF_API int bpf_map_lookup_and_delete_batch(int fd, void *in_batch,
/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Dbpf.h518 __aligned_u64 in_batch; /* start batch, member
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dbpf.h518 __aligned_u64 in_batch; /* start batch, member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dbpf.h311 __aligned_u64 in_batch; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dbpf.h311 __aligned_u64 in_batch; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dbpf.h616 * *in_batch* and *out_batch*. Initially, *in_batch* must be set
619 * *out_batch* as the *in_batch* for the next operation to
680 * value in the corresponding index in *values*. The *in_batch*
729 * *in_batch*, *out_batch*, and *values* parameters are ignored
1399 __aligned_u64 in_batch; /* start batch, member
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dbpf.h616 * *in_batch* and *out_batch*. Initially, *in_batch* must be set
619 * *out_batch* as the *in_batch* for the next operation to
680 * value in the corresponding index in *values*. The *in_batch*
729 * *in_batch*, *out_batch*, and *values* parameters are ignored
1399 __aligned_u64 in_batch; /* start batch, member
/kernel/linux/linux-5.10/kernel/bpf/
H A Dhashtab.c1381 void *ubatch = u64_to_user_ptr(attr->batch.in_batch); in __htab_map_lookup_and_delete_batch()
H A Dsyscall.c1394 void __user *ubatch = u64_to_user_ptr(attr->batch.in_batch); in generic_map_lookup_batch()
/kernel/linux/linux-6.6/kernel/bpf/
H A Dhashtab.c1690 void __user *ubatch = u64_to_user_ptr(attr->batch.in_batch); in __htab_map_lookup_and_delete_batch()
H A Dsyscall.c1805 void __user *ubatch = u64_to_user_ptr(attr->batch.in_batch); in generic_map_lookup_batch()

Completed in 68 milliseconds