Home
last modified time | relevance | path

Searched full:sh (Results 1 – 25 of 2599) sorted by relevance

12345678910>>...104

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.sh1 #!/bin/sh
7 ./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
23 # ./in_netns.sh ./udpgso -6 -c
26 ./in_netns.sh ./udpgso -4 -C -m
29 ./in_netns.sh ./udpgso -6 -C -m
/kernel/linux/linux-4.19/drivers/md/
Draid5.c34 * (in add_stripe_bio) we update the in-memory bitmap and record in sh->bm_seq
121 static inline int raid6_d0(struct stripe_head *sh) in raid6_d0() argument
123 if (sh->ddf_layout) in raid6_d0()
127 if (sh->qd_idx == sh->disks - 1) in raid6_d0()
130 return sh->qd_idx + 1; in raid6_d0()
143 static int raid6_idx_to_slot(int idx, struct stripe_head *sh, in raid6_idx_to_slot() argument
148 if (sh->ddf_layout) in raid6_idx_to_slot()
150 if (idx == sh->pd_idx) in raid6_idx_to_slot()
152 if (idx == sh->qd_idx) in raid6_idx_to_slot()
154 if (!sh->ddf_layout) in raid6_idx_to_slot()
[all …]
Draid5-cache.c150 /* all stripes in r5cache, in the order of seq at sh->log_start */
202 * sect: align_bi->bi_iter.bi_sector or sh->sector
319 struct stripe_head *sh, int disks) in r5c_handle_cached_data_endio() argument
323 for (i = sh->disks; i--; ) { in r5c_handle_cached_data_endio()
324 if (sh->dev[i].written) { in r5c_handle_cached_data_endio()
325 set_bit(R5_UPTODATE, &sh->dev[i].flags); in r5c_handle_cached_data_endio()
326 r5c_return_dev_pending_writes(conf, &sh->dev[i]); in r5c_handle_cached_data_endio()
327 md_bitmap_endwrite(conf->mddev->bitmap, sh->sector, in r5c_handle_cached_data_endio()
329 !test_bit(STRIPE_DEGRADED, &sh->state), in r5c_handle_cached_data_endio()
460 void r5c_make_stripe_write_out(struct stripe_head *sh) in r5c_make_stripe_write_out() argument
[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 …]
/kernel/linux/linux-5.10/drivers/md/
Draid5.c26 * (in add_stripe_bio) we update the in-memory bitmap and record in sh->bm_seq
112 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()
[all …]
Draid5-cache.c141 /* 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()
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
[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 …]
/kernel/linux/linux-4.19/drivers/scsi/
Daha1542.c185 static int aha1542_test_port(struct Scsi_Host *sh) in aha1542_test_port() argument
191 if (inb(STATUS(sh->io_port)) == 0xff) in aha1542_test_port()
197 aha1542_intr_reset(sh->io_port); /* reset interrupts, so they don't block */ in aha1542_test_port()
199 outb(SRST | IRST /*|SCRST */ , CONTROL(sh->io_port)); in aha1542_test_port()
204 if (!wait_mask(STATUS(sh->io_port), STATMASK, INIT | IDLE, STST | DIAGF | INVDCMD | DF | CDF, 0)) in aha1542_test_port()
208 if (inb(INTRFLAGS(sh->io_port)) & INTRMASK) in aha1542_test_port()
214 aha1542_outb(sh->io_port, CMD_INQUIRY); in aha1542_test_port()
217 if (!wait_mask(STATUS(sh->io_port), DF, DF, 0, 0)) in aha1542_test_port()
219 inquiry_result[i] = inb(DATA(sh->io_port)); in aha1542_test_port()
223 if (inb(STATUS(sh->io_port)) & DF) in aha1542_test_port()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Daha1542.c193 static int aha1542_test_port(struct Scsi_Host *sh) in aha1542_test_port() argument
199 if (inb(STATUS(sh->io_port)) == 0xff) in aha1542_test_port()
205 aha1542_intr_reset(sh->io_port); /* reset interrupts, so they don't block */ in aha1542_test_port()
207 outb(SRST | IRST /*|SCRST */ , CONTROL(sh->io_port)); in aha1542_test_port()
212 if (!wait_mask(STATUS(sh->io_port), STATMASK, INIT | IDLE, STST | DIAGF | INVDCMD | DF | CDF, 0)) in aha1542_test_port()
216 if (inb(INTRFLAGS(sh->io_port)) & INTRMASK) in aha1542_test_port()
222 aha1542_outb(sh->io_port, CMD_INQUIRY); in aha1542_test_port()
225 if (!wait_mask(STATUS(sh->io_port), DF, DF, 0, 0)) in aha1542_test_port()
227 inquiry_result[i] = inb(DATA(sh->io_port)); in aha1542_test_port()
231 if (inb(STATUS(sh->io_port)) & DF) in aha1542_test_port()
[all …]
/kernel/linux/linux-4.19/tools/testing/selftests/net/
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 …]
DMakefile7 TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh rtnetlink.sh
8 TEST_PROGS += fib_tests.sh fib-onlink-tests.sh pmtu.sh udpgso.sh
9 TEST_PROGS += udpgso_bench.sh fib_rule_tests.sh msg_zerocopy.sh psock_snd.sh
10 TEST_PROGS_EXTENDED := in_netns.sh
Dudpgso.sh1 #!/bin/sh
7 ./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
23 # ./in_netns.sh ./udpgso -6 -c
26 ./in_netns.sh ./udpgso -4 -C -m
29 ./in_netns.sh ./udpgso -6 -C -m
/kernel/linux/linux-4.19/Documentation/sh/
Dnew-machine.txt5 Paul Mundt <lethal@linux-sh.org>
10 and the 2.5/2.6 SH backend.
17 in arch/sh/kernel/ directly, with board-specific headers ending up in
18 include/asm-sh/. For the new kernel, things are broken out by board type,
26 | `-- sh
36 `-- asm-sh
47 `-- sh
54 board-specific headers. Thus, include/asm-sh/hd64461 is home to all of the
60 | `-- sh
64 | | | `-- SH-2 generic files
[all …]
/kernel/linux/linux-5.10/tools/memory-model/scripts/
Drunlitmushist.sh9 # sh runlitmushist.sh
12 # This script uses environment variables produced by parseargs.sh.
18 T=/tmp/runlitmushist.sh.$$
33 echo dir="$LKMM_DESTDIR" > $T/$i.sh
34 echo T=$T >> $T/$i.sh
35 echo herdoptions=\"$LKMM_HERD_OPTIONS\" >> $T/$i.sh
36 cat << '___EOF___' >> $T/$i.sh
66 print "runtest " $2 >> t "/" NR % ncpu ".sh";
71 print "sh " t "/" i ".sh > " t "/" i ".sh.out 2>&1 &";
72 close(t "/" i ".sh");
[all …]
Dchecklitmushist.sh1 #!/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 …]
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 …]
/kernel/linux/linux-5.10/Documentation/sh/
Dnew-machine.rst7 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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/
DMakefile4 TEST_PROGS := nft_trans_stress.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
/kernel/linux/linux-5.10/arch/sh/
DMakefile2 # arch/sh/Makefile
14 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
119 core-y += arch/sh/kernel/ arch/sh/mm/ arch/sh/boards/
120 core-$(CONFIG_SH_FPU_EMU) += arch/sh/math-emu/
122 core-$(CONFIG_USE_BUILTIN_DTB) += arch/sh/boot/dts/
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager.c102 int i, se, sh, cu; in mqd_symmetrically_map_cu_mask() local
121 /* Count active CUs per SH. in mqd_symmetrically_map_cu_mask()
123 * Some CUs in an SH may be disabled. HW expects disabled CUs to be in mqd_symmetrically_map_cu_mask()
124 * represented in the high bits of each SH's enable mask (the upper and lower in mqd_symmetrically_map_cu_mask()
126 * disabled CUs within each SH automatically. in mqd_symmetrically_map_cu_mask()
127 * Each half of se_mask must be filled only on bits 0-cu_per_sh[se][sh]-1. in mqd_symmetrically_map_cu_mask()
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()
136 * se_mask programs up to 2 SH in the upper and lower 16 bits. in mqd_symmetrically_map_cu_mask()
139 * Assuming 1 SH/SE, 4 SEs: in mqd_symmetrically_map_cu_mask()
[all …]
/kernel/linux/linux-4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_cmn.c132 wlapi_bmac_ucode_wake_override_phyreg_set(pi->sh->physhim); in wlc_phyreg_enter()
138 wlapi_bmac_ucode_wake_override_phyreg_clear(pi->sh->physhim); in wlc_phyreg_exit()
144 wlapi_bmac_mctrl(pi->sh->physhim, MCTL_LOCK_RADIO, MCTL_LOCK_RADIO); in wlc_radioreg_enter()
155 wlapi_bmac_mctrl(pi->sh->physhim, MCTL_LOCK_RADIO, 0); in wlc_radioreg_exit()
185 if ((D11REV_GE(pi->sh->corerev, 24)) || in read_radio_reg()
186 (D11REV_IS(pi->sh->corerev, 22) in read_radio_reg()
201 if ((D11REV_GE(pi->sh->corerev, 24)) || in write_radio_reg()
202 (D11REV_IS(pi->sh->corerev, 22) in write_radio_reg()
223 if (D11REV_GE(pi->sh->corerev, 24)) { in read_radio_id()
367 struct shared_phy *sh; in wlc_phy_shared_attach() local
[all …]
/kernel/linux/linux-5.10/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 …]

12345678910>>...104