Home
last modified time | relevance | path

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

12345678910>>...31

/Linux-v5.15/tools/testing/selftests/net/forwarding/
DMakefile3 TEST_PROGS = bridge_igmp.sh \
4 bridge_port_isolation.sh \
5 bridge_sticky_fdb.sh \
6 bridge_vlan_aware.sh \
7 bridge_vlan_unaware.sh \
8 ethtool.sh \
9 gre_inner_v4_multipath.sh \
10 gre_inner_v6_multipath.sh \
11 gre_multipath.sh \
12 ip6_forward_instats_vrf.sh \
[all …]
/Linux-v5.15/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
15 TEST_PROGS += altnames.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 …]
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-v5.15/drivers/scsi/
Daha1542.c207 static int aha1542_test_port(struct Scsi_Host *sh) in aha1542_test_port() argument
213 if (inb(STATUS(sh->io_port)) == 0xff) in aha1542_test_port()
219 aha1542_intr_reset(sh->io_port); /* reset interrupts, so they don't block */ in aha1542_test_port()
221 outb(SRST | IRST /*|SCRST */ , CONTROL(sh->io_port)); in aha1542_test_port()
226 if (!wait_mask(STATUS(sh->io_port), STATMASK, INIT | IDLE, STST | DIAGF | INVDCMD | DF | CDF, 0)) in aha1542_test_port()
230 if (inb(INTRFLAGS(sh->io_port)) & INTRMASK) in aha1542_test_port()
238 aha1542_outb(sh->io_port, CMD_INQUIRY); in aha1542_test_port()
241 if (!wait_mask(STATUS(sh->io_port), DF, DF, 0, 0)) in aha1542_test_port()
243 inquiry_result[i] = inb(DATA(sh->io_port)); in aha1542_test_port()
247 if (inb(STATUS(sh->io_port)) & DF) in aha1542_test_port()
[all …]
Dfdomain.c177 static int fdomain_select(struct Scsi_Host *sh, int target) in fdomain_select() argument
181 struct fdomain *fd = shost_priv(sh); in fdomain_select()
184 outb(BIT(sh->this_id) | BIT(target), fd->base + REG_SCSI_DATA_NOACK); in fdomain_select()
263 struct Scsi_Host *sh = container_of((void *)fd, struct Scsi_Host, in fdomain_work() local
270 spin_lock_irqsave(sh->host_lock, flags); in fdomain_work()
377 spin_unlock_irqrestore(sh->host_lock, flags); in fdomain_work()
399 static int fdomain_queue(struct Scsi_Host *sh, struct scsi_cmnd *cmd) in fdomain_queue() argument
411 spin_lock_irqsave(sh->host_lock, flags); in fdomain_queue()
426 spin_unlock_irqrestore(sh->host_lock, flags); in fdomain_queue()
433 struct Scsi_Host *sh = cmd->device->host; in fdomain_abort() local
[all …]
/Linux-v5.15/drivers/md/
Draid5.c112 static inline int raid6_d0(struct stripe_head *sh) in raid6_d0() argument
114 if (sh->ddf_layout) in raid6_d0()
118 if (sh->qd_idx == sh->disks - 1) in raid6_d0()
121 return sh->qd_idx + 1; in raid6_d0()
134 static int raid6_idx_to_slot(int idx, struct stripe_head *sh, in raid6_idx_to_slot() argument
139 if (sh->ddf_layout) in raid6_idx_to_slot()
141 if (idx == sh->pd_idx) in raid6_idx_to_slot()
143 if (idx == sh->qd_idx) in raid6_idx_to_slot()
145 if (!sh->ddf_layout) in raid6_idx_to_slot()
152 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 extern void r5l_stripe_write_finished(struct stripe_head *sh);
16 r5c_try_caching_write(struct r5conf *conf, struct stripe_head *sh,
19 r5c_finish_stripe_write_out(struct r5conf *conf, struct stripe_head *sh,
21 extern void r5c_release_extra_page(struct stripe_head *sh);
22 extern void r5c_use_extra_page(struct stripe_head *sh);
25 struct stripe_head *sh, int disks);
26 extern int r5c_cache_data(struct r5l_log *log, struct stripe_head *sh);
27 extern void r5c_make_stripe_write_out(struct stripe_head *sh);
38 ops_run_partial_parity(struct stripe_head *sh, struct raid5_percpu *percpu,
42 extern 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-v5.15/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
/Linux-v5.15/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-v5.15/tools/testing/selftests/rcutorture/bin/
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 …]
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-end-run-stats.sh17 echo kvm-end-run-stats.sh: Specified run directory does not exist: $rundir
21 T=${TMPDIR-/tmp}/kvm-end-run-stats.sh.$$
27 . functions.sh
35 kcsan-collapse.sh "$rundir" | tee -a "$rundir/log"
36 kvm-recheck.sh "$rundir" > $T/kvm-recheck.sh.out 2>&1
38 cat $T/kvm-recheck.sh.out | tee -a "$rundir/log"
/Linux-v5.15/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
DREADME8 checkalllitmus.sh
14 checkghlitmus.sh
21 checklitmushist.sh
24 initlitmushist.sh or newlitmushist.sh runs, comparing the
27 checklitmus.sh
31 cmplitmushist.sh
38 initlitmushist.sh
44 judgelitmus.sh
51 newlitmushist.sh
57 parseargs.sh
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/tools/testing/selftests/bpf/
Dtest_flow_dissector.sh55 ../net/in_netns.sh "$0" "$@"
120 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e bare -i 4 \
123 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e bare -i 4 \
126 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e bare -i 4 \
131 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e gre -i 4 \
134 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e gre -i 4 \
137 ./with_addr.sh ./with_tunnels.sh ./test_flow_dissector -o 4 -e gre -i 4 \
/Linux-v5.15/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager.c102 int i, se, sh, cu; in mqd_symmetrically_map_cu_mask() local
132 for (sh = 0; sh < cu_info.num_shader_arrays_per_engine; sh++) in mqd_symmetrically_map_cu_mask()
133 cu_per_sh[se][sh] = hweight32(cu_info.cu_bitmap[se % 4][sh + (se / 4)]); in mqd_symmetrically_map_cu_mask()
163 for (sh = 0; sh < cu_info.num_shader_arrays_per_engine; sh++) { in mqd_symmetrically_map_cu_mask()
165 if (cu_per_sh[se][sh] > cu) { in mqd_symmetrically_map_cu_mask()
167 se_mask[se] |= 1 << (cu + sh * 16); in mqd_symmetrically_map_cu_mask()
/Linux-v5.15/tools/testing/selftests/cpufreq/
DMakefile4 TEST_PROGS := main.sh
5 TEST_FILES := cpu.sh cpufreq.sh governor.sh module.sh special-tests.sh
/Linux-v5.15/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
/Linux-v5.15/arch/sh/
DMakefile14 CROSS_COMPILE := $(call cc-cross-prefix, sh-linux- sh-linux-gnu- sh-unknown-linux-gnu-)
21 isa-$(CONFIG_SH_DSP) := sh
95 boot := arch/sh/boot
102 UTS_MACHINE := sh
106 ld-bfd := elf32-sh-linux
117 head-y := arch/sh/kernel/head_32.o
140 core-y += $(addprefix arch/sh/boards/, \
148 core-$(CONFIG_HD6446X_SERIES) += arch/sh/cchips/hd6446x/
167 drivers-y += arch/sh/drivers/
169 cflags-y += $(foreach d, $(cpuincdir-y), -I $(srctree)/arch/sh/include/$(d)) \
[all …]

12345678910>>...31