| /linux/tools/testing/selftests/tc-testing/tc-tests/filters/ |
| H A D | fw.json | 13 "$TC qdisc add dev $DEV1 ingress" 15 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65535 fw action ok", 17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65535 protocol all fw", 21 "$TC qdisc del dev $DEV1 ingress" 35 "$TC qdisc add dev $DEV1 ingress" 37 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 65536 fw action ok", 39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 prio 65536 protocol all fw", 43 "$TC qdisc del dev $DEV1 ingress" 57 "$TC qdisc add dev $DEV1 ingress" 59 "cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 fw action ok", [all …]
|
| H A D | u32.json | 13 "$TC qdisc add dev $DEV1 ingress" 15 …"cmdUnderTest": "$TC filter add dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.1/32… 17 "verifyCmd": "$TC filter show dev $DEV1 ingress", 21 "$TC qdisc del dev $DEV1 ingress" 35 "$TC qdisc add dev $DEV1 ingress" 37 …"cmdUnderTest": "$TC filter replace dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.… 39 "verifyCmd": "$TC filter show dev $DEV1 ingress", 43 "$TC qdisc del dev $DEV1 ingress" 57 "$TC qdisc add dev $DEV1 ingress", 58 …"$TC filter add dev $DEV1 ingress protocol ip prio 1 u32 match ip src 127.0.0.3/32 flowid 1:3 acti… [all …]
|
| H A D | flow.json | 13 "$TC qdisc add dev $DEV1 ingress" 15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds… 17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow", 21 "$TC qdisc del dev $DEV1 ingress" 35 "$TC qdisc add dev $DEV1 ingress" 37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds… 39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 1 flow", 43 "$TC qdisc del dev $DEV1 ingress" 57 "$TC qdisc add dev $DEV1 ingress" 59 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 prio 1 protocol ip flow map key ds… [all …]
|
| H A D | bpf.json | 13 "$TC qdisc add dev $DEV1 ingress" 15 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf bytecode … 17 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf", 21 "$TC qdisc del dev $DEV1 ingress" 35 "$TC qdisc add dev $DEV1 ingress" 37 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf bytecode … 39 "verifyCmd": "$TC filter get dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf", 43 "$TC qdisc del dev $DEV1 ingress" 59 "$TC qdisc add dev $DEV1 ingress" 61 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: handle 1 protocol ip prio 100 bpf object-fi… [all …]
|
| /linux/tools/testing/selftests/tc-testing/creating-testcases/ |
| H A D | scapy-example.json | 17 "$TC qdisc del dev $DEV1 ingress", 23 "$TC qdisc add dev $DEV1 ingress" 25 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: prio 3 protocol ip flower src_ip 16.61.16.6… 32 "verifyCmd": "$TC -s -j filter ls dev $DEV1 ingress prio 3", 47 "$TC qdisc del dev $DEV1 ingress" 65 "$TC qdisc del dev $DEV1 ingress", 71 "$TC qdisc add dev $DEV1 ingress" 73 …"cmdUnderTest": "$TC filter add dev $DEV1 parent ffff: prio 3 protocol ip flower src_ip 16.61.16.6… 80 "verifyCmd": "$TC -s -j filter ls dev $DEV1 parent ffff:", 95 "$TC qdisc del dev $DEV1 ingress"
|
| /linux/drivers/input/mouse/ |
| H A D | lifebook.c | 135 struct input_dev *dev1 = psmouse->dev; in lifebook_process_byte() local 174 input_report_abs(dev1, ABS_X, in lifebook_process_byte() 176 input_report_abs(dev1, ABS_Y, in lifebook_process_byte() 179 input_report_abs(dev1, ABS_X, in lifebook_process_byte() 181 input_report_abs(dev1, ABS_Y, in lifebook_process_byte() 184 input_report_key(dev1, BTN_TOUCH, packet[0] & 0x04); in lifebook_process_byte() 185 input_sync(dev1); in lifebook_process_byte() 313 struct input_dev *dev1 = psmouse->dev; in lifebook_init() local 322 bitmap_zero(dev1->evbit, EV_CNT); in lifebook_init() 323 bitmap_zero(dev1->relbit, REL_CNT); in lifebook_init() [all …]
|
| H A D | alps.c | 205 struct input_dev *dev1); 207 struct input_dev *dev1); 209 struct input_dev *dev1); 211 struct input_dev *dev1); 221 static void alps_report_buttons(struct input_dev *dev1, struct input_dev *dev2, in alps_report_buttons() argument 231 dev = (dev2 && test_bit(BTN_LEFT, dev2->key)) ? dev2 : dev1; in alps_report_buttons() 234 dev = (dev2 && test_bit(BTN_RIGHT, dev2->key)) ? dev2 : dev1; in alps_report_buttons() 237 dev = (dev2 && test_bit(BTN_MIDDLE, dev2->key)) ? dev2 : dev1; in alps_report_buttons() 2987 struct input_dev *dev1) in alps_set_abs_params_st() argument 2989 input_set_abs_params(dev1, ABS_X, 0, priv->x_max, 0, 0); in alps_set_abs_params_st() [all …]
|
| /linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| H A D | ct.json | 480 "$TC qdisc del dev $DEV1 ingress", 486 "$TC qdisc add dev $DEV1 ingress" 488 …"cmdUnderTest": "$TC filter add dev $DEV1 ingress protocol ip prio 1 flower ct_state -trk action c… 506 "$TC qdisc del dev $DEV1 ingress" 526 "$TC qdisc add dev $DEV1 root handle 1: ets bands 2" 528 …"cmdUnderTest": "$TC filter add dev $DEV1 parent 1: prio 1 protocol ip matchall action ct index 42… 530 "verifyCmd": "$TC -j filter ls dev $DEV1 parent 1: prio 1 protocol ip", 533 "$TC qdisc del dev $DEV1 root" 553 "$TC qdisc add dev $DEV1 ingress" 555 … "cmdUnderTest": "$TC filter add dev $DEV1 ingress prio 1 protocol ip matchall action ct index 42", [all …]
|
| H A D | mirred.json | 672 "$TC qdisc add dev $DEV1 egress_block 21 clsact", 704 "$TC qdisc del dev $DEV1 egress_block 21 clsact", 727 "$TC qdisc add dev $DEV1 ingress_block 21 clsact", 759 "$TC qdisc del dev $DEV1 ingress_block 21 clsact", 782 "$TC qdisc add dev $DEV1 ingress_block 21 clsact", 814 "$TC qdisc del dev $DEV1 ingress_block 21 clsact", 837 "$TC qdisc add dev $DEV1 ingress_block 21 clsact", 869 "$TC qdisc del dev $DEV1 ingress_block 21 clsact", 892 "$TC qdisc add dev $DEV1 ingress_block 21 clsact", 896 … "cmdUnderTest": "$TC actions add action mirred ingress redirect index 1 blockid 21 dev $DEV1", [all …]
|
| H A D | gact.json | 705 "$TC qdisc add dev $DEV1 ingress", 707 … "$TC filter add dev $DEV1 protocol all ingress prio 1 handle 0x1234 matchall action gact index 1" 715 "$TC qdisc del dev $DEV1 ingress", 740 "$TC qdisc add dev $DEV1 ingress", 749 … "$TC filter add dev $DEV1 protocol all ingress prio 1 handle 0x1234 matchall action gact index 3" 757 "$TC qdisc del dev $DEV1 ingress",
|
| /linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
| H A D | pie.json | 8 "$TC qdisc add dev $DEV1 handle 1: root pie limit 10" 17 "cmdUnderTest": "$TC qdisc change dev $DEV1 handle 1: root pie limit 1", 19 "verifyCmd": "$TC qdisc show dev $DEV1", 22 "teardown": ["$TC qdisc del dev $DEV1 handle 1: root"]
|
| H A D | fq_pie.json | 28 "$TC qdisc add dev $DEV1 handle 1: root fq_pie limit 10" 37 "cmdUnderTest": "$TC qdisc change dev $DEV1 handle 1: root fq_pie limit 1", 39 "verifyCmd": "$TC qdisc show dev $DEV1", 42 "teardown": ["$TC qdisc del dev $DEV1 handle 1: root"]
|
| H A D | hhf.json | 198 "$TC qdisc add dev $DEV1 handle 1: root hhf limit 10" 207 "cmdUnderTest": "$TC qdisc change dev $DEV1 handle 1: root hhf limit 1", 209 "verifyCmd": "$TC qdisc show dev $DEV1", 212 "teardown": ["$TC qdisc del dev $DEV1 handle 1: root"]
|
| H A D | codel.json | 201 "$TC qdisc add dev $DEV1 handle 1: root codel limit 10" 210 "cmdUnderTest": "$TC qdisc change dev $DEV1 handle 1: root codel limit 1", 212 "verifyCmd": "$TC qdisc show dev $DEV1", 215 "teardown": ["$TC qdisc del dev $DEV1 handle 1: root"]
|
| H A D | fq_codel.json | 304 "$TC qdisc add dev $DEV1 handle 1: root fq_codel limit 10" 313 "cmdUnderTest": "$TC qdisc change dev $DEV1 handle 1: root fq_codel limit 1", 315 "verifyCmd": "$TC qdisc show dev $DEV1", 318 "teardown": ["$TC qdisc del dev $DEV1 handle 1: root"]
|
| H A D | fq.json | 387 "$TC qdisc add dev $DEV1 handle 1: root fq limit 10" 396 "cmdUnderTest": "$TC qdisc change dev $DEV1 handle 1: root fq limit 1", 398 "verifyCmd": "$TC qdisc show dev $DEV1", 401 "teardown": ["$TC qdisc del dev $DEV1 handle 1: root"]
|
| /linux/tools/testing/selftests/drivers/net/virtio_net/ |
| H A D | virtio_net_common.sh | 11 # DEV1="$1" 14 # sudo tc qdisc add dev $DEV1 clsact 16 # sudo tc filter add dev $DEV1 ingress protocol all pref 1 matchall action mirred egress redirect d… 17 …c filter add dev $DEV2 ingress protocol all pref 1 matchall action mirred egress redirect dev $DEV1 18 # sudo ip link set $DEV1 up
|
| /linux/drivers/char/agp/ |
| H A D | amd64-agp.c | 393 struct pci_dev *dev1; in uli_agp_init() local 398 dev1 = pci_get_slot (pdev->bus,PCI_DEVFN(0,0)); in uli_agp_init() 399 if (dev1 == NULL) { in uli_agp_init() 432 pci_write_config_dword(dev1, ULI_X86_64_HTT_FEA_REG, httfea); in uli_agp_init() 433 pci_write_config_dword(dev1, ULI_X86_64_ENU_SCR_REG, enuscr); in uli_agp_init() 436 pci_dev_put(dev1); in uli_agp_init() 455 struct pci_dev *dev1; in nforce3_agp_init() local 461 dev1 = pci_get_slot(pdev->bus, PCI_DEVFN(11, 0)); in nforce3_agp_init() 462 if (dev1 == NULL) { in nforce3_agp_init() 477 pci_read_config_dword(dev1, NVIDIA_X86_64_1_APSIZE, &tmp); in nforce3_agp_init() [all …]
|
| /linux/tools/testing/selftests/tc-testing/plugin-lib/ |
| H A D | nsPlugin.py | 121 dev1 = self.args.NAMES["DEV1"]; 130 … ip.link('add', ifname=dev1, kind='veth', peer={'ifname': dev0, 'net_ns_fd':'/proc/1/ns/net'}) 137 dev1_idx = ip.link_lookup(ifname=dev1)[0] 168 cmds.append(self._replace_keywords('link add $DEV1 type veth peer name $DEV0')) 169 cmds.append(self._replace_keywords('link set $DEV1 netns {}'.format(ns))) 172 cmds.append(self._replace_keywords('netns exec {} $IP link set $DEV1 up'.format(ns)))
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | ethtool_lib.sh | 92 dev1=$1; shift 97 local -a dev1_speeds=($(dev_speeds_get $dev1 $with_mode $adver)) 107 local dev1=$1; shift 114 speeds_arr=($(common_speeds_get $dev1 $dev2 $with_mode $adver))
|
| /linux/net/x25/ |
| H A D | x25_forward.c | 63 new_frwd->dev1 = rt->dev; in x25_forward_call() 101 if (from->dev == frwd->dev1) { in x25_forward_data() 104 peer = frwd->dev1; in x25_forward_data() 150 if ((fwd->dev1 == dev) || (fwd->dev2 == dev)){ in x25_clear_forward_by_dev()
|
| /linux/tools/testing/selftests/tc-testing/tc-tests/infra/ |
| H A D | qdiscs.json | 780 "$TC qdisc add dev $DEV1 root handle 1: htb default 11", 781 "$TC class add dev $DEV1 parent 1: classid 1:1 htb rate 10kbit", 782 "$TC class add dev $DEV1 parent 1:1 classid 1:11 htb rate 10kbit prio 0 quantum 1486", 783 "$TC qdisc add dev $DEV1 parent 1:11 fq_codel quantum 300 noecn", 791 "cmdUnderTest": "$TC -s qdisc show dev $DEV1", 793 "verifyCmd": "$TC -s qdisc show dev $DEV1 | grep -A 5 'qdisc fq_codel'", 797 "$TC qdisc del dev $DEV1 handle 1: root" 806 "$IP link set dev $DEV1 up || true", 807 "$TC qdisc add dev $DEV1 root handle 1: drr", 808 "$TC filter add dev $DEV1 parent 1: basic classid 1:1", [all …]
|
| /linux/drivers/ata/ |
| H A D | pata_optidma.c | 368 struct pci_dev *dev1; in optiplus_with_udma() local 371 dev1 = pci_get_device(0x1045, 0xC701, NULL); in optiplus_with_udma() 372 if (dev1 == NULL) in optiplus_with_udma() 376 pci_read_config_byte(dev1, 0x08, &r); in optiplus_with_udma() 380 pci_read_config_byte(dev1, 0x5F, &r); in optiplus_with_udma() 391 pci_read_config_byte(dev1, 0x52, &r); in optiplus_with_udma() 397 pci_dev_put(dev1); in optiplus_with_udma()
|
| /linux/drivers/nfc/ |
| H A D | nfcsim.c | 429 static struct nfcsim *dev1; variable 451 dev1 = nfcsim_device_new(link1, link0); in nfcsim_init() 452 if (IS_ERR(dev1)) { in nfcsim_init() 455 rc = PTR_ERR(dev1); in nfcsim_init() 482 nfcsim_device_free(dev1); in nfcsim_exit()
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | qos_dscp_router.sh | 161 local dev1=$1; shift 174 eval "local -A dev1_t0s=($(dscp_fetch_stats $dev1 0))" 182 eval "local -A dev1_t1s=($(dscp_fetch_stats $dev1 0))" 203 check_err $? "DSCP $dscpi@$dev1: Expected to capture $expect3 packets, got $delta."
|