Home
last modified time | relevance | path

Searched +refs:dev +refs:all (Results 1 – 25 of 848) sorted by relevance

12345678910>>...34

/linux/drivers/misc/
H A Dntsync.c52 struct ntsync_device *dev; member
115 bool all; member
150 static void dev_lock_obj(struct ntsync_device *dev, struct ntsync_obj *obj) in dev_lock_obj() argument
152 lockdep_assert_held(&dev->wait_all_lock); in dev_lock_obj()
153 lockdep_assert(obj->dev == dev); in dev_lock_obj()
163 static void dev_unlock_obj(struct ntsync_device *dev, struct ntsync_obj *obj) in dev_unlock_obj() argument
165 lockdep_assert_held(&dev->wait_all_lock); in dev_unlock_obj()
166 lockdep_assert(obj->dev == dev); in dev_unlock_obj()
174 struct ntsync_device *dev = obj->dev; in obj_lock() local
182 mutex_lock(&dev->wait_all_lock); in obj_lock()
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dqos_headroom.sh33 dcb -j buffer show dev $swp |
41 dcb -j pfc show dev $swp |
49 dcb -j ets show dev $swp |
57 dcb -j buffer show dev $swp | jq ".buffer_size[$idx]"
62 dcb -j buffer show dev $swp | jq '.total_size'
106 __check_buf_size "$@" > /dev/null
124 dcb ets set dev $swp prio-tc 0:0 1:2 2:4 3:6 4:1 5:3 6:5 7:7
130 dcb ets set dev $swp prio-tc all:0
135 dcb buffer set dev $swp prio-buffer 0:1 1:3 2:5 3:7 4:0 5:2 6:4 7:6 2>/dev/null
168 tc qdisc replace dev $swp root handle 1: bfifo limit 1.5M
[all …]
H A Dtc_sample.sh89 ip link set dev $h3 down
91 ip link set dev $h3 master ${h3}_bond
104 ip link set dev $h3 nomaster
105 ip link del dev ${h3}_bond
110 ip link set dev $h4 down
112 ip link set dev $h4 master ${h4}_bond
125 ip link set dev $h4 nomaster
126 ip link del dev ${h4}_bond
131 ip link set dev $rp1 up
133 tc qdisc add dev $rp1 clsact
[all …]
H A Dqos_pfc.sh163 ip link set dev $swp1 up
166 ip link set dev $swp1.111 type vlan ingress-qos-map 0:0 1:1
173 tc qdisc replace dev $swp1 root handle 1: \
175 dcb buffer set dev $swp1 prio-buffer all:0 1:1
180 ip link set dev $swp2 up
183 ip link set dev $swp2.111 type vlan egress-qos-map 0:0 1:1
189 tc qdisc replace dev $swp2 root handle 1: \
191 tc qdisc replace dev $swp2 parent 1:7 handle 17: \
197 ip link set dev $swp3 up
200 ip link set dev $swp3.111 type vlan egress-qos-map 0:0 1:1
[all …]
H A Dtc_restrictions.sh44 tc qdisc add dev $swp1 ingress_block 22 clsact
51 tc qdisc add dev $swp2 ingress_block 22 clsact
54 tc qdisc del dev $swp2 clsact
56 tc qdisc add dev $swp2 egress_block 22 clsact
61 tc qdisc add dev $swp2 egress_block 22 clsact
68 tc qdisc del dev $swp1 clsact
70 tc qdisc add dev $swp1 egress_block 22 clsact
79 tc qdisc del dev $swp2 clsact
80 tc qdisc del dev $swp1 clsact
92 tc qdisc add dev $swp1 ingress_block 22 clsact
[all …]
H A Dvxlan_flooding.sh60 ip link add dev br0 type bridge mcast_snooping 0
61 ip link set dev br0 address $(mac_get $swp1)
66 ip address add 198.51.100.1/32 dev lo
68 ip link set dev $swp1 master br0
69 ip link set dev vxlan0 master br0
71 ip link set dev br0 up
72 ip link set dev $swp1 up
73 ip link set dev vxlan0 up
78 ip link set dev vxlan0 down
79 ip link set dev $swp1 down
[all …]
H A Done_armed_router.sh88 ip link set dev br0 up
90 ip link set dev $swp1 master br0
91 ip link set dev $swp1 up
92 ip link set dev $swp2 master br0
93 ip link set dev $swp2 up
95 tc qdisc add dev $swp1 clsact
96 tc qdisc add dev $swp2 clsact
107 tc qdisc del dev $swp2 clsact
108 tc qdisc del dev $swp1 clsact
110 ip link set dev $swp2 down
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A Dtc_vlan_modify.sh39 ip link add dev br0 type bridge vlan_filtering 1 mcast_snooping 0
41 ip link set dev $swp1 master br0
42 ip link set dev $swp2 master br0
44 ip link set dev br0 up
45 ip link set dev $swp1 up
46 ip link set dev $swp2 up
48 bridge vlan add dev $swp1 vid 85
49 bridge vlan add dev $swp2 vid 65
51 bridge vlan add dev $swp2 vid 85
52 bridge vlan add dev $swp1 vid 65
[all …]
/linux/tools/testing/selftests/net/
H A Dudpgro.sh22 [ -n "${jobs}" ] && kill -1 ${jobs} 2>/dev/null
23 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
31 ip link set dev veth0 up
32 ip addr add dev veth0 192.168.1.2/24
33 ip addr add dev veth0 2001:db8::2/64 nodad
35 ip link set dev veth1 netns "${PEER_NS}"
36 ip -netns "${PEER_NS}" addr add dev veth1 192.168.1.1/24
37 ip -netns "${PEER_NS}" addr add dev veth1 2001:db8::1/64 nodad
38 ip -netns "${PEER_NS}" link set dev veth1 up
44 local -r all="$@"
[all …]
H A Dudpgro_bench.sh16 [ -n "${jobs}" ] && kill -INT ${jobs} 2>/dev/null
17 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
23 local -r all="$@"
24 local -r tx_args=${all%rx*}
25 local rx_args=${all#*rx}
32 ip link set dev veth0 up
33 ip addr add dev veth0 192.168.1.2/24
34 ip addr add dev veth0 2001:db8::2/64 nodad
36 ip link set dev veth1 netns "${PEER_NS}"
37 ip -netns "${PEER_NS}" addr add dev veth1 192.168.1.1/24
[all …]
H A Dudpgro_frglist.sh16 [ -n "${jobs}" ] && kill -INT ${jobs} 2>/dev/null
17 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
23 local -r all="$@"
24 local -r tx_args=${all%rx*}
25 local rx_args=${all#*rx}
32 ip link set dev veth0 up
33 ip addr add dev veth0 192.168.1.2/24
34 ip addr add dev veth0 2001:db8::2/64 nodad
36 ip link set dev veth1 netns "${PEER_NS}"
37 ip -netns "${PEER_NS}" addr add dev veth1 192.168.1.1/24
[all …]
H A Dicmp_redirect.sh119 local dev=$2
122 addr=$(ip -netns $ns -6 -br addr show dev ${dev} | \
156 ip -netns ${ns} addr add 127.0.0.1/8 dev ${VRF}
157 ip -netns ${ns} -6 addr add ::1 dev ${VRF} nodad
160 ip -netns ${ns} ru add pref 32765 from all lookup local
162 ip -netns ${ns} -6 ru add pref 32765 from all lookup local
174 ip netns exec $ns sysctl -q -w net.ipv4.conf.all.accept_redirects=1
175 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0
176 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.accept_redirects=1
177 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1
[all …]
H A Dvrf_route_leaking.sh183 ip -netns "${ns}" rule add pref 32765 from all lookup local
185 ip -netns "${ns}" -6 rule add pref 32765 from all lookup local
199 ip -netns "${ns}" addr add 127.0.0.1/8 dev "${vrf}"
200 ip -netns "${ns}" -6 addr add ::1 dev "${vrf}" nodad
215 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0
216 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1
219 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=1
235 ip -netns $h1 addr add dev eth0 ${H1_N1_IP}/24
236 ip -netns $h1 -6 addr add dev eth0 ${H1_N1_IP6}/64 nodad
240 ip -netns $h1 route add ${H2_N2} via ${R1_N1_IP} dev eth0
[all …]
/linux/samples/bpf/
H A Dtc_l2_redirect.sh10 RP_FILTER=$(< /proc/sys/net/ipv4/conf/all/rp_filter)
11 IPV6_DISABLED=$(< /proc/sys/net/ipv6/conf/all/disable_ipv6)
12 IPV6_FORWARDING=$(< /proc/sys/net/ipv6/conf/all/forwarding)
21 $IP link set dev ve1 up
22 $IP link set dev ve2 up
23 $IP link set dev ve1 mtu 1500
24 $IP link set dev ve2 mtu 1500
25 $IP link set dev vens1 netns ns1
26 $IP link set dev vens2 netns ns2
28 $IP -n ns1 link set dev lo up
[all …]
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_phy.c12 void mt76x02_phy_set_rxpath(struct mt76x02_dev *dev) in mt76x02_phy_set_rxpath() argument
16 val = mt76_rr(dev, MT_BBP(AGC, 0)); in mt76x02_phy_set_rxpath()
19 switch (dev->mphy.chainmask & 0xf) { in mt76x02_phy_set_rxpath()
28 mt76_wr(dev, MT_BBP(AGC, 0), val); in mt76x02_phy_set_rxpath()
30 val = mt76_rr(dev, MT_BBP(AGC, 0)); in mt76x02_phy_set_rxpath()
34 void mt76x02_phy_set_txdac(struct mt76x02_dev *dev) in mt76x02_phy_set_txdac() argument
38 txpath = (dev->mphy.chainmask >> 8) & 0xf; in mt76x02_phy_set_txdac()
41 mt76_set(dev, MT_BBP(TXBE, 5), 0x3); in mt76x02_phy_set_txdac()
44 mt76_clear(dev, MT_BBP(TXBE, 5), 0x3); in mt76x02_phy_set_txdac()
67 for (i = 0; i < sizeof(r->all); i++) in mt76x02_get_max_rate_power()
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
H A Dvxlan_flooding_ipv6.sh60 ip link add dev br0 type bridge mcast_snooping 0
61 ip link set dev br0 address $(mac_get $swp1)
67 ip address add 2001:db8:2::1/128 dev lo
69 ip link set dev $swp1 master br0
70 ip link set dev vxlan0 master br0
72 ip link set dev br0 up
73 ip link set dev $swp1 up
74 ip link set dev vxlan0 up
79 ip link set dev vxlan0 down
80 ip link set dev $swp1 down
[all …]
/linux/scripts/package/debian/
H A Drules30 binary-targets := $(addprefix binary-, image image-dbg headers libc-dev)
32 all-packages = $(shell dh_listpackages)
33 image-package = $(filter linux-image-% user-%, $(filter-out %-dbg, $(all-packages)))
34 image-dbg-package = $(filter %-dbg, $(all-packages))
35 libc-dev-package = $(filter linux-libc-dev, $(all-packages))
36 headers-package = $(filter linux-headers-%, $(all-packages))
80 $(Q)$(MAKE) $(make-opts) $(if $(filter um,$(ARCH)),,headers) all
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-hid-wiimote1 What: /sys/bus/hid/drivers/wiimote/<dev>/led1
2 What: /sys/bus/hid/drivers/wiimote/<dev>/led2
3 What: /sys/bus/hid/drivers/wiimote/<dev>/led3
4 What: /sys/bus/hid/drivers/wiimote/<dev>/led4
12 What: /sys/bus/hid/drivers/wiimote/<dev>/extension
29 What: /sys/bus/hid/drivers/wiimote/<dev>/devtype
51 What: /sys/bus/hid/drivers/wiimote/<dev>/bboard_calib
57 values for all 4 sensors. The values are separated by colons and
59 First, 0kg values for all 4 sensors are written, followed by the
60 17kg values for all 4 sensors and last the 34kg values for all 4
[all …]
H A Dsysfs-bus-pci-devices-aer4 These attributes show up under all the devices that are AER capable. These
9 problematic endpoint itself (which may report all counters as 0 as it never
12 What: /sys/bus/pci/devices/<dev>/aer_dev_correctable
20 total of all the errors in the file. Sample output::
33 What: /sys/bus/pci/devices/<dev>/aer_dev_fatal
41 total of all the errors in the file. Sample output::
63 What: /sys/bus/pci/devices/<dev>/aer_dev_nonfatal
71 actual total of all the errors in the file. Sample output::
100 device, so these counters include them and are thus cumulative of all the error
103 What: /sys/bus/pci/devices/<dev>/aer_rootport_total_err_cor
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A Dipvs.sh71 ip netns exec "${ns0}" ip addr add "${cip_v4}/24" dev br0
74 ip netns exec "${ns1}" ip addr add "${gip_v4}/24" dev veth10
76 ip netns exec "${ns1}" ip addr add "${dip_v4}/24" dev veth12
79 ip netns exec "${ns2}" ip addr add "${rip_v4}/24" dev veth21
81 ip netns exec "${ns2}" ip addr add "${sip_v4}/24" dev veth20
85 dd if=/dev/urandom of="${infile}" bs="${datalen}" count=1 status=none
111 cmp "$infile" "$outfile" 2>/dev/null
122 ip netns exec "${ns0}" ip route add "${vip_v4}" via "${gip_v4}" dev br0
127 ip netns exec "${ns1}" ip addr add "${vip_v4}/32" dev lo:1
130 ip netns exec "${ns2}" sysctl -qw net.ipv4.conf.all.arp_ignore=1
[all …]
/linux/drivers/net/dsa/mv88e6xxx/
H A Dglobal1_atu.c72 dev_dbg(chip->dev, "AgeTime set to 0x%02x (%d ms)\n", age_time, in mv88e6xxx_g1_atu_set_age_time()
338 bool all) in mv88e6xxx_g1_atu_flushmove() argument
352 if (all && fid) in mv88e6xxx_g1_atu_flushmove()
356 else if (all) in mv88e6xxx_g1_atu_flushmove()
364 int mv88e6xxx_g1_atu_flush(struct mv88e6xxx_chip *chip, u16 fid, bool all) in mv88e6xxx_g1_atu_flush() argument
370 return mv88e6xxx_g1_atu_flushmove(chip, fid, &entry, all); in mv88e6xxx_g1_atu_flush()
374 int from_port, int to_port, bool all) in mv88e6xxx_g1_atu_move() argument
390 return mv88e6xxx_g1_atu_flushmove(chip, fid, &entry, all); in mv88e6xxx_g1_atu_move()
394 bool all) in mv88e6xxx_g1_atu_remove() argument
399 return mv88e6xxx_g1_atu_move(chip, fid, from_port, to_port, all); in mv88e6xxx_g1_atu_remove()
[all …]
/linux/tools/build/
H A DMakefile.feature11 …ECK_LDFLAGS-$(1))" -C $(feature_dir) $(OUTPUT_FEATURES)test-$1.bin >/dev/null 2>/dev/null && echo …
92 stackprotector-all \
137 ifeq ($(FEATURE_TESTS),all)
173 FEATURE_CHECK_CFLAGS-$(1) := $(shell $(PKG_CONFIG) --cflags $(1) 2>/dev/null)
174 FEATURE_CHECK_LDFLAGS-$(1) := $(shell $(PKG_CONFIG) --libs $(1) 2>/dev/null)
187 FEATURE_CHECK_CFLAGS-all += $(FEATURE_CHECK_CFLAGS-$(1))
188 FEATURE_CHECK_LDFLAGS-all += $(FEATURE_CHECK_LDFLAGS-$(1))
196 $(call feature_check,all,$(MSG))
202 ifeq ($(feature-all), 1)
/linux/tools/perf/tests/shell/coresight/
H A DMakefile13 all: $(SUBDIRS) target
15 @$(MAKE) -C $@ >/dev/null
21 @$(MAKE) -C $(@:install-%=%) install-tests >/dev/null
27 $(call QUIET_CLEAN, test-$(@:clean-%=%)) $(MAKE) -C $(@:clean-%=%) clean >/dev/null
29 .PHONY: all clean $(SUBDIRS) $(CLEANDIRS) $(INSTALLDIRS)
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-net.rst26 | **bpftool** **net** { **show** | **list** } [ **dev** *NAME* ]
27 | **bpftool** **net attach** *ATTACH_TYPE* *PROG* **dev** *NAME* [ **overwrite** ]
28 | **bpftool** **net detach** *ATTACH_TYPE* **dev** *NAME*
36 bpftool net { show | list } [ dev *NAME* ]
52 The current output will start with all xdp program attachments, followed by
53 all tcx, netkit, then tc class/qdisc bpf program attachments, then
57 will be first all bpf programs attached to tcx, netkit, then tc classes,
58 then all bpf programs attached to non clsact qdiscs, and finally all bpf
61 bpftool net attach *ATTACH_TYPE* *PROG* dev *NAME* [ overwrite ]
75 bpftool net detach *ATTACH_TYPE* dev *NAME*
[all …]
/linux/Documentation/admin-guide/device-mapper/
H A Dlog-writes.rst5 This target takes 2 devices, one to pass all IO to normally, and one to log all
22 This works by attaching all WRITE requests to a list once the write completes.
24 the FLUSH request completes we log all of the WRITEs and then the FLUSH. Only
43 have all the DISCARD requests, and then the WRITE requests and then the FLUSH
62 dev_path Device that all of the IO will go to normally.
85 mkfs.btrfs -f /dev/mapper/log
107 TABLE="0 $(blockdev --getsz /dev/sdb) log-writes /dev/sdb /dev/sdc"
109 mkfs.btrfs -f /dev/mapper/log
112 mount /dev/mapper/log /mnt/btrfs-test
119 replay-log --log /dev/sdc --replay /dev/sdb --end-mark fsync
[all …]

12345678910>>...34