Home
last modified time | relevance | path

Searched refs:batch (Results 1 – 25 of 26) sorted by relevance

12

/tools/testing/selftests/bpf/progs/
Dtest_bpf_ma.c42 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/
Dhtab_map_batch_ops.c79 __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()
Darray_map_batch_ops.c75 __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()
Dlpm_trie_map_batch_ops.c73 __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()
Dmap_percpu_stats.c88 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/
Dvirtio_test.c170 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/
Dmain.c22 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()
Dptr_ring.c124 array.batch = param; in alloc_ring()
/tools/testing/selftests/drivers/net/mlxsw/
Dfib_offload.sh284 >> $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/
Dtest.c174 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()
Dtest.h31 unsigned batch, xa_mark_t iftag, xa_mark_t thentag);
/tools/testing/selftests/bpf/prog_tests/
Dbpf_tcp_ca.c41 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/
Dkvm_stat.txt23 Use batch and logging modes for scripting purposes.
64 --batch::
65 run in batch mode for one second
Dkvm_stat1556 def batch(stats): function
1884 batch(stats)
/tools/testing/selftests/rcutorture/bin/
Dkvm-test-1-run-batch.sh19 echo ---- Running batch $*
Dtorture.sh655 …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/
Dtc_flower.sh668 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/
Dverify_sig_setup.sh42 -batch -x509 -config ${tmp_dir}/x509.genkey \
/tools/lib/bpf/
Dbpf.c521 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/
Dpage-types.c673 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/
Dbpftool.rst19 **bpftool** **batch file** *FILE*
/tools/testing/selftests/net/
Dtxtimestamp.c313 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()
Dxfrm_policy.sh168 done | ip -batch /dev/stdin
179 done | ip -batch /dev/stdin
/tools/testing/selftests/netfilter/
Dnft_nat_zones.sh153 done | ip -batch /dev/stdin
/tools/bpf/bpftool/bash-completion/
Dbpftool289 batch)
321 COMPREPLY+=( $( compgen -W 'batch help' -- "$cur" ) )

12