Home
last modified time | relevance | path

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

12345678910>>...35

/linux-6.1.9/tools/testing/selftests/net/forwarding/
DMakefile3 TEST_PROGS = bridge_igmp.sh \
4 bridge_locked_port.sh \
5 bridge_mdb.sh \
6 bridge_mdb_port_down.sh \
7 bridge_mld.sh \
8 bridge_port_isolation.sh \
9 bridge_sticky_fdb.sh \
10 bridge_vlan_aware.sh \
11 bridge_vlan_mcast.sh \
12 bridge_vlan_unaware.sh \
[all …]
/linux-6.1.9/tools/testing/selftests/net/
DMakefile7 TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh \
8 rtnetlink.sh xfrm_policy.sh test_blackhole_dev.sh
9 TEST_PROGS += fib_tests.sh fib-onlink-tests.sh pmtu.sh udpgso.sh ip_defrag.sh
10 TEST_PROGS += udpgso_bench.sh fib_rule_tests.sh msg_zerocopy.sh psock_snd.sh
11 TEST_PROGS += udpgro_bench.sh udpgro.sh test_vxlan_under_vrf.sh reuseport_addr_any.sh
12 TEST_PROGS += test_vxlan_fdb_changelink.sh so_txtime.sh ipv6_flowlabel.sh
13 TEST_PROGS += tcp_fastopen_backup_key.sh fcnal-test.sh l2tp.sh traceroute.sh
14 TEST_PROGS += fin_ack_lat.sh fib_nexthop_multiprefix.sh fib_nexthops.sh fib_nexthop_nongw.sh
15 TEST_PROGS += altnames.sh icmp.sh icmp_redirect.sh ip6_gre_headroom.sh
16 TEST_PROGS += route_localnet.sh
[all …]
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 …]
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 …]
Dudpgso.sh7 ./in_netns.sh ./udpgso -4 -C
10 ./in_netns.sh ./udpgso -4 -C -s
13 ./in_netns.sh ./udpgso -6 -C
16 ./in_netns.sh ./udpgso -6 -C -s
19 ./in_netns.sh ./udpgso -4 -c
26 ./in_netns.sh ./udpgso -4 -C -m
29 ./in_netns.sh ./udpgso -6 -C -m
/linux-6.1.9/drivers/scsi/
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 …]
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-6.1.9/drivers/md/
Draid5.c119 static inline int raid6_d0(struct stripe_head *sh) in raid6_d0() argument
121 if (sh->ddf_layout) in raid6_d0()
125 if (sh->qd_idx == sh->disks - 1) in raid6_d0()
128 return sh->qd_idx + 1; in raid6_d0()
141 static int raid6_idx_to_slot(int idx, struct stripe_head *sh, in raid6_idx_to_slot() argument
146 if (sh->ddf_layout) in raid6_idx_to_slot()
148 if (idx == sh->pd_idx) in raid6_idx_to_slot()
150 if (idx == sh->qd_idx) in raid6_idx_to_slot()
152 if (!sh->ddf_layout) in raid6_idx_to_slot()
159 static int stripe_operations_active(struct stripe_head *sh) in stripe_operations_active() argument
[all …]
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()
316 md_bitmap_endwrite(conf->mddev->bitmap, sh->sector, in r5c_handle_cached_data_endio()
318 !test_bit(STRIPE_DEGRADED, &sh->state), in r5c_handle_cached_data_endio()
449 void r5c_make_stripe_write_out(struct stripe_head *sh) in r5c_make_stripe_write_out() argument
451 struct r5conf *conf = sh->raid_conf; in r5c_make_stripe_write_out()
456 WARN_ON(!test_bit(STRIPE_R5C_CACHING, &sh->state)); in r5c_make_stripe_write_out()
[all …]
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 …]
Draid5-ppl.c158 ops_run_partial_parity(struct stripe_head *sh, struct raid5_percpu *percpu, in ops_run_partial_parity() argument
161 int disks = sh->disks; in ops_run_partial_parity()
163 int count = 0, pd_idx = sh->pd_idx, i; in ops_run_partial_parity()
166 pr_debug("%s: stripe %llu\n", __func__, (unsigned long long)sh->sector); in ops_run_partial_parity()
174 if (sh->reconstruct_state == reconstruct_state_prexor_drain_run) { in ops_run_partial_parity()
180 srcs[count++] = sh->dev[pd_idx].page; in ops_run_partial_parity()
181 } else if (sh->reconstruct_state == reconstruct_state_drain_run) { in ops_run_partial_parity()
184 struct r5dev *dev = &sh->dev[i]; in ops_run_partial_parity()
193 NULL, sh, (void *) (srcs + sh->disks + 2)); in ops_run_partial_parity()
196 tx = async_memcpy(sh->ppl_page, srcs[0], 0, 0, PAGE_SIZE, in ops_run_partial_parity()
[all …]
/linux-6.1.9/tools/testing/selftests/netfilter/
DMakefile4 TEST_PROGS := nft_trans_stress.sh nft_fib.sh nft_nat.sh bridge_brouter.sh \
5 conntrack_icmp_related.sh nft_flowtable.sh ipvs.sh \
6 nft_concat_range.sh nft_conntrack_helper.sh \
7 nft_queue.sh nft_meta.sh nf_nat_edemux.sh \
8 ipip-conntrack-mtu.sh conntrack_tcp_unreplied.sh \
9 conntrack_vrf.sh nft_synproxy.sh rpath.sh
/linux-6.1.9/tools/testing/selftests/drivers/net/dsa/
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-6.1.9/tools/testing/selftests/damon/
DMakefile6 TEST_FILES = _chk_dependency.sh _debugfs_common.sh
7 TEST_PROGS = debugfs_attrs.sh debugfs_schemes.sh debugfs_target_ids.sh
8 TEST_PROGS += debugfs_empty_targets.sh debugfs_huge_count_read_write.sh
9 TEST_PROGS += debugfs_duplicate_context_creation.sh
10 TEST_PROGS += sysfs.sh
/linux-6.1.9/tools/testing/selftests/x86/
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-6.1.9/tools/testing/selftests/rcutorture/bin/
Dconfiginit.sh18 T=${TMPDIR-/tmp}/configinit.sh.$$
27 sed -e 's/^\(CONFIG[0-9A-Z_]*\)=.*$/grep -v "^# \1" |/' < $c > $T/u.sh
28 sed -e 's/^\(CONFIG[0-9A-Z_]*=\).*$/grep -v \1 |/' < $c >> $T/u.sh
29 grep '^grep' < $T/u.sh > $T/upd.sh
30 echo "cat - $c" >> $T/upd.sh
37 sh $T/upd.sh < .config.sav > .config
42 configcheck.sh .config $c
Dkvm-remote.sh24 . functions.sh
46 TD=kvm-remote.sh.$$
69 kvm.sh --remote "$@" $datestamp --buildonly > $T/kvm.sh.out 2>&1
73 echo $scriptname: kvm.sh failed exit code $?
74 cat $T/kvm.sh.out
81 echo " ----" kvm.sh output: "(`date`)" | tee -a "$oldrun/remote-log"
82 cat $T/kvm.sh.out | tee -a "$oldrun/remote-log"
85 kvm-again.sh $oldrun --dryrun --remote --rundir "$rundir" > $T/kvm-again.sh.out 2>&1
89 echo $scriptname: kvm-again.sh failed exit code $? | tee -a "$oldrun/remote-log"
90 cat $T/kvm-again.sh.out | tee -a "$oldrun/remote-log"
[all …]
/linux-6.1.9/tools/memory-model/scripts/
Dchecklitmushist.sh17 . 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 )
59 sh scripts/cmplitmushist.sh
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
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-6.1.9/lib/mpi/
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-6.1.9/tools/testing/selftests/livepatch/
DMakefile3 TEST_PROGS_EXTENDED := functions.sh
5 test-livepatch.sh \
6 test-callbacks.sh \
7 test-shadow-vars.sh \
8 test-state.sh \
9 test-ftrace.sh \
10 test-sysfs.sh
/linux-6.1.9/drivers/xen/events/
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-6.1.9/tools/testing/selftests/net/mptcp/
DMakefile7 TEST_PROGS := mptcp_connect.sh pm_netlink.sh mptcp_join.sh diag.sh \
8 simult_flows.sh mptcp_sockopt.sh userspace_pm.sh
/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_flow_dissector.sh57 ../net/in_netns.sh "$0" "$@"
130 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e bare -i 4 \
133 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e bare -i 4 \
136 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e bare -i 4 \
141 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e gre -i 4 \
144 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e gre -i 4 \
147 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e gre -i 4 \
/linux-6.1.9/tools/testing/selftests/cpufreq/
DMakefile4 TEST_PROGS := main.sh
5 TEST_FILES := cpu.sh cpufreq.sh governor.sh module.sh special-tests.sh

12345678910>>...35