Searched refs:in_batch (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/vhost/ |
| H A D | vdpa.c | 59 int in_batch; member 247 v->in_batch = 0; in vhost_vdpa_reset() 1009 if (!v->in_batch) in vhost_vdpa_map() 1038 if (!v->in_batch) in vhost_vdpa_unmap() 1272 if ((v->in_batch && v->batch_asid != asid) || !iotlb) { in vhost_vdpa_process_iotlb_msg() 1273 if (v->in_batch && v->batch_asid != asid) { in vhost_vdpa_process_iotlb_msg() 1292 v->in_batch = true; in vhost_vdpa_process_iotlb_msg() 1295 if (v->in_batch && ops->set_map) in vhost_vdpa_process_iotlb_msg() 1297 v->in_batch = false; in vhost_vdpa_process_iotlb_msg()
|
| /linux/tools/lib/bpf/ |
| H A D | bpf.c | 526 static int bpf_map_batch_common(int cmd, int fd, void *in_batch, in bpf_map_batch_common() argument 540 attr.batch.in_batch = ptr_to_u64(in_batch); in bpf_map_batch_common() 561 int bpf_map_lookup_batch(int fd, void *in_batch, void *out_batch, void *keys, in bpf_map_lookup_batch() argument 565 return bpf_map_batch_common(BPF_MAP_LOOKUP_BATCH, fd, in_batch, in bpf_map_lookup_batch() 569 int bpf_map_lookup_and_delete_batch(int fd, void *in_batch, void *out_batch, in bpf_map_lookup_and_delete_batch() argument 574 fd, in_batch, out_batch, keys, values, in bpf_map_lookup_and_delete_batch()
|
| H A D | bpf.h | 199 * The parameter *in_batch* is the address of the first element in the batch to 200 * read. *out_batch* is an output parameter that should be passed as *in_batch* 202 * *in_batch* to indicate that the batched lookup starts from the beginning of 203 * the map. Both *in_batch* and *out_batch* must point to memory large enough to 214 * @param in_batch address of the first element in batch to read, can pass NULL to 216 * @param out_batch output parameter that should be passed to next call as *in_batch* 229 LIBBPF_API int bpf_map_lookup_batch(int fd, void *in_batch, void *out_batch, 238 * @param in_batch address of the first element in batch to read, can pass NULL to 243 * @param out_batch output parameter that should be passed to next call as *in_batch* 258 LIBBPF_API int bpf_map_lookup_and_delete_batch(int fd, void *in_batch, [all...] |
| /linux/tools/testing/selftests/bpf/map_tests/ |
| H A D | map_percpu_stats.c | 66 void *in_batch = NULL, *out_batch; in delete_and_lookup_batch() local 71 &in_batch, &out_batch, in delete_and_lookup_batch()
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 650 * *in_batch* and *out_batch*. Initially, *in_batch* must be set 653 * *out_batch* as the *in_batch* for the next operation to 654 * continue iteration from the current point. Both *in_batch* and 718 * value in the corresponding index in *values*. The *in_batch* 767 * *in_batch*, *out_batch*, and *values* parameters are ignored 1570 __aligned_u64 in_batch; /* start batch, 1548 __aligned_u64 in_batch; /* start batch, global() member
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 650 * *in_batch* and *out_batch*. Initially, *in_batch* must be set 653 * *out_batch* as the *in_batch* for the next operation to 654 * continue iteration from the current point. Both *in_batch* and 718 * value in the corresponding index in *values*. The *in_batch* 767 * *in_batch*, *out_batch*, and *values* parameters are ignored 1570 __aligned_u64 in_batch; /* start batch, 1548 __aligned_u64 in_batch; /* start batch, global() member
|
| /linux/kernel/bpf/ |
| H A D | hashtab.c | 1776 void __user *ubatch = u64_to_user_ptr(attr->batch.in_batch); in __htab_map_lookup_and_delete_batch()
|
| H A D | syscall.c | 2054 void __user *ubatch = u64_to_user_ptr(attr->batch.in_batch); in generic_map_lookup_batch()
|