Home
last modified time | relevance | path

Searched refs:t (Results 1 – 11 of 11) sorted by relevance

/samples/crypto/
Dfips140_lab_util.c395 static const char *describe_crypt_op(const struct invalid_input_test *t) in describe_crypt_op() argument
397 if (t->direction == ENCRYPT) in describe_crypt_op()
399 if (t->direction == DECRYPT) in describe_crypt_op()
401 if (strcmp(t->alg_type, "hash") == 0) in describe_crypt_op()
406 static bool af_alg_setkey(const struct invalid_input_test *t, int alg_fd) in af_alg_setkey() argument
408 const uint8_t *key = (const uint8_t *)t->key; in af_alg_setkey()
409 uint8_t _key[t->key_size]; in af_alg_setkey()
411 if (t->key_size == 0) in af_alg_setkey()
414 if (t->key == NULL) { in af_alg_setkey()
415 rand_bytes(_key, t->key_size); in af_alg_setkey()
[all …]
/samples/ftrace/
Dftrace-direct-modify.c55 static int t; in simple_thread() local
64 t ^= 1; in simple_thread()
65 ret = modify_ftrace_direct(my_ip, my_tramp, tramps[t]); in simple_thread()
67 my_tramp = tramps[t]; in simple_thread()
/samples/bpf/
Dxdp_sample_user.c195 struct timespec t; in gettime() local
198 res = clock_gettime(CLOCK_MONOTONIC, &t); in gettime()
203 return (__u64)t.tv_sec * NANOSEC_PER_SEC + t.tv_nsec; in gettime()
654 double t, pps, drop, err; in stats_get_rx_cnt() local
659 t = calc_period(rec, prev); in stats_get_rx_cnt()
666 pps = calc_pps(r, p, t); in stats_get_rx_cnt()
667 drop = calc_drop_pps(r, p, t); in stats_get_rx_cnt()
668 err = calc_errs_pps(r, p, t); in stats_get_rx_cnt()
679 pps = calc_pps(&rec->total, &prev->total, t); in stats_get_rx_cnt()
680 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_get_rx_cnt()
[all …]
Dxdp_rxq_info_user.c171 struct timespec t; in gettime() local
174 res = clock_gettime(CLOCK_MONOTONIC, &t); in gettime()
179 return (__u64) t.tv_sec * NANOSEC_PER_SEC + t.tv_nsec; in gettime()
342 double t; in stats_print() local
361 t = calc_period(rec, prev); in stats_print()
366 pps = calc_pps (r, p, t); in stats_print()
367 err = calc_errs_pps(r, p, t); in stats_print()
374 pps = calc_pps (&rec->total, &prev->total, t); in stats_print()
375 err = calc_errs_pps(&rec->total, &prev->total, t); in stats_print()
395 t = calc_period(rec, prev); in stats_print()
[all …]
Dxsk_fwd.c664 struct thread_data *t = arg; in thread_func() local
669 CPU_SET(t->cpu_core_id, &cpu_cores); in thread_func()
672 for (i = 0; !t->quit; i = (i + 1) & (t->n_ports_rx - 1)) { in thread_func()
673 struct port *port_rx = t->ports_rx[i]; in thread_func()
674 struct port *port_tx = t->ports_tx[i]; in thread_func()
675 struct burst_rx *brx = &t->burst_rx; in thread_func()
676 struct burst_tx *btx = &t->burst_tx[i]; in thread_func()
879 struct thread_data *t = &thread_data[thread_id]; in print_thread() local
883 thread_id, t->cpu_core_id); in print_thread()
885 for (i = 0; i < t->n_ports_rx; i++) { in print_thread()
[all …]
Dmap_perf_test_user.c23 #define TEST_BIT(t) (1U << (t)) argument
78 static int check_test_flags(enum test_type t) in check_test_flags() argument
80 return test_flags & TEST_BIT(t); in check_test_flags()
Dtcp_bpf.readme6 mount -t cgroup2 none /tmp/cgroupv2
Dtc_l2_redirect.sh170 for t in $test_names; do
172 $t $d
Dtracex2_user.c37 struct task t; member
/samples/pktgen/
DREADME.rst24 -t : ($THREADS) threads to start
47 ./pktgen_sample06_numa_awared_queue_irq_affinity.sh -a -i ens1f0 -m 34:80:0d:a3:fc:c9 -t 8
49 ./pktgen_sample06_numa_awared_queue_irq_affinity.sh -a -i ens1f1 -m 34:80:0d:a3:fc:c9 -t 8
/samples/
DKconfig206 arch whilst it accesses system calls that aren't yet in all arches.