/tools/testing/selftests/bpf/progs/ |
D | test_bpf_ma.c | 42 static __always_inline void batch_alloc_free(struct bpf_map *map, unsigned int batch, in batch_alloc_free() argument 49 for (i = 0; i < batch; i++) { in batch_alloc_free() 68 for (i = 0; i < batch; i++) { in batch_alloc_free() 84 #define CALL_BATCH_ALLOC_FREE(size, batch, idx) \ argument 85 batch_alloc_free((struct bpf_map *)(&array_##size), batch, idx)
|
/tools/testing/selftests/bpf/map_tests/ |
D | htab_map_batch_ops.c | 79 __u32 batch, count, total, total_success; in __test_map_lookup_and_delete_batch() local 109 err = bpf_map_lookup_and_delete_batch(map_fd, NULL, &batch, keys, in __test_map_lookup_and_delete_batch() 119 err = bpf_map_lookup_and_delete_batch(map_fd, NULL, &batch, keys, in __test_map_lookup_and_delete_batch() 127 err = bpf_map_lookup_and_delete_batch(map_fd, NULL, &batch, keys, in __test_map_lookup_and_delete_batch() 153 total ? &batch : NULL, in __test_map_lookup_and_delete_batch() 154 &batch, keys + total, in __test_map_lookup_and_delete_batch() 216 total ? &batch : NULL, in __test_map_lookup_and_delete_batch() 217 &batch, keys + total, in __test_map_lookup_and_delete_batch()
|
D | array_map_batch_ops.c | 75 __u64 batch = 0; in __test_map_lookup_and_update_batch() local 105 batch = 0; in __test_map_lookup_and_update_batch() 113 total ? &batch : NULL, in __test_map_lookup_and_update_batch() 114 &batch, keys + total, in __test_map_lookup_and_update_batch()
|
D | lpm_trie_map_batch_ops.c | 73 __u64 batch = 0; in test_lpm_trie_map_batch_ops() local 98 batch = 0; in test_lpm_trie_map_batch_ops() 106 total ? &batch : NULL, &batch, in test_lpm_trie_map_batch_ops()
|
D | map_percpu_stats.c | 88 static void delete_all_elements(__u32 type, int map_fd, bool batch) in delete_all_elements() argument 102 if (batch) { in delete_all_elements()
|
/tools/virtio/ |
D | virtio_test.c | 170 bool delayed, int batch, int reset_n, int bufs) in run_test() argument 178 const bool random_batch = batch == RANDOM_BATCH; in run_test() 193 batch = (random() % vq->vring.num) + 1; in run_test() 196 (started - completed) < batch) { in run_test() 349 long batch = 1, reset = 0; in main() local 376 batch = RANDOM_BATCH; in main() 378 batch = strtol(optarg, NULL, 10); in main() 379 assert(batch > 0); in main() 380 assert(batch < (long)INT_MAX + 1); in main() 401 run_test(&dev, &dev.vqs[0], delayed, batch, reset, 0x100000); in main()
|
/tools/virtio/ringtest/ |
D | main.c | 22 int batch = 1; variable 116 int tokick = batch; in run_guest() 129 tokick = batch; in run_guest() 348 batch = c; in main() 372 if (batch > max_outstanding) in main() 373 batch = max_outstanding; in main()
|
D | ptr_ring.c | 124 array.batch = param; in alloc_ring()
|
/tools/testing/selftests/drivers/net/mlxsw/ |
D | fib_offload.sh | 284 >> $batch_dir/add.batch 286 >> $batch_dir/del.batch 291 ip -batch $batch_dir/add.batch 307 ip -batch $batch_dir/del.batch
|
/tools/testing/radix-tree/ |
D | test.c | 174 unsigned batch, xa_mark_t iftag, xa_mark_t thentag) in tag_tagged_items() argument 180 if (batch == 0) in tag_tagged_items() 181 batch = 1; in tag_tagged_items() 186 if (++tagged % batch) in tag_tagged_items()
|
D | test.h | 31 unsigned batch, xa_mark_t iftag, xa_mark_t thentag);
|
/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_tcp_ca.c | 41 char batch[1500]; in server() local 57 nr_sent = send(fd, &batch, in server() 58 MIN(total_bytes - bytes, sizeof(batch)), 0); in server() 89 char batch[1500]; in do_test() local 150 nr_recv = recv(fd, &batch, in do_test() 151 MIN(total_bytes - bytes, sizeof(batch)), 0); in do_test()
|
/tools/kvm/kvm_stat/ |
D | kvm_stat.txt | 23 Use batch and logging modes for scripting purposes. 64 --batch:: 65 run in batch mode for one second
|
D | kvm_stat | 1556 def batch(stats): function 1884 batch(stats)
|
/tools/testing/selftests/rcutorture/bin/ |
D | kvm-test-1-run-batch.sh | 19 echo ---- Running batch $*
|
D | torture.sh | 655 …echo Waiting for batch $batchno of $ncompresses compressions `date` | tee -a "$tdir/log-xz" | tee … 664 …echo Waiting for final batch $batchno of $ncompresses compressions `date` | tee -a "$tdir/log-xz" …
|
/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
D | tc_flower.sh | 668 batch="${batch}filter add dev $iface ingress protocol ipv6 pref 1 \ 689 batch="${batch}filter del dev $iface ingress protocol ipv6 pref 1 \ 751 declare batch="" 754 echo -n -e $batch | tc -b - 756 declare batch="" 784 echo -n -e $batch | tc -b - 806 declare batch="" 810 echo -e $batch | tc -b -
|
/tools/testing/selftests/bpf/ |
D | verify_sig_setup.sh | 42 -batch -x509 -config ${tmp_dir}/x509.genkey \
|
/tools/lib/bpf/ |
D | bpf.c | 521 const size_t attr_sz = offsetofend(union bpf_attr, batch); in bpf_map_batch_common() 529 attr.batch.map_fd = fd; in bpf_map_batch_common() 530 attr.batch.in_batch = ptr_to_u64(in_batch); in bpf_map_batch_common() 531 attr.batch.out_batch = ptr_to_u64(out_batch); in bpf_map_batch_common() 532 attr.batch.keys = ptr_to_u64(keys); in bpf_map_batch_common() 533 attr.batch.values = ptr_to_u64(values); in bpf_map_batch_common() 534 attr.batch.count = *count; in bpf_map_batch_common() 535 attr.batch.elem_flags = OPTS_GET(opts, elem_flags, 0); in bpf_map_batch_common() 536 attr.batch.flags = OPTS_GET(opts, flags, 0); in bpf_map_batch_common() 539 *count = attr.batch.count; in bpf_map_batch_common()
|
/tools/mm/ |
D | page-types.c | 673 unsigned long batch; in walk_pfn() local 688 batch = min_t(unsigned long, count, KPAGEFLAGS_BATCH); in walk_pfn() 689 pages = kpageflags_read(buf, index, batch); in walk_pfn() 732 unsigned long batch; in walk_vma() local 738 batch = min_t(unsigned long, count, PAGEMAP_BATCH); in walk_vma() 739 pages = pagemap_read(buf, index, batch); in walk_vma()
|
/tools/bpf/bpftool/Documentation/ |
D | bpftool.rst | 19 **bpftool** **batch file** *FILE*
|
/tools/testing/selftests/net/ |
D | txtimestamp.c | 313 int batch = 0; in __recv_errmsg_cmsg() local 354 batch++; in __recv_errmsg_cmsg() 358 if (batch > 1) in __recv_errmsg_cmsg() 359 fprintf(stderr, "batched %d timestamps\n", batch); in __recv_errmsg_cmsg()
|
D | xfrm_policy.sh | 168 done | ip -batch /dev/stdin 179 done | ip -batch /dev/stdin
|
/tools/testing/selftests/netfilter/ |
D | nft_nat_zones.sh | 153 done | ip -batch /dev/stdin
|
/tools/bpf/bpftool/bash-completion/ |
D | bpftool | 289 batch) 321 COMPREPLY+=( $( compgen -W 'batch help' -- "$cur" ) )
|