Home
last modified time | relevance | path

Searched refs:sh (Results 1 – 25 of 1021) sorted by relevance

12345678910>>...41

/linux/tools/testing/selftests/net/forwarding/
H A DMakefile3 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 DMakefile9 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 Dpsock_snd.sh25 ./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 Dipv6_flowlabel.sh11 ./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'
32 ./in_netns.sh \
[all …]
H A Dudpgso.sh62 ./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
89 ./in_netns.sh "$0" test_hw_gso_hw_csum -- ./udpgso -6 -C -R
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A DMakefile9 TEST_PROGS := br_netfilter.sh bridge_brouter.sh
10 TEST_PROGS += br_netfilter_queue.sh
11 TEST_PROGS += conntrack_dump_flush.sh
12 TEST_PROGS += conntrack_icmp_related.sh
13 TEST_PROGS += conntrack_ipip_mtu.sh
14 TEST_PROGS += conntrack_tcp_unreplied.sh
15 TEST_PROGS += conntrack_sctp_collision.sh
16 TEST_PROGS += conntrack_vrf.sh
17 TEST_PROGS += conntrack_reverse_clash.sh
18 TEST_PROGS += ipvs.sh
[all …]
/linux/drivers/scsi/
H A Daha1542.c207 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 …]
H A Dfdomain.c182 static int fdomain_select(struct Scsi_Host *sh, int target) in fdomain_select() argument
186 struct fdomain *fd = shost_priv(sh); in fdomain_select()
189 outb(BIT(sh->this_id) | BIT(target), fd->base + REG_SCSI_DATA_NOACK); in fdomain_select()
268 struct Scsi_Host *sh = container_of((void *)fd, struct Scsi_Host, in fdomain_work() local
276 spin_lock_irqsave(sh->host_lock, flags); in fdomain_work()
383 spin_unlock_irqrestore(sh->host_lock, flags); in fdomain_work()
405 static int fdomain_queue(struct Scsi_Host *sh, struct scsi_cmnd *cmd) in fdomain_queue() argument
418 spin_lock_irqsave(sh->host_lock, flags); in fdomain_queue()
433 spin_unlock_irqrestore(sh->host_lock, flags); in fdomain_queue()
440 struct Scsi_Host *sh = cmd->device->host; in fdomain_abort() local
[all …]
/linux/drivers/md/
H A Draid5.c120 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()
160 static int stripe_operations_active(struct stripe_head *sh) in stripe_operations_active() argument
[all …]
H A Draid5-cache.c308 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
454 struct r5conf *conf = sh->raid_conf; in r5c_make_stripe_write_out()
459 WARN_ON(!test_bit(STRIPE_R5C_CACHING, &sh->state)); in r5c_make_stripe_write_out()
[all …]
H A Draid5-log.h10 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 DMakefile3 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/tools/testing/selftests/drivers/net/netdevsim/
H A DMakefile3 TEST_PROGS = devlink.sh \
4 devlink_in_netns.sh \
5 devlink_trap.sh \
6 ethtool-coalesce.sh \
7 ethtool-features.sh \
8 ethtool-fec.sh \
9 ethtool-pause.sh \
10 ethtool-ring.sh \
11 fib.sh \
12 fib_notifications.sh \
[all...]
/linux/tools/testing/selftests/damon/
H A DMakefile9 TEST_FILES = _chk_dependency.sh _debugfs_common.sh _damon_sysfs.py
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/bonding/
H A DMakefile5 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/tools/testing/selftests/net/mptcp/
H A DMakefile7 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 $(wildcard ../lib/sh/*.sh) ../net_helper.sh
/linux/tools/testing/selftests/drivers/net/hw/
H A DMakefile7 ethtool.sh \
8 ethtool_extended_state.sh \
9 ethtool_mm.sh \
10 ethtool_rmon.sh \
11 hw_stats_l3.sh \
12 hw_stats_l3_gre.sh \
13 loopback.sh \
21 ethtool_lib.sh \
26 ../../../net/lib.sh \
27 ../../../net/forwarding/lib.sh \
[all...]
/linux/tools/testing/selftests/x86/
H A Dsyscall_numbering.c76 static volatile struct shared *sh; variable
80 unsigned int level = sh ? sh->indent : 0; in offset()
95 sh->nerr++; \
100 sh->indent = 0; \
133 sh->probing_syscall = true; in probe_syscall()
140 sh->probing_syscall = false; in probe_syscall()
175 sh->indent++; in _check_for()
177 sh->indent++; in _check_for()
191 sh->indent--; in _check_for()
203 sh->indent--; in _check_for()
[all …]
/linux/tools/memory-model/scripts/
H A DREADME8 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 Drunlitmushist.sh18 . scripts/hwfnseg.sh
20 T=/tmp/runlitmushist.sh.$$
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";
78 print "sh " t "/" i ".sh > " t "/" i ".sh.out 2>&1 &";
79 close(t "/" i ".sh");
88 nfail="`grep '!!!' $T/*.sh.out | wc -l`"
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_cmn.c121 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/lib/crypto/mpi/
H A Dlonglong.h114 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument
117 : "=r" ((USItype)(sh)), \
123 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument
126 : "=r" ((USItype)(sh)), \
176 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument
179 : "=r" (sh), \
185 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ argument
188 : "=r" (sh), \
263 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ argument
266 : "=g" ((USItype)(sh)), \
[all …]
/linux/tools/testing/selftests/livepatch/
H A DMakefile5 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 \
14 test-kprobe.sh
/linux/drivers/xen/events/
H A Devents_2l.c148 struct shared_info *sh, in active_evtchns() argument
151 return sh->evtchn_pending[idx] & in active_evtchns()
153 ~sh->evtchn_mask[idx]; in active_evtchns()
266 struct shared_info *sh = HYPERVISOR_shared_info; in xen_debug_interrupt() local
292 for (i = ARRAY_SIZE(sh->evtchn_pending)-1; i >= 0; i--) in xen_debug_interrupt()
294 (int)sizeof(sh->evtchn_pending[0])*2, in xen_debug_interrupt()
295 sh->evtchn_pending[i], in xen_debug_interrupt()
298 for (i = ARRAY_SIZE(sh->evtchn_mask)-1; i >= 0; i--) in xen_debug_interrupt()
300 (int)(sizeof(sh->evtchn_mask[0])*2), in xen_debug_interrupt()
301 sh->evtchn_mask[i], in xen_debug_interrupt()
[all …]
/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-remote.sh24 . functions.sh
68 kvm.sh --remote "$@" $datestamp --buildonly > $T/kvm.sh.out 2>&1
72 echo $scriptname: kvm.sh failed exit code $?
73 cat $T/kvm.sh.out
80 echo " ----" kvm.sh output: "(`date`)" | tee -a "$oldrun/remote-log"
81 cat $T/kvm.sh.out | tee -a "$oldrun/remote-log"
84 kvm-again.sh $oldrun --dryrun --remote --rundir "$rundir" > $T/kvm-again.sh.out 2>&1
88 echo $scriptname: kvm-again.sh failed exit code $? | tee -a "$oldrun/remote-log"
89 cat $T/kvm-again.sh.out | tee -a "$oldrun/remote-log"
102 kvm-again.sh "$oldrun" "$@" --dryrun --remote --rundir "$rundir" > $T/kvm-again.sh.out 2>&1
[all …]

12345678910>>...41