Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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)
/kernel/linux/build/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/
Dcpuisolation03.sh72 | sed -n "${line}p" | awk -F ':' '{print$2}')
90 cpu_num=$(cat isolated_cpu1.txt | sed -n "1p" )
94 | sed -n "${cpu_number}p" | awk -F ':' '{print$2}')
103 | sed -n "${cpu_number}p" | awk -F ':' '{print$2}')
116 if [ $(sed -n '/^cpu#${cpu_num}/,/cpu#${cpu_number}$/p' $proc_sd \
134 | sed -n "${cpu_number}p" | awk -F ':' '{print$2}')
143 | sed -n "${cpu_number}p" | awk -F ':' '{print$2}')
154 | sed -n "${line1}p" | awk -F ':' '{print$2}')
175 | sed -n "${line2}p" | awk -F ':' '{print$2}')
196 cpu_num1=$(cat active_cpu2.txt | sed -n "1p" )
[all …]
Dcpuisolation02.sh61 if [ $(sed -n '/^cpu#0/,/cpu#1$/p' cpu_log.txt | awk -F " " '{print $3}' \
65 elif [ $(sed -n '/^cpu#1/,/cpu#2$/p' cpu_log.txt | awk -F " " '{print $3}' \
69 elif [ $(sed -n '/^cpu#2/,/cpu#3$/p' cpu_log.txt | awk -F " " '{print $3}' \
73 elif [ $(sed -n '/^cpu#3/,$p' cpu_log.txt | awk -F " " '{print $3}' \
89 | sed -n "${line}p" | awk -F ':' '{print$2}')
91 | sed -n "${line}p" | awk -F ':' '{print$2}')
126 sed -n '/^cpu#$i/,/cpu#${i_cpu}$/p' $proc_sd \
142 tail -n+$(sed -n -e "/cpu#3/=" $proc_sd) $proc_sd \
Dcpuisolation04.sh76 | sed -n "${line}p" | awk -F ':' '{print$2}')
108 if [ $(sed -n '/^cpu#0/,/cpu#1$/p' cpu_log.txt \
111 elif [ $(sed -n '/^cpu#1/,/cpu#2$/p' cpu_log.txt \
114 elif [ $(sed -n '/^cpu#2/,/cpu#3$/p' cpu_log.txt \
117 elif [ $(sed -n '/^cpu#3/,$p' cpu_log.txt \
/kernel/linux/linux-5.10/scripts/
Dgen_autoksyms.sh64 sed 's/ko$/mod/' $modlist | xargs -n1 sed -n -e '2p'
67 } | sed -e 's/ /\n/g' | sed -n -e '/^$/!p' |
70 sed -e 's/^\.//' |
72 sed -e 's/\(.*\)/#define __KSYM_\1 1/' >> "$output_file"
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/"
/kernel/linux/build/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/
Dsched_rtg06.sh94 echo $((RANDOM % 19 + 2)) > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id
96 echo 0 > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id
109 echo ${i} > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id
111 echo 0 > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id
116 echo 2 > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id
118 echo 0 > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id
132 echo $_rtg_id > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id
134 echo 0 > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id
/kernel/linux/linux-5.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 | \
/kernel/linux/linux-5.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/'`
/kernel/linux/linux-5.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)
/kernel/linux/build/test/kernel_ltp/
Dgenerate_config.sh41 lines=$(sed -n "/${macro}/=" $change_file)
43 sed -i "/${macro}/c\#define ${macro} 1" $change_file
48 sed -i "/${macro}/c\/\* \#undef ${macro} \*\/" $change_file
63 sed -i "/^\#define clone/c\/\/ \#define clone(...) (use_the_ltp_clone_functions__do_not_use_clone)"…
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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" | \
/kernel/linux/linux-5.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/"',' |
/kernel/linux/linux-5.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/^\[ *//' …
/kernel/linux/linux-5.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/'`
/kernel/linux/linux-5.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 '
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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')

123456789