| /tools/testing/selftests/timers/ |
| A D | leap-a-day.c | 97 struct timex tx; in clear_time_state() local 112 tx.maxerror = 0; in clear_time_state() 117 tx.status = 0; in clear_time_state() 135 tx.modes = 0; in sigalarm() 144 tx.tai, in sigalarm() 153 tx.tai, in sigalarm() 275 tx.modes = 0; in main() 277 if (tx.status != STA_INS && tx.status != STA_DEL) { in main() 315 tx.modes = 0; in main() 317 if (tx.status != STA_INS && tx.status != STA_DEL) { in main() [all …]
|
| A D | leapcrash.c | 30 struct timex tx; in clear_time_state() local 39 tx.modes = ADJ_STATUS; in clear_time_state() 40 tx.status = STA_PLL; in clear_time_state() 41 ret = adjtimex(&tx); in clear_time_state() 43 tx.modes = ADJ_STATUS; in clear_time_state() 44 tx.status = 0; in clear_time_state() 45 ret = adjtimex(&tx); in clear_time_state() 60 struct timex tx; in main() local 92 tx.modes = 0; in main() 93 adjtimex(&tx); in main() [all …]
|
| A D | set-tai.c | 30 struct timex tx; in set_tai() local 32 memset(&tx, 0, sizeof(tx)); in set_tai() 34 tx.modes = ADJ_TAI; in set_tai() 35 tx.constant = offset; in set_tai() 37 return adjtimex(&tx); in set_tai() 42 struct timex tx; in get_tai() local 44 memset(&tx, 0, sizeof(tx)); in get_tai() 46 adjtimex(&tx); in get_tai() 47 return tx.tai; in get_tai()
|
| A D | change_skew.c | 35 struct timex tx; in change_skew_test() local 38 tx.modes = ADJ_FREQUENCY; in change_skew_test() 39 tx.freq = ppm << 16; in change_skew_test() 41 ret = adjtimex(&tx); in change_skew_test() 57 struct timex tx; in main() local 66 tx.modes = ADJ_OFFSET; in main() 67 tx.offset = 0; in main() 68 ret = adjtimex(&tx); in main() 83 tx.modes = ADJ_FREQUENCY; in main() 84 tx.offset = 0; in main() [all …]
|
| A D | valid-adjtimex.c | 47 struct timex tx; in clear_time_state() local 50 tx.modes = ADJ_STATUS; in clear_time_state() 51 tx.status = 0; in clear_time_state() 52 ret = adjtimex(&tx); in clear_time_state() 113 struct timex tx; in validate_freq() local 128 ret = adjtimex(&tx); in validate_freq() 136 tx.modes = 0; in validate_freq() 155 tx.modes = 0; in validate_freq() 160 tx.freq); in validate_freq() 186 tx.freq = 0; in validate_freq() [all …]
|
| A D | skew_consistency.c | 41 struct timex tx; in main() local 57 tx.modes = ADJ_FREQUENCY; in main() 58 tx.freq = ppm << 16; in main() 59 adjtimex(&tx); in main() 64 tx.modes = ADJ_FREQUENCY; in main() 65 tx.offset = 0; in main() 66 adjtimex(&tx); in main()
|
| /tools/testing/selftests/drivers/net/hw/ |
| A D | ethtool_mm.sh | 47 local tx=$1; shift 59 ethtool --set-mm $tx verify-enabled on tx-enabled on 71 traffic_test $tx "pmac" 74 ethtool --set-mm $tx verify-enabled off tx-enabled off 92 local tx=$1; shift 97 ethtool --set-mm $tx verify-enabled off tx-enabled on 106 traffic_test $tx "pmac" 109 ethtool --set-mm $tx verify-enabled off tx-enabled off 126 local tx=$1; shift 132 ethtool --set-mm $tx verify-enabled on tx-enabled on [all …]
|
| A D | ethtool_rmon.sh | 111 rmon_histogram $h1 $h2 tx 112 rmon_histogram $h2 $h1 tx
|
| A D | csum.py | 48 def test_builder(name, cfg, ipver="6", tx=False, extra_args=""): argument 56 if tx:
|
| A D | hw_stats_l3.sh | 231 __test_stats tx ipv4 241 __test_stats tx ipv6 301 __test_stats_report tx ipv4
|
| /tools/spi/ |
| A D | spidev_test.c | 343 uint8_t *tx; in transfer_escaped_string() local 346 tx = malloc(size); in transfer_escaped_string() 347 if (!tx) in transfer_escaped_string() 357 free(tx); in transfer_escaped_string() 365 uint8_t *tx; in transfer_file() local 376 if (!tx) in transfer_file() 389 free(tx); in transfer_file() 412 uint8_t *tx; in transfer_buf() local 416 tx = malloc(len); in transfer_buf() 417 if (!tx) in transfer_buf() [all …]
|
| /tools/testing/selftests/ptp/ |
| A D | testptp.c | 164 struct timex tx; in main() local 362 memset(&tx, 0, sizeof(tx)); in main() 363 tx.modes = ADJ_FREQUENCY; in main() 365 if (clock_adjtime(clkid, &tx)) { in main() 373 memset(&tx, 0, sizeof(tx)); in main() 375 tx.time.tv_sec = adjtime; in main() 376 tx.time.tv_usec = adjns; in main() 377 while (tx.time.tv_usec < 0) { in main() 378 tx.time.tv_sec -= 1; in main() 390 memset(&tx, 0, sizeof(tx)); in main() [all …]
|
| /tools/testing/selftests/net/ |
| A D | veth.sh | 81 local tx=$4 144 ip netns exec $NS_SRC ethtool -L veth$SRC rx $i tx $i 145 ip netns exec $NS_DST ethtool -L veth$DST rx $i tx $i 172 ip netns exec $NS_SRC ethtool -L veth$SRC rx 3 tx 3 173 ip netns exec $NS_DST ethtool -L veth$DST rx 3 tx 3 195 ip netns exec $NS_SRC ethtool -L veth$SRC rx 2 tx 2 196 ip netns exec $NS_DST ethtool -L veth$DST rx 2 tx 1 296 ip netns exec $NS_DST ethtool -L veth$DST tx 2 302 ip netns exec $NS_DST ethtool -L veth$DST rx 3 tx 3 367 ip netns exec $NS_DST ethtool -L veth$DST tx 1 [all …]
|
| A D | udpgso.sh | 39 ethtool -K sink tx-checksum-ip-generic on >/dev/null 40 ethtool -K sink tx-udp-segmentation on >/dev/null 45 ethtool -K sink tx-checksum-ip-generic on >/dev/null 46 ethtool -K sink tx-udp-segmentation off >/dev/null 51 ethtool -K sink tx-checksum-ip-generic off >/dev/null 52 ethtool -K sink tx-udp-segmentation off >/dev/null
|
| A D | psock_tpacket.c | 446 struct tpacket3_hdr *tx = next; in walk_tx() local 448 tx->tp_snaplen = packet_len; in walk_tx() 449 tx->tp_len = packet_len; in walk_tx() 450 tx->tp_next_offset = 0; in walk_tx() 452 memcpy((uint8_t *)tx + TPACKET3_HDRLEN - in walk_tx() 455 total_bytes += tx->tp_snaplen; in walk_tx()
|
| /tools/testing/selftests/bpf/ |
| A D | xsk.c | 645 if (tx) { in xsk_socket__create_shared() 657 tx->producer = tx_map + off.tx.producer; in xsk_socket__create_shared() 658 tx->consumer = tx_map + off.tx.consumer; in xsk_socket__create_shared() 659 tx->flags = tx_map + off.tx.flags; in xsk_socket__create_shared() 660 tx->ring = tx_map + off.tx.desc; in xsk_socket__create_shared() 661 tx->cached_prod = *tx->producer; in xsk_socket__create_shared() 665 tx->cached_cons = *tx->consumer + xsk->config.tx_size; in xsk_socket__create_shared() 667 xsk->tx = tx; in xsk_socket__create_shared() 691 if (tx) in xsk_socket__create_shared() 768 if (xsk->tx) { in xsk_socket__delete() [all …]
|
| A D | xsk.h | 65 static inline struct xdp_desc *xsk_ring_prod__tx_desc(struct xsk_ring_prod *tx, in xsk_ring_prod__tx_desc() argument 68 struct xdp_desc *descs = (struct xdp_desc *)tx->ring; in xsk_ring_prod__tx_desc() 70 return &descs[idx & tx->mask]; in xsk_ring_prod__tx_desc() 228 struct xsk_ring_prod *tx, 234 struct xsk_ring_prod *tx,
|
| A D | test_xdp_features.sh | 27 ethtool -K v1 tx-checksumming off 29 ip netns exec ${NS} ethtool -K v0 tx-checksumming off
|
| /tools/net/ynl/samples/ |
| A D | ethtool.c | 51 if (dev->_present.tx) in main() 52 printf("tx %d ", dev->tx); in main()
|
| /tools/testing/selftests/drivers/net/ |
| A D | queues.py | 38 rx = tx = False 49 tx = True 58 ksft_eq(tx, True)
|
| /tools/testing/selftests/drivers/net/bonding/ |
| A D | Makefile | 6 bond-break-lacpdu-tx.sh \
|
| /tools/testing/vsock/ |
| A D | README | 63 # connect to CID 2, port 1234, send 1G of data, tx buf size is 1M 67 tx performance: A Gbits/s 70 A is calculated as "number of bits to send" / "time in tx loop"
|
| /tools/testing/selftests/drivers/net/netdevsim/ |
| A D | ethtool-coalesce.sh | 122 ethtool -C $NSIM_NETDEV adaptive-tx on
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | xdp_metadata.c | 54 struct xsk_ring_prod tx; member 95 &xsk->tx, in open_xsk() 147 ret = xsk_ring_prod__reserve(&xsk->tx, 1, &idx); in generate_packet() 151 tx_desc = xsk_ring_prod__tx_desc(&xsk->tx, idx); in generate_packet() 194 xsk_ring_prod__submit(&xsk->tx, 1); in generate_packet()
|
| /tools/include/uapi/linux/ |
| A D | if_xdp.h | 68 struct xdp_ring_offset tx; member
|