Home
last modified time | relevance | path

Searched refs:sed (Results 1 – 25 of 208) sorted by relevance

123456789

/Linux-v5.10/security/apparmor/
DMakefile28 sed $< >>$@ -r -n -e "/AF_MAX/d" -e "/AF_LOCAL/d" -e "/AF_ROUTE/d" -e \
32 sed -r -n -e "/AF_MAX/d" -e "/AF_LOCAL/d" -e "/AF_ROUTE/d" -e \
34 $< | tr '\n' ' ' | sed -e 's/ $$/"\n/' >> $@
43 sed $^ >>$@ -r -n \
54 sed $< >>$@ -r -n -e '/CAP_FS_MASK/d' \
58 sed $< -r -n -e '/CAP_FS_MASK/d' \
60 tr '\n' ' ' | sed -e 's/ $$/"\n/' >> $@
87 sed $< >> $@ -r -n \
91 sed -r -n "s/^\# ?define[ \t]+(RLIMIT_[A-Z0-9_]+).*/\1,/p" $< >> $@ ;\
94 sed -r -n 's/^\# ?define[ \t]+RLIMIT_([A-Z0-9_]+).*/\L\1/p' $< | \
[all …]
/Linux-v5.10/tools/perf/util/
Dgenerate-cmdlist.sh13 sed -n -e 's/^perf-\([^ ]*\)[ ].* common.*/\1/p' command-list.txt |
17 sed -n '
27 sed -n -e 's/^perf-\([^ ]*\)[ ].* full.*/\1/p' command-list.txt |
31 sed -n '
42 sed -n -e 's/^perf-\([^ ]*\)[ ].* audit*/\1/p' command-list.txt |
46 sed -n '
DPERF-VERSION-GEN25 TAG=$(cut -d' ' -f3 ../../PERF-VERSION-FILE | sed -e 's/\"//g')
35 VN=$(echo "$VN" | sed -e 's/-/./g;s/\([0-9]*[.][0-9]*\)[.]0/\1/')
42 VC=$(sed -e 's/^#define PERF_VERSION "\(.*\)"/\1/' <$GVF)
/Linux-v5.10/tools/perf/trace/beauty/tracepoints/
Dx86_msr.sh19 sed -r "s/$regex/\2 \1/g" | sort -n | \
26 egrep $regex ${x86_msr_index} | sed -r "s/$regex/\2/g" | sort -n | head -1
29 sed -r "s/$regex/\2 \1/g" | egrep -vw 'K6_WHCR' | sort -n | \
35 egrep $regex ${x86_msr_index} | sed -r "s/$regex/\2/g" | sort -n | head -1
38 sed -r "s/$regex/\2 \1/g" | sort -n | \
Dx86_irq_vectors.sh18 first_external_vector=$(egrep ${first_external_regex} ${x86_irq_vectors} | sed -r "s/${first_extern…
22 sed -r "s/FIRST_EXTERNAL_VECTOR/${first_external_vector}/g" ${x86_irq_vectors} | \
24 sed -r "s/${regex}/\2 \1/g" | sort -n | \
/Linux-v5.10/tools/leds/
Dget_led_device_info.sh29 led_cdev_path=`echo $1 | sed s'/\/$//'`
37 bus=`readlink $led_cdev_path/device/subsystem | sed s'/.*\///'`
38 usb_subdev=`readlink $led_cdev_path | grep usb | sed s'/\(.*usb[0-9]*\/[0-9]*-[0-9]*\)\/.*/\1/'`
43 input_node=`readlink $led_cdev_path/device | sed s'/.*\///'`
50 usb_interface=`readlink $led_cdev_path | sed s'/.*\(usb[0-9]*\)/\1/' | cut -d\/ -f3`
52 driver=`readlink $usb_interface/driver | sed s'/.*\///'`
114 led_name=`echo $led_cdev_path | sed s'/.*\///'`
193 function=`echo $function | sed s'/\(.*\)-[0-9]*$/\1/'`
/Linux-v5.10/tools/testing/selftests/
Dkselftest_deps.sh176 sed -e 's/\:/ /' | \
177 sed -e 's/+/ /' | cut -d "=" -f 2)
187 sed -e 's/\:/ /' | sed -e 's/+/ /' | \
196 grep -v "pkg-config" | sed -e 's/\:/ /' |
197 sed -e 's/+/ /' | cut -d "=" -f 2)
/Linux-v5.10/scripts/
Dgfp-translate68 grep "^#define ___GFP" $SOURCE/include/linux/gfp.h | sed -e 's/u$//' | grep -v GFP_BITS > $TMPFILE
70 …ne __GFP" $SOURCE/include/linux/gfp.h | sed -e 's/(__force gfp_t)//' | sed -e 's/u)/)/' | grep -v …
Ddecodecode54 code=`echo $code | sed -e 's/.*Code: //'`
119 echo $beforemark | sed -e 's/ /,0x/g; s/[<>()]//g' >> $T.s
129 code=`echo $code | sed -e 's/ [<(]/ /;s/[>)] / /;s/ /,0x/g; s/[>)]$//'`
142 faultline=`echo "$faultline" | sed -e 's/\[/\\\[/g; s/\]/\\\]/g'`
144 cat $T.oo | sed -e "${faultlinenum}s/^\([^:]*:\)\(.*\)/\1\*\2\t\t<-- trapping instruction/"
Dgen_autoksyms.sh43 sed 's/ko$/mod/' $modlist |
44 xargs -n1 sed -n -e '2{s/ /\n/g;/^$/!p;}' -- |
47 sed -e 's/\(.*\)/#define __KSYM_\1 1/' >> "$output_file"
Dmkcompile_h33 LINUX_COMPILE_BY=$(whoami | sed 's/\\/\\\\/')
65 LD_VERSION=$($LD -v | head -n1 | sed 's/(compatible with [^)]*)//' \
66 | sed 's/[[:space:]]*$//')
/Linux-v5.10/scripts/kconfig/
Dmerge_config.sh70 OUTPUT=$(echo $2 | sed 's/\/*$//')
126 CFG_LIST=$(sed -n -e "$SED_CONFIG_EXP1" -e "$SED_CONFIG_EXP2" $MERGE_FILE)
148 sed -i "/$CFG[ =]/d" $TMP_FILE
150 sed -i "/$CFG[ =]/d" $MERGE_FILE
179 for CFG in $(sed -n -e "$SED_CONFIG_EXP1" -e "$SED_CONFIG_EXP2" $TMP_FILE); do
/Linux-v5.10/tools/perf/trace/beauty/
Dmmap_flags.sh24 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \
29 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \
34 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \
38 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \
/Linux-v5.10/tools/memory-model/scripts/
Dchecklitmushist.sh35 find litmus -type d -print | ( cd $T/results; sed -e 's/^/mkdir -p /' | sh )
40 sed -e 's/\.out$//' |
56 sed -e 's,^.*$,cp & '"$ddir"'/&.new,' | sh )
58 sed < $T/list-C-short -e 's,^,'"$LKMM_DESTDIR/"',' |
Dnewlitmushist.sh36 ( cd "$LKMM_DESTDIR"; sed -e 's/^/mkdir -p /' | sh )
41 sed -e 's/\.out$//' |
53 sed < $T/list-C-short -e 's,^.*$,if test & -nt '"$LKMM_DESTDIR"'/&.out; then echo &; fi,' > $T/list…
/Linux-v5.10/tools/testing/selftests/rcutorture/bin/
Dkvm-recheck-lock.sh21 configfile=`echo $i | sed -e 's/^.*\///'`
22 ncs=`grep "Writes: Total:" $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* Total: //' -e 's/…
28 dur=`sed -e 's/^.* locktorture.shutdown_secs=//' -e 's/ .*$//' < $i/qemu-cmd 2> /dev/null`
Dfunctions.sh62 nr_cpus="`echo "${bootargs}" | sed -e 's/^.*nr_cpus=\([0-9]*\).*$/\1/'`"
87 maxcpus="`echo "${bootargs}" | sed -e 's/^.*maxcpus=\([0-9]*\).*$/\1/'`"
269 nt="`lscpu | grep '^NUMA node0' | sed -e 's/^[^,]*,\([0-9]*\),.*$/\1/'`"
Dkvm-test-1-run.sh36 config_dir=`echo $config_template | sed -e 's,/[^/]*$,,'`
37 title=`echo $config_template | sed -e 's/^.*\///'`
57 echo $3 | sed -e 's/^ *//' -e 's/ *$//' | tr -s " " "\012" > $T/Kconfig_args
75 base_resdir=`echo $resdir | sed -e 's/\.[0-9]\+$//'`
220 …killpid="`sed -n "s/^(qemu) qemu: terminating on signal [0-9]* from pid \([0-9]*\).*$/\1/p" $resdi…
264 …last_ts="`tail $resdir/console.log | grep '^\[ *[0-9]\+\.[0-9]\+]' | tail -1 | sed -e 's/^\[ *//' …
/Linux-v5.10/tools/testing/selftests/ftrace/test.d/kprobe/
Dkprobe_args_symbol.tc34 RESULT=`grep "testprobe_str" trace | sed -e 's/.* arg1=\(.*\)/\1/'`
36 RESULT=`echo $RESULT | sed -e 's/.* \((.*)\) \((.*)\) .*/\1 \2/'`
37 ORIG=`cat /proc/version | sed -e 's/.* \((.*)\) \((.*)\) .*/\1 \2/'`
/Linux-v5.10/arch/powerpc/tools/
Dunrel_branch_check.sh16 sed -E -n '/\s+[[:alpha:]]\s+__end_interrupts\s*$/{s///p;q}')
25 sed -E -n '/\s+[[:alpha:]]\s+__start_initialization_multiplatform\s*$/{s///p;q}')
28 sed -E -n '
/Linux-v5.10/drivers/dma/ioat/
Dprep.c82 struct ioat_sed_ent *sed; in ioat3_alloc_sed() local
85 sed = kmem_cache_alloc(ioat_sed_cache, flags); in ioat3_alloc_sed()
86 if (!sed) in ioat3_alloc_sed()
89 sed->hw_pool = hw_pool; in ioat3_alloc_sed()
90 sed->hw = dma_pool_alloc(ioat_dma->sed_hw_pool[hw_pool], in ioat3_alloc_sed()
91 flags, &sed->dma); in ioat3_alloc_sed()
92 if (!sed->hw) { in ioat3_alloc_sed()
93 kmem_cache_free(ioat_sed_cache, sed); in ioat3_alloc_sed()
97 return sed; in ioat3_alloc_sed()
314 if (desc->sed) { in dump_pq16_desc_dbg()
[all …]
/Linux-v5.10/Documentation/features/scripts/
Dfeatures-refresh.sh17 K=$(echo $F | sed -e 's/^!//g')
63 ARCH=$(echo $ARCH_DIR | sed -e 's/arch//g' | sed -e 's/\///g')
/Linux-v5.10/scripts/dtc/
Dupdate-dtc-source.sh42 git log --oneline scripts/dtc/ | grep 'upstream' | head -1 | sed -e 's/^.* \(.*\)/\1/'
66 sed -i -- 's/#include <libfdt_env.h>/#include "libfdt_env.h"/g' ./libfdt/libfdt.h
67 sed -i -- 's/#include <fdt.h>/#include "fdt.h"/g' ./libfdt/libfdt.h
/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/
Dqos_headroom.sh32 __mlnx_qos -i $swp | sed -n '/^PFC/,/^[^[:space:]]/p' |
33 grep buffer | sed 's/ \+/ /g' | cut -d' ' -f 2-
38 __mlnx_qos -i $swp | sed -n '/^PFC/,/^[^[:space:]]/p' |
39 grep enabled | sed 's/ \+/ /g' | cut -d' ' -f 2-
44 __mlnx_qos -i $swp | sed -n '/^tc/,$p' |
57 __mlnx_qos -i $swp | grep Receive | sed 's/.*: //' | cut -d, -f $((idx + 1))
62 __mlnx_qos -i $swp | grep Receive | sed 's/.*total_size=//'
/Linux-v5.10/arch/xtensa/kernel/
DMakefile33 sed-y = -e ':a; s/\*(\([^)]*\)\.text\.unlikely/*(\1.literal.unlikely .{text}.unlikely/; ta; ' \
41 -DLINKER_SCRIPT $< | sed $(sed-y) >$@

123456789