/Linux-v5.15/tools/testing/selftests/net/forwarding/ |
D | Makefile | 3 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/ |
D | Makefile | 7 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 …]
|
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 …]
|
D | udpgso.sh | 1 #!/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
|
/Linux-v5.15/drivers/md/ |
D | raid5.c | 26 * (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 …]
|
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() 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 …]
|
D | raid5-log.h | 10 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 …]
|
/Linux-v5.15/drivers/scsi/ |
D | aha1542.c | 207 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 …]
|
D | fdomain.c | 177 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/tools/testing/selftests/netfilter/ |
D | Makefile | 4 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/rcutorture/bin/ |
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.$$ 38 # resdir: /tmp/kvm-remote.sh.$$/res 39 # rundir: /tmp/kvm-remote.sh.$$/res/$ds ("-remote" suffix) 43 # TD: kvm-remote.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 $? [all …]
|
D | configinit.sh | 4 # Usage: configinit.sh config-spec-file results-dir 18 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
|
/Linux-v5.15/tools/memory-model/scripts/ |
D | runlitmushist.sh | 9 # 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 …]
|
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 …]
|
D | README | 8 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 …]
|
D | checkghlitmus.sh | 1 #!/bin/sh 7 # sh checkghlitmus.sh 10 # parseargs.sh scripts for arguments. 12 . scripts/parseargs.sh 14 T=/tmp/checkghlitmus.sh.$$ 32 ( cd "$LKMM_DESTDIR"; sed -e 's/^/mkdir -p /' | sh ) 51 if scripts/runlitmushist.sh < $T/list-C-needed > $T/run.stdout 2> $T/run.stderr 58 sed < $T/list-C-result-short -e 's,^,scripts/judgelitmus.sh ,' | 59 sh > $T/judge.stdout 2> $T/judge.stderr
|
D | newlitmushist.sh | 1 #!/bin/sh 8 # sh newlitmushist.sh 11 # See scripts/parseargs.sh for list of arguments. 17 . scripts/parseargs.sh 19 T=/tmp/newlitmushist.sh.$$ 27 echo Run scripts/initlitmushist.sh first, need litmus repo. 36 ( cd "$LKMM_DESTDIR"; sed -e 's/^/mkdir -p /' | sh ) 54 sh $T/list-C-script > $T/list-C-newer 59 scripts/runlitmushist.sh < $T/list-C-needed
|
/Linux-v5.15/Documentation/sh/ |
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-v5.15/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_mqd_manager.c | 102 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 …]
|
/Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
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-v5.15/tools/testing/selftests/ftrace/test.d/kprobe/ |
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
|
/Linux-v5.15/arch/sh/ |
D | Makefile | 2 # 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 140 core-y += $(addprefix arch/sh/boards/, \ 144 # Common machine type headers. Not part of the arch/sh/boards/ hierarchy. 148 core-$(CONFIG_HD6446X_SERIES) += arch/sh/cchips/hd6446x/ [all …]
|
/Linux-v5.15/tools/testing/selftests/x86/ |
D | syscall_numbering.c | 76 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/drivers/pinctrl/renesas/ |
D | Makefile | 53 CFLAGS_pfc-sh7203.o += -I$(srctree)/arch/sh/include/cpu-sh2a 54 CFLAGS_pfc-sh7264.o += -I$(srctree)/arch/sh/include/cpu-sh2a 55 CFLAGS_pfc-sh7269.o += -I$(srctree)/arch/sh/include/cpu-sh2a 56 CFLAGS_pfc-sh7720.o += -I$(srctree)/arch/sh/include/cpu-sh3 57 CFLAGS_pfc-sh7722.o += -I$(srctree)/arch/sh/include/cpu-sh4 58 CFLAGS_pfc-sh7723.o += -I$(srctree)/arch/sh/include/cpu-sh4 59 CFLAGS_pfc-sh7724.o += -I$(srctree)/arch/sh/include/cpu-sh4 60 CFLAGS_pfc-sh7734.o += -I$(srctree)/arch/sh/include/cpu-sh4 61 CFLAGS_pfc-sh7757.o += -I$(srctree)/arch/sh/include/cpu-sh4 62 CFLAGS_pfc-sh7785.o += -I$(srctree)/arch/sh/include/cpu-sh4 [all …]
|
/Linux-v5.15/tools/testing/selftests/bpf/ |
D | test_flow_dissector.sh | 17 # This test needs to be run in a network namespace with in_netns.sh. Check if 18 # this is the case and run it with in_netns.sh if it is being run in the root 55 ../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 \
|