Searched refs:in_batch (Results 1 - 8 of 8) sorted by relevance
/linux-master/tools/testing/selftests/bpf/map_tests/ |
H A D | map_percpu_stats.c | 65 void *in_batch = NULL, *out_batch; local 70 &in_batch, &out_batch,
|
/linux-master/drivers/vhost/ |
H A D | vdpa.c | 59 int in_batch; member in struct:vhost_vdpa 249 v->in_batch = 0; 1000 if (!v->in_batch) 1029 if (!v->in_batch) 1263 if ((v->in_batch && v->batch_asid != asid) || !iotlb) { 1264 if (v->in_batch && v->batch_asid != asid) { 1283 v->in_batch = true; 1286 if (v->in_batch && ops->set_map) 1288 v->in_batch = false;
|
/linux-master/tools/lib/bpf/ |
H A D | bpf.h | 193 * The parameter *in_batch* is the address of the first element in the batch to 194 * read. *out_batch* is an output parameter that should be passed as *in_batch* 196 * *in_batch* to indicate that the batched lookup starts from the beginning of 197 * the map. Both *in_batch* and *out_batch* must point to memory large enough to 208 * @param in_batch address of the first element in batch to read, can pass NULL to 210 * @param out_batch output parameter that should be passed to next call as *in_batch* 223 LIBBPF_API int bpf_map_lookup_batch(int fd, void *in_batch, void *out_batch, 232 * @param in_batch address of the first element in batch to read, can pass NULL to 237 * @param out_batch output parameter that should be passed to next call as *in_batch* 252 LIBBPF_API int bpf_map_lookup_and_delete_batch(int fd, void *in_batch, [all...] |
H A D | bpf.c | 523 static int bpf_map_batch_common(int cmd, int fd, void *in_batch, argument 537 attr.batch.in_batch = ptr_to_u64(in_batch); 558 int bpf_map_lookup_batch(int fd, void *in_batch, void *out_batch, void *keys, argument 562 return bpf_map_batch_common(BPF_MAP_LOOKUP_BATCH, fd, in_batch, 566 int bpf_map_lookup_and_delete_batch(int fd, void *in_batch, void *out_batch, argument 571 fd, in_batch, out_batch, keys, values,
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 638 * *in_batch* and *out_batch*. Initially, *in_batch* must be set 641 * *out_batch* as the *in_batch* for the next operation to 642 * continue iteration from the current point. Both *in_batch* and 706 * value in the corresponding index in *values*. The *in_batch* 755 * *in_batch*, *out_batch*, and *values* parameters are ignored 1508 __aligned_u64 in_batch; /* start batch, member in struct:bpf_attr::__anon2592
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 638 * *in_batch* and *out_batch*. Initially, *in_batch* must be set 641 * *out_batch* as the *in_batch* for the next operation to 642 * continue iteration from the current point. Both *in_batch* and 706 * value in the corresponding index in *values*. The *in_batch* 755 * *in_batch*, *out_batch*, and *values* parameters are ignored 1508 __aligned_u64 in_batch; /* start batch, member in struct:bpf_attr::__anon3133
|
/linux-master/kernel/bpf/ |
H A D | hashtab.c | 1691 void __user *ubatch = u64_to_user_ptr(attr->batch.in_batch);
|
H A D | syscall.c | 1900 void __user *ubatch = u64_to_user_ptr(attr->batch.in_batch);
|
Completed in 432 milliseconds