/linux/tools/testing/selftests/net/forwarding/ |
H A D | Makefile | 3 TEST_PROGS = bridge_fdb_learning_limit.sh \ 4 bridge_igmp.sh \ 5 bridge_locked_port.sh \ 6 bridge_mdb.sh \ 7 bridge_mdb_host.sh \ 8 bridge_mdb_max.sh \ 9 bridge_mdb_port_down.sh \ 10 bridge_mld.sh \ 11 bridge_port_isolation.sh \ 12 bridge_sticky_fdb.sh \ [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | Makefile | 9 TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh \ 10 rtnetlink.sh xfrm_policy.sh test_blackhole_dev.sh 11 TEST_PROGS += fib_tests.sh fib-onlink-tests.sh pmtu.sh udpgso.sh ip_defrag.sh 12 TEST_PROGS += udpgso_bench.sh fib_rule_tests.sh msg_zerocopy.sh psock_snd.sh 13 TEST_PROGS += udpgro_bench.sh udpgro.sh test_vxlan_under_vrf.sh reuseport_addr_any.sh 14 TEST_PROGS += test_vxlan_fdb_changelink.sh so_txtime.sh ipv6_flowlabel.sh 15 TEST_PROGS += tcp_fastopen_backup_key.sh fcnal-test.sh l2tp.sh traceroute.sh 16 TEST_PROGS += fin_ack_lat.sh fib_nexthop_multiprefix.sh fib_nexthops.sh fib_nexthop_nongw.sh 17 TEST_PROGS += altnames.sh icmp.sh icmp_redirect.sh ip6_gre_headroom.sh 18 TEST_PROGS += route_localnet.sh [all …]
|
H A D | psock_snd.sh | 25 ./in_netns.sh ./psock_snd -d 28 ./in_netns.sh ./psock_snd -d -b 31 ./in_netns.sh ./psock_snd 34 ./in_netns.sh ./psock_snd -b 37 ./in_netns.sh ./psock_snd -q 40 ./in_netns.sh ./psock_snd -V 43 ./in_netns.sh ./psock_snd -v 46 ./in_netns.sh ./psock_snd -v -c 49 (! ./in_netns.sh ./psock_snd -v -c -C) 55 ./in_netns.sh ./psock_snd -l 0 [all …]
|
H A D | ipv6_flowlabel.sh | 1 #!/bin/sh 11 ./in_netns.sh ./ipv6_flowlabel_mgr 14 ./in_netns.sh \ 15 sh -c 'sysctl -q -w net.ipv6.auto_flowlabels=0 && ./ipv6_flowlabel -l 1' 18 ./in_netns.sh \ 19 sh -c 'sysctl -q -w net.ipv6.auto_flowlabels=1 && ./ipv6_flowlabel -l 1' 22 ./in_netns.sh \ 23 sh -c 'sysctl -q -w net.ipv6.flowlabel_reflect=4 && \ 28 ./in_netns.sh \ 29 sh -c './ipv6_flowlabel -l 1 -s' [all …]
|
H A D | udpgso.sh | 1 #!/bin/sh 62 ./in_netns.sh "$0" test_dev_mtu -- ./udpgso -4 -C 65 ./in_netns.sh "$0" test_dev_mtu -- ./udpgso -4 -C -s 68 ./in_netns.sh "$0" test_dev_mtu -- ./udpgso -6 -C 71 ./in_netns.sh "$0" test_dev_mtu -- ./udpgso -6 -C -s 74 ./in_netns.sh "$0" test_route_mtu -- ./udpgso -4 -c 77 ./in_netns.sh "$0" test_route_mtu -- ./udpgso -6 -c 80 ./in_netns.sh "$0" test_dev_mtu -- ./udpgso -4 -C -m 83 ./in_netns.sh "$0" test_dev_mtu -- ./udpgso -6 -C -m 86 ./in_netns.sh "$0" test_hw_gso_hw_csum -- ./udpgso -4 -C -R [all …]
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | Makefile | 9 TEST_PROGS := br_netfilter.sh bridge_brouter.sh 10 TEST_PROGS += br_netfilter_queue.sh 11 TEST_PROGS += conntrack_icmp_related.sh 12 TEST_PROGS += conntrack_ipip_mtu.sh 13 TEST_PROGS += conntrack_tcp_unreplied.sh 14 TEST_PROGS += conntrack_sctp_collision.sh 15 TEST_PROGS += conntrack_vrf.sh 16 TEST_PROGS += conntrack_reverse_clash.sh 17 TEST_PROGS += ipvs.sh 18 TEST_PROGS += nf_conntrack_packetdrill.sh [all …]
|
/linux/drivers/md/ |
H A D | raid5.c | 26 * (in add_stripe_bio) we update the in-memory bitmap and record in sh->bm_seq 120 static inline int raid6_d0(struct stripe_head *sh) in raid6_d0() argument 122 if (sh->ddf_layout) in raid6_d0() 126 if (sh->qd_idx == sh->disks - 1) in raid6_d0() 129 return sh->qd_idx + 1; in raid6_d0() 142 static int raid6_idx_to_slot(int idx, struct stripe_head *sh, in raid6_idx_to_slot() argument 147 if (sh->ddf_layout) in raid6_idx_to_slot() 149 if (idx == sh->pd_idx) in raid6_idx_to_slot() 151 if (idx == sh->qd_idx) in raid6_idx_to_slot() 153 if (!sh->ddf_layout) in raid6_idx_to_slot() [all …]
|
H A D | raid5-cache.c | 141 /* all stripes in r5cache, in the order of seq at sh->log_start */ 193 * sect: align_bi->bi_iter.bi_sector or sh->sector 308 struct stripe_head *sh, int disks) in r5c_handle_cached_data_endio() argument 312 for (i = sh->disks; i--; ) { in r5c_handle_cached_data_endio() 313 if (sh->dev[i].written) { in r5c_handle_cached_data_endio() 314 set_bit(R5_UPTODATE, &sh->dev[i].flags); in r5c_handle_cached_data_endio() 315 r5c_return_dev_pending_writes(conf, &sh->dev[i]); in r5c_handle_cached_data_endio() 317 sh->sector, RAID5_STRIPE_SECTORS(conf), in r5c_handle_cached_data_endio() 318 !test_bit(STRIPE_DEGRADED, &sh->state), in r5c_handle_cached_data_endio() 452 void r5c_make_stripe_write_out(struct stripe_head *sh) in r5c_make_stripe_write_out() argument [all …]
|
H A D | raid5-log.h | 10 void r5l_stripe_write_finished(struct stripe_head *sh); 15 int r5c_try_caching_write(struct r5conf *conf, struct stripe_head *sh, 17 void r5c_finish_stripe_write_out(struct r5conf *conf, struct stripe_head *sh, 19 void r5c_release_extra_page(struct stripe_head *sh); 20 void r5c_use_extra_page(struct stripe_head *sh); 23 struct stripe_head *sh, int disks); 24 int r5c_cache_data(struct r5l_log *log, struct stripe_head *sh); 25 void r5c_make_stripe_write_out(struct stripe_head *sh); 35 ops_run_partial_parity(struct stripe_head *sh, struct raid5_percpu *percpu, 39 int ppl_write_stripe(struct r5conf *conf, struct stripe_head *sh); [all …]
|
/linux/tools/testing/selftests/drivers/net/dsa/ |
H A D | Makefile | 3 TEST_PROGS = bridge_locked_port.sh \ 4 bridge_mdb.sh \ 5 bridge_mld.sh \ 6 bridge_vlan_aware.sh \ 7 bridge_vlan_mcast.sh \ 8 bridge_vlan_unaware.sh \ 9 local_termination.sh \ 10 no_forwarding.sh \ 11 tc_actions.sh \ 12 test_bridge_fdb_stress.sh [all …]
|
/linux/drivers/scsi/ |
H A D | aha1542.c | 207 static int aha1542_test_port(struct Scsi_Host *sh) in aha1542_test_port() argument 212 if (inb(STATUS(sh->io_port)) == 0xff) in aha1542_test_port() 218 aha1542_intr_reset(sh->io_port); /* reset interrupts, so they don't block */ in aha1542_test_port() 220 outb(SRST | IRST /*|SCRST */ , CONTROL(sh->io_port)); in aha1542_test_port() 225 if (!wait_mask(STATUS(sh->io_port), STATMASK, INIT | IDLE, STST | DIAGF | INVDCMD | DF | CDF, 0)) in aha1542_test_port() 229 if (inb(INTRFLAGS(sh->io_port)) & INTRMASK) in aha1542_test_port() 237 aha1542_outb(sh->io_port, CMD_INQUIRY); in aha1542_test_port() 240 if (!wait_mask(STATUS(sh->io_port), DF, DF, 0, 0)) in aha1542_test_port() 242 (void)inb(DATA(sh->io_port)); in aha1542_test_port() 246 if (inb(STATUS(sh->io_port)) & DF) in aha1542_test_port() [all …]
|
/linux/tools/memory-model/scripts/ |
H A D | README | 8 checkalllitmus.sh 14 checkghlitmus.sh 21 checklitmushist.sh 24 initlitmushist.sh or newlitmushist.sh runs, comparing the 27 checklitmus.sh 32 checktheselitmus.sh 35 expected results. This takes optional parseargs.sh arguments, 39 cmplitmushist.sh 46 initlitmushist.sh 52 judgelitmus.sh [all …]
|
H A D | runlitmushist.sh | 9 # sh runlitmushist.sh 12 # This script uses environment variables produced by parseargs.sh. 18 . scripts/hwfnseg.sh 20 T=/tmp/runlitmushist.sh.$$ 35 echo T=$T >> $T/$i.sh 36 cat << '___EOF___' >> $T/$i.sh 38 if scripts/runlitmus.sh $1 67 }' | sh | sort -k1n | 70 print "if test -z " dq hwfnseg dq " || scripts/simpletest.sh " dq $2 dq 72 print "\techo runtest " dq $2 dq " " hwfnseg " >> " t "/" NR % ncpu ".sh"; [all …]
|
H A D | checklitmushist.sh | 1 #!/bin/sh 6 # runs from initlitmushist.sh and/or newlitmushist.sh. 8 # sh checklitmushist.sh 11 # See scripts/parseargs.sh for list of arguments. 17 . scripts/parseargs.sh 19 T=/tmp/checklitmushist.sh.$$ 27 echo Run scripts/initlitmushist.sh first, need litmus repo. 35 find litmus -type d -print | ( cd $T/results; sed -e 's/^/mkdir -p /' | sh ) 47 scripts/runlitmushist.sh < $T/list-C-short > $T/runlitmushist.sh.out 2>&1 56 sed -e 's,^.*$,cp & '"$ddir"'/&.new,' | sh ) [all …]
|
/linux/tools/testing/selftests/damon/ |
H A D | Makefile | 9 TEST_FILES = _chk_dependency.sh _debugfs_common.sh 12 TEST_PROGS = debugfs_attrs.sh debugfs_schemes.sh debugfs_target_ids.sh 13 TEST_PROGS += sysfs.sh 17 TEST_PROGS += reclaim.sh lru_sort.sh 20 TEST_PROGS += debugfs_empty_targets.sh debugfs_huge_count_read_write.sh 21 TEST_PROGS += debugfs_duplicate_context_creation.sh 22 TEST_PROGS += debugfs_rm_non_contexts.sh 23 TEST_PROGS += debugfs_target_ids_read_before_terminate_race.sh 24 TEST_PROGS += debugfs_target_ids_pid_leak.sh 25 TEST_PROGS += sysfs_update_removed_scheme_dir.sh
|
/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | Makefile | 3 TEST_PROGS = devlink.sh \ 4 devlink_in_netns.sh \ 5 devlink_trap.sh \ 6 ethtool-coalesce.sh \ 7 ethtool-fec.sh \ 8 ethtool-pause.sh \ 9 ethtool-ring.sh \ 10 fib.sh \ 11 hw_stats_l3.sh \ 12 nexthop.sh \ [all …]
|
/linux/tools/testing/selftests/drivers/net/bonding/ |
H A D | Makefile | 5 bond-arp-interval-causes-panic.sh \ 6 bond-break-lacpdu-tx.sh \ 7 bond-lladdr-target.sh \ 8 dev_addr_lists.sh \ 9 mode-1-recovery-updelay.sh \ 10 mode-2-recovery-updelay.sh \ 11 bond_options.sh \ 12 bond-eth-type-change.sh \ 13 bond_macvlan.sh 16 lag_lib.sh \ [all …]
|
/linux/Documentation/arch/sh/ |
H A D | new-machine.rst | 7 Paul Mundt <lethal@linux-sh.org> 12 and the 2.5/2.6 SH backend. 19 in arch/sh/kernel/ directly, with board-specific headers ending up in 20 include/asm-sh/. For the new kernel, things are broken out by board type, 28 | `-- sh 38 `-- asm-sh 50 `-- sh 57 board-specific headers. Thus, include/asm-sh/hd64461 is home to all of the 64 | `-- sh 68 | | | `-- SH-2 generic files [all …]
|
/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm-remote.sh | 6 # Usage: kvm-remote.sh "systems" [ <kvm.sh args> ] 7 # kvm-remote.sh "systems" /path/to/old/run [ <kvm-again.sh args> ] 24 . functions.sh 37 # T: /tmp/kvm-remote.sh.NNNNNN where "NNNNNN" is set by mktemp 38 # resdir: /tmp/kvm-remote.sh.NNNNNN/res 39 # rundir: /tmp/kvm-remote.sh.NNNNNN/res/$ds ("-remote" suffix) 43 # TD: kvm-remote.sh.NNNNNN 46 T="`mktemp -d ${TMPDIR-/tmp}/kvm-remote.sh.XXXXXX`" 68 kvm.sh --remote "$@" $datestamp --buildonly > $T/kvm.sh.out 2>&1 72 echo $scriptname: kvm.sh failed exit code $? [all …]
|
H A D | configinit.sh | 4 # Usage: configinit.sh config-spec-file results-dir 18 T="`mktemp -d ${TMPDIR-/tmp}/configinit.sh.XXXXXX`" 26 sed -e 's/^\(CONFIG[0-9A-Z_]*\)=.*$/grep -v "^# \1" |/' < $c > $T/u.sh 27 sed -e 's/^\(CONFIG[0-9A-Z_]*=\).*$/grep -v \1 |/' < $c >> $T/u.sh 28 grep '^grep' < $T/u.sh > $T/upd.sh 29 echo "cat - $c" >> $T/upd.sh 36 sh $T/upd.sh < .config.sav > .config 41 configcheck.sh .config $c
|
/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | Makefile | 6 ethtool.sh \ 7 ethtool_extended_state.sh \ 8 ethtool_mm.sh \ 9 ethtool_rmon.sh \ 10 hw_stats_l3.sh \ 11 hw_stats_l3_gre.sh \ 12 loopback.sh \ 18 ethtool_lib.sh \ 23 ../../../net/lib.sh \ 24 ../../../net/forwarding/lib.sh \ [all …]
|
/linux/tools/testing/selftests/net/mptcp/ |
H A D | Makefile | 7 TEST_PROGS := mptcp_connect.sh pm_netlink.sh mptcp_join.sh diag.sh \ 8 simult_flows.sh mptcp_sockopt.sh userspace_pm.sh 12 TEST_FILES := mptcp_lib.sh settings 14 TEST_INCLUDES := ../lib.sh ../net_helper.sh
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
H A D | phy_cmn.c | 121 wlapi_bmac_ucode_wake_override_phyreg_set(pi->sh->physhim); in wlc_phyreg_enter() 127 wlapi_bmac_ucode_wake_override_phyreg_clear(pi->sh->physhim); in wlc_phyreg_exit() 133 wlapi_bmac_mctrl(pi->sh->physhim, MCTL_LOCK_RADIO, MCTL_LOCK_RADIO); in wlc_radioreg_enter() 144 wlapi_bmac_mctrl(pi->sh->physhim, MCTL_LOCK_RADIO, 0); in wlc_radioreg_exit() 174 if ((D11REV_GE(pi->sh->corerev, 24)) || in read_radio_reg() 175 (D11REV_IS(pi->sh->corerev, 22) in read_radio_reg() 190 if ((D11REV_GE(pi->sh->corerev, 24)) || in write_radio_reg() 191 (D11REV_IS(pi->sh->corerev, 22) in write_radio_reg() 212 if (D11REV_GE(pi->sh->corerev, 24)) { in read_radio_id() 356 struct shared_phy *sh; in wlc_phy_shared_attach() local [all …]
|
/linux/tools/testing/selftests/ftrace/test.d/kprobe/ |
H A D | uprobe_syntax_errors.tc | 1 #!/bin/sh 12 check_error 'p /bin/sh:^10a' # BAD_UPROBE_OFFS 13 check_error 'p /bin/sh:10(^1a)' # BAD_REFCNT 14 check_error 'p /bin/sh:10(10^' # REFCNT_OPEN_BRACE 15 check_error 'p /bin/sh:10(10)^a' # BAD_REFCNT_SUFFIX 17 check_error 'p /bin/sh:10 ^@+ab' # BAD_FILE_OFFS 18 check_error 'p /bin/sh:10 ^@symbol' # SYM_ON_UPROBE 22 check_error 'p /bin/sh:10^%hoge' # BAD_ADDR_SUFFIX 23 check_error 'p /bin/sh:10(10)^%return' # BAD_REFCNT_SUFFIX 28 check_error 'p /bin/sh:10 $stack0:^symstr' # BAD_TYPE
|
/linux/tools/testing/selftests/livepatch/ |
H A D | Makefile | 5 TEST_PROGS_EXTENDED := functions.sh 7 test-livepatch.sh \ 8 test-callbacks.sh \ 9 test-shadow-vars.sh \ 10 test-state.sh \ 11 test-ftrace.sh \ 12 test-sysfs.sh \ 13 test-syscall.sh
|