Home
last modified time | relevance | path

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

/linux-4.4.14/tools/lguest/
Dextract17 NUM=`echo "$LINE" | sed "s/.*$PREFIX:\([0-9]*\).*/\1/"`
23 echo $f | sed 's,\.\./,,g' > $TMPDIR/.$NUM
24 /bin/echo "$LINE" | sed -e "s/$PREFIX:[0-9]*//" -e "s/:\*/*/" >&3
27 NUM=`echo "$LINE" | sed "s/.*$PREFIX:\([0-9]*\).*/\1/"`
33 echo $f | sed 's,\.\./,,g' > $TMPDIR/.$NUM
34 /bin/echo "$LINE" | sed "s/$PREFIX:[0-9]*//" >&3
37 /bin/echo "$LINE" | sed -e "s/:\*/*/" -e "s,/\*\*/,," >&3
/linux-4.4.14/security/apparmor/
DMakefile20 sed $< >>$@ -r -n -e '/CAP_FS_MASK/d' \
24 sed $< -r -n -e '/CAP_FS_MASK/d' \
26 tr '\n' ' ' | sed -e 's/ $$/"\n/' >> $@
53 sed $< >> $@ -r -n \
57 sed -r -n "s/^\# ?define[ \t]+(RLIMIT_[A-Z0-9_]+).*/\1,/p" $< >> $@ ;\
60 sed -r -n 's/^\# ?define[ \t]+RLIMIT_([A-Z0-9_]+).*/\L\1/p' $< | \
61 tr '\n' ' ' | sed -e 's/ $$/"\n/' >> $@
/linux-4.4.14/Documentation/DocBook/media/
DMakefile219 sed $(ESCAPE) $(DOCUMENTED) | \
220 sed 's/i\.e\./&ie;/') >> $@
230 sed $(ESCAPE) $(DVB_DOCUMENTED) | \
231 sed 's/i\.e\./&ie;/') >> $@
241 sed $(ESCAPE) $(DVB_DOCUMENTED) | \
242 sed 's/i\.e\./&ie;/') >> $@
256 sed $(ESCAPE) $(DVB_DOCUMENTED) | \
257 sed 's/i\.e\./&ie;/' | \
272 sed $(ESCAPE) $(DVB_DOCUMENTED) | \
273 sed 's/i\.e\./&ie;/' | \
[all …]
/linux-4.4.14/tools/perf/util/
Dgenerate-cmdlist.sh12 sed -n -e 's/^perf-\([^ ]*\)[ ].* common.*/\1/p' command-list.txt |
16 sed -n '
26 sed -n -e 's/^perf-\([^ ]*\)[ ].* full.*/\1/p' command-list.txt |
30 sed -n '
DPERF-VERSION-GEN24 TAG=$(cut -d' ' -f3 ../../PERF-VERSION-FILE | sed -e 's/\"//g')
34 VN=$(echo "$VN" | sed -e 's/-/./g;s/\([0-9]*[.][0-9]*\)[.]0/\1/')
41 VC=$(sed -e 's/^#define PERF_VERSION "\(.*\)"/\1/' <$GVF)
/linux-4.4.14/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 …
Ddecodecode40 code=`echo $code | sed -e 's/.*Code: //'`
76 echo $beforemark | sed -e 's/ /,0x/g; s/[<>()]//g' >> $T.s
86 code=`echo $code | sed -e 's/ [<(]/ /;s/[>)] / /;s/ /,0x/g; s/[>)]$//'`
99 faultline=`echo "$faultline" | sed -e 's/\[/\\\[/g; s/\]/\\\]/g'`
101 cat $T.oo | sed -e "${faultlinenum}s/^\(.*:\)\(.*\)/\1\*\2\t\t<-- trapping instruction/"
Dver_linux111 sed '
132 sed '
183 sed '
Dcheck_extable.sh32 …eval $(objdump -t ${obj} | grep ${1} | sed 's/\([0-9a-f]\+\) .\{7\} \([^ \t]\+\).*/section="\2"; s…
41 eval $(echo $reloc | sed 's/\([^+]\+\)+\?\(0x[0-9a-f]\+\)\?/symbol="\1"; symbol_offset="\2"/')
55 sed 's/\([^+]\+\)+\(0x[0-9a-f]\+\)/alt_target_section="\1"; alt_target_offset="\2"/')
Dcoccicheck120 FILE=`echo $COCCI | sed "s|$srctree/||"`
127 sed -ne 's|^///||p' $COCCI
148 sed -ne 's|^//#||p' $COCCI
Dheaders_install.sh33 sed -r \
Dgen_initramfs_list.sh110 name=$(echo "$name" | sed -e 's://*:/:g')
173 srcdir=$(echo "$1" | sed -e 's://*:/:g')
Dmkcompile_h46 LINUX_COMPILE_BY=$(whoami | sed 's/\\/\\\\/')
Dobjdiff66 $OBJDUMP -D $1 | sed "s/^[[:space:]]\+[0-9a-f]\+//" > $dis
Dsetlocalversion93 id=`printf '%s' "$hgid" | sed 's/[+ ].*//'`
DMakefile.modpost87 cmd_modpost = $(MODLISTCMD) | sed 's/\.ko$$/.o/' | $(modpost) $(MODPOST_OPT) -s -T -
Dpatch-kernel308 ACVALUE=`echo $PATCHNAMES | sed -e 's/^.*patch-[0-9.]*-ac\([0-9]*\).*/\1/'`
Dtags.sh344 LANG=C sed -i -e '/^\([a-zA-Z_][a-zA-Z0-9_]*\)\t.*\t\/\^struct \1;.*\$\/;"\tx$/d' $1
DMakefile.lib309 sed 's/\(..\)/\1 /g' | { \
/linux-4.4.14/tools/testing/selftests/rcutorture/bin/
Dkvm-recheck-lock.sh34 configfile=`echo $i | sed -e 's/^.*\///'`
35 ncs=`grep "Writes: Total:" $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* Total: //' -e 's/…
41 dur=`sed -e 's/^.* locktorture.shutdown_secs=//' -e 's/ .*$//' < $i/qemu-cmd 2> /dev/null`
Dkvm-recheck-rcu.sh35 configfile=`echo $i | sed -e 's/^.*\///'`
36 ngps=`grep ver: $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* ver: //' -e 's/ .*$//'`
42 dur=`sed -e 's/^.* rcutorture.shutdown_secs=//' -e 's/ .*$//' < $i/qemu-cmd 2> /dev/null`
Dfunctions.sh75 maxcpus="`echo "${bootargs}" | sed -e 's/^.*maxcpus=\([0-9]*\).*$/\1/'`"
238 nt="`lscpu | grep '^NUMA node0' | sed -e 's/^[^,]*,\([0-9]*\),.*$/\1/'`"
Dconfiginit.sh48 builddir=`echo $buildloc | sed -e 's/^O=//'`
60 sed -e 's/^\(CONFIG[0-9A-Z_]*=\).*$/grep -v \1 |/' < $c >> $T/u.sh
Dkvm-test-1-run.sh51 config_dir=`echo $config_template | sed -e 's,/[^/]*$,,'`
52 title=`echo $config_template | sed -e 's/^.*\///'`
193 …killpid="`sed -n "s/^(qemu) qemu: terminating on signal [0-9]* from pid \([0-9]*\).*$/\1/p" $resdi…
Dkvm-recheck.sh32 dirs=`find $rd -name Make.defconfig.out -print | sort | sed -e 's,/[^/]*$,,' | sort -u`
38 resdir=`echo $i | sed -e 's,/$,,' -e 's,/[^/]*$,,'`
Dkvm.sh183 config_reps=`echo $CF | sed -e 's/\*.*$//'`
184 CF1=`echo $CF | sed -e 's/^[^*]*\*//'`
412 sed -e 's/:.*$//' -e 's/^echo //'
Dconfig2frag.sh25 LANG=C sed -e 's/^# CONFIG_\([a-zA-Z0-9_]*\) is not set$/CONFIG_\1=n/'
DconfigNR_CPUS.sh42 sed -e 's/^CONFIG_NR_CPUS=\([0-9]*\).*$/\1/'
Dconfigcheck.sh28 cat $2 | sed -e 's/\(.*\)=n/# \1 is not set/' -e 's/^#CHECK#//' |
Dparse-torture.sh58 grep --binary-files=text 'torture:.*ver:' $file | grep --binary-files=text -v '(null)' | sed -e 's/…
/linux-4.4.14/scripts/kconfig/
Dmerge_config.sh66 OUTPUT=$(echo $2 | sed 's/\/*$//')
115 CFG_LIST=$(sed -n "$SED_CONFIG_EXP" $MERGE_FILE)
129 sed -i "/$CFG[ =]/d" $TMP_FILE
158 for CFG in $(sed -n "$SED_CONFIG_EXP" $TMP_FILE); do
DMakefile65 $(Q)sed -i s/CHARSET/UTF-8/ $(obj)/config.pot
/linux-4.4.14/scripts/mod/
DMakefile8 define sed-y
27 sed -ne $(sed-y) $<; \
/linux-4.4.14/drivers/dma/ioat/
Dprep.c94 struct ioat_sed_ent *sed; in ioat3_alloc_sed() local
97 sed = kmem_cache_alloc(ioat_sed_cache, flags); in ioat3_alloc_sed()
98 if (!sed) in ioat3_alloc_sed()
101 sed->hw_pool = hw_pool; in ioat3_alloc_sed()
102 sed->hw = dma_pool_alloc(ioat_dma->sed_hw_pool[hw_pool], in ioat3_alloc_sed()
103 flags, &sed->dma); in ioat3_alloc_sed()
104 if (!sed->hw) { in ioat3_alloc_sed()
105 kmem_cache_free(ioat_sed_cache, sed); in ioat3_alloc_sed()
109 return sed; in ioat3_alloc_sed()
326 if (desc->sed) { in dump_pq16_desc_dbg()
[all …]
Ddma.c554 ioat_free_sed(struct ioatdma_device *ioat_dma, struct ioat_sed_ent *sed) in ioat_free_sed() argument
556 if (!sed) in ioat_free_sed()
559 dma_pool_free(ioat_dma->sed_hw_pool[sed->hw_pool], sed->hw, sed->dma); in ioat_free_sed()
560 kmem_cache_free(ioat_sed_cache, sed); in ioat_free_sed()
678 if (desc->sed) { in __cleanup()
679 ioat_free_sed(ioat_dma, desc->sed); in __cleanup()
680 desc->sed = NULL; in __cleanup()
Ddma.h189 struct ioat_sed_ent *sed; member
/linux-4.4.14/arch/xtensa/kernel/
DMakefile32 sed-y = -e ':a; s/\*(\([^)]*\)\.text\.unlikely/*(\1.literal.unlikely .{text}.unlikely/; ta; ' \
40 | sed $(sed-y) >$@
/linux-4.4.14/arch/cris/include/arch-v32/arch/hwregs/iop/
DMakefile86 cat $< | sed -e 's/\$$Id\:/id\:/g' >$@
88 cat $< | sed -e 's/\$$Id\:/id\:/g' >$@
95 cat $(IOPOFFICIAL_INCDIR)$$HFILE | sed -e 's/\$$Id\:/id\:/g' > $$HFILE; \
99 cat $(IOPOFFICIAL_INCDIR)$$HFILE | sed -e 's/\$$Id\:/id\:/g' > $$HFILE; \
104 cat $(IOPOFFICIAL_INCDIR)asm/$$HFILE | sed -e 's/\$$Id\:/id\:/g' > asm/$$HFILE; \
/linux-4.4.14/arch/cris/include/arch-v32/arch/hwregs/
DMakefile100 cat $< | sed -e 's/\$$Id\:/id\:/g' >$@
105 cat $< | sed -e 's/\$$Id\:/id\:/g' >$@
120 cat $< | sed -e 's/\$$Id\:/id\:/g' >$@
133 cat $< | sed -e 's/\$$Id\:/id\:/g' >$@
140 cat $< | sed -e 's/\$$Id\:/id\:/g' >$@
152 cat $(OFFICIAL_INCDIR)$$HFILE | sed -e 's/\$$Id\:/id\:/g' > $$HFILE; \
156 cat $(OFFICIAL_INCDIR)asm/$$HFILE | sed -e 's/\$$Id\:/id\:/g' > $$HFILE; \
/linux-4.4.14/arch/x86/boot/
DMakefile80 sed-voffset := -e 's/^\([0-9a-fA-F]*\) [ABCDGRSTVW] \(_text\|_end\)$$/\#define VO_\2 0x\1/p'
83 cmd_voffset = $(NM) $< | sed -n $(sed-voffset) > $@
89 sed-zoffset := -e 's/^\([0-9a-fA-F]*\) [ABCDGRSTVW] \(startup_32\|startup_64\|efi32_stub_entry\|efi…
92 cmd_zoffset = $(NM) $< | sed -n $(sed-zoffset) > $@
123 sed -e 's|@OBJ@|$(obj)|g' < $< > $@
/linux-4.4.14/Documentation/features/
Dlist-arch.sh8 ARCH=${1:-$(arch | sed 's/x86_64/x86/' | sed 's/i386/x86/')}
/linux-4.4.14/arch/x86/realmode/rm/
DMakefile33 sed-pasyms := -n -r -e 's/^([0-9a-fA-F]+) [ABCDGRSTVW] (.+)$$/pa_\2 = \2;/p'
37 sed $(sed-pasyms) | sort | uniq > $@
/linux-4.4.14/
DKbuild9 # Default sed regexp - multiline due to syntax constraints
10 define sed-y
29 sed -ne $(sed-y); \
DMakefile224 SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \
/linux-4.4.14/drivers/staging/vt6655/
Dtest3 /usr/src/linux-$(shell uname -r | sed 's/-.*//') \
6 # /usr/src/linux-$(shell uname -r | sed 's/\([0-9]*\.[0-9]*\)\..*/\1/') \
/linux-4.4.14/scripts/dtc/
Dupdate-dtc-source.sh59 sed -i -- 's/#include <libfdt_env.h>/#include "libfdt_env.h"/g' ./libfdt/libfdt.h
60 sed -i -- 's/#include <fdt.h>/#include "fdt.h"/g' ./libfdt/libfdt.h
/linux-4.4.14/arch/x86/um/vdso/
DMakefile58 sed-vdsosym := -e 's/^00*/0/' \
62 $(NM) $< | LC_ALL=C sed -n $(sed-vdsosym) | LC_ALL=C sort > $@
/linux-4.4.14/arch/ia64/kernel/
DMakefile54 define sed-y
69 sed -ne $(sed-y) $<; \
/linux-4.4.14/arch/s390/boot/compressed/
DMakefile27 sed-sizes := -e 's/^\([0-9a-fA-F]*\) . \(__bss_start\|_end\)$$/\#define SZ\2 0x\1/p'
30 cmd_sizes = $(NM) $< | sed -n $(sed-sizes) > $@
/linux-4.4.14/arch/um/kernel/
DMakefile37 cmd_quote1 = sed -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/\\n",/' \
44 cmd_quote2 = sed -e '/CONFIG/{' \
/linux-4.4.14/arch/unicore32/boot/compressed/
DMakefile34 @sed "$(SEDFLAGS_piggy)" < $< > $@
67 @sed "$(SEDFLAGS_lds)" < $< > $@
/linux-4.4.14/arch/arm64/kernel/vdso/
Dgen_vdso_offsets.sh14 sed -n -e 's/^00*/0/' -e \
/linux-4.4.14/Documentation/aoe/
Dstatus.sh25 dev=`echo "$d" | sed 's/.*!//'`
/linux-4.4.14/arch/x86/entry/syscalls/
Dsyscallhdr.sh9 fileguard=_ASM_X86_`basename "$out" | sed \
/linux-4.4.14/arch/x86/kernel/cpu/
Dmkcapflags.sh22 sed -n -e 's/\t/ /g' -e "s/^ *# *define *$PFX//p" $IN |
/linux-4.4.14/tools/testing/selftests/breakpoints/
DMakefile3 ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
/linux-4.4.14/tools/perf/tests/
DBuild42 $(Q)sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/g' $< >> $@
49 $(Q)sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/g' $< >> $@
/linux-4.4.14/drivers/eisa/
DMakefile17 …cmd_eisaid = sed -e '/^\#/D' -e 's/^\([[:alnum:]]\{7\}\) \+"\([^"]\{1,$(DEVICE_NAME_SIZE)\}\).*"/E…
/linux-4.4.14/tools/power/cpupower/utils/
Dversion-gen.sh23 VN=$(echo "$VN" | sed -e 's/-/./g');
/linux-4.4.14/tools/testing/selftests/ipc/
DMakefile2 ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/i386/)
/linux-4.4.14/kernel/debug/kdb/
DMakefile9 CCVERSION := $(shell $(CC) -v 2>&1 | sed -ne '$$p')
/linux-4.4.14/arch/x86/tools/
Dcalc_run_size.sh10 OUT=$(sed -n 's/^[ \t0-9]*.b[sr][sk][ \t]*'"$NUM$NUM$NUM$NUM"'.*/\1\4/p')
/linux-4.4.14/scripts/package/
Dmkspec25 __KERNELRELEASE=`echo $KERNELRELEASE | sed -e "s/-/_/g"`
/linux-4.4.14/tools/perf/config/
DMakefile.arch5 ARCH := $(shell echo $(ARCH) | sed -e s/i.86/x86/ -e s/x86_64/x86/ \
/linux-4.4.14/tools/testing/selftests/zram/
Dzram01.sh64 local s=$(echo $sm | sed 's/M//')
/linux-4.4.14/tools/testing/selftests/powerpc/
DMakefile5 ARCH := $(shell echo $(ARCH) | sed -e s/ppc.*/powerpc/)
/linux-4.4.14/Documentation/
Djava.txt72 FQCLASSN=`echo $FQCLASS | sed -e 's/^.*\.\([^.]*\)$/\1/'`
73 FQCLASSP=`echo $FQCLASS | sed -e 's-\.-/-g' -e 's-^[^/]*$--' -e 's-/[^/]*$--'`
92 CLASSBASE=`echo $CLASSDIR | sed -e "s.$FQCLASSP$.."`
100 CLASSBASE=`echo $CLASSDIR | sed -e "s.$FQCLASSP$.."`
121 CLASS=`ls --color=no -l $CLASS | sed -e 's/^.* \([^ ]*\)$/\1/'`
/linux-4.4.14/drivers/net/wan/
DMakefile52 …hexdump -ve '"\n" 16/1 "0x%02X,"' $(obj)/wanxlfw.bin | sed 's/0x ,//g;1s/^/static const u8 firmwa…
/linux-4.4.14/arch/sh/
DMakefile56 grep nofpu | sed q | sed -e 's/^/-/;s/;.*$$//')
/linux-4.4.14/Documentation/sound/oss/
DMultiSound450 sed 's/^X//' << 'SHAR_EOF' > 'MultiSound.d/setdigital.c' &&
550 sed 's/^X//' << 'SHAR_EOF' > 'MultiSound.d/pinnaclecfg.c' &&
1004 sed 's/^X//' << 'SHAR_EOF' > 'MultiSound.d/Makefile' &&
1034 sed 's/^X//' << 'SHAR_EOF' > 'MultiSound.d/conv.l' &&
1064 sed 's/^X//' << 'SHAR_EOF' > 'MultiSound.d/msndreset.c' &&
/linux-4.4.14/arch/arm/vdso/
DMakefile65 buildid=`readelf -n $< |grep 'Build ID' |sed -e 's/^.*Build ID: \(.*\)$$/\1/'`; \
/linux-4.4.14/arch/powerpc/boot/
DMakefile129 cmd_copy_zlib = sed "s@__used@@;s@<linux/\([^>]*\).*@\"\1\"@" $< > $@
132 cmd_copy_zlibheader = sed "s@<linux/\([^>]*\).*@\"\1\"@" $< > $@
135 …cmd_copy_zliblinuxheader = sed "s@<linux/string.h>@\"string.h\"@;s@<linux/kernel.h>@<stddef.h>@;s@…
/linux-4.4.14/drivers/scsi/
Dses.c383 struct ses_host_edev *sed = data;
391 if (sdev->host != sed->shost)
394 sed->edev = edev;
/linux-4.4.14/arch/mips/boot/compressed/
DMakefile21 KBUILD_CFLAGS := $(shell echo $(KBUILD_CFLAGS) | sed -e "s/-pg//")
/linux-4.4.14/arch/um/
DMakefile161sed -ne "/^->/{s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; s:->::; p;}"; \
/linux-4.4.14/Documentation/dvb/
Dudev.txt26 /bin/echo $1 | /bin/sed -e 's,dvb\([0-9]\)\.\([^0-9]*\)\([0-9]\),dvb/adapter\1/\2\3,'
/linux-4.4.14/Documentation/kbuild/
Dheaders_install.txt34 ls -d include/asm-* | sed 's/.*-//'
/linux-4.4.14/lib/raid6/test/
DMakefile15 ARCH := $(shell uname -m 2>/dev/null | sed -e /s/i.86/i386/)
/linux-4.4.14/Documentation/DocBook/
DMakefile64 sort -k 2 -k 1 | uniq -f 1 | sed -e 's: :/:' | \
/linux-4.4.14/arch/arm/boot/compressed/
DMakefile158 bad_syms=$$($(CROSS_COMPILE)nm $@ | sed -n 's/^.\{8\} [bc] \(.*\)/\1/p') && \
/linux-4.4.14/tools/perf/Documentation/
Dandroid.txt64 sed 's/#!\/bin\/bash/#!\/system\/bin\/sh/g' perf-archive >> /tmp/perf-archive
DMakefile330 sed -e '1,/^$$/d' $< | $(ASCIIDOC) -b xhtml11 - >$@+ && \
/linux-4.4.14/arch/x86/entry/vdso/
DMakefile177 buildid=`readelf -n $< |grep 'Build ID' |sed -e 's/^.*Build ID: \(.*\)$$/\1/'`; \
/linux-4.4.14/Documentation/laptops/
Dlaptop-mode.txt442 echo ",$*," | sed \
454 echo ",$*," | sed \
519 echo ",$FSTAB_OPTS," | sed \
763 … PRESENT_RATE=`cat $BATT_INFO | grep "present rate:" | sed "s/.* \([0-9][0-9]* \).*/\1/" `
764 … REMAINING=`cat $BATT_INFO | grep "remaining capacity:" | sed "s/.* \([0-9][0-9]* \).*/\1/" `
/linux-4.4.14/Documentation/x86/i386/
DIO-APIC.txt88 echo -n pirq=; echo `scanpci | grep T_L | cut -c56-` | sed 's/ /,/g'
/linux-4.4.14/Documentation/input/
Dyealink.txt145 date +"%m.%e.%k:%M" | sed 's/^0/ /' > ./line1
/linux-4.4.14/arch/mips/
DMakefile277 sed -e "s/^\#define /-D'/" -e "s/ /'='/" -e "s/$$/'/" -e 's/\$$/&&/g')
/linux-4.4.14/Documentation/power/
Dswsusp.txt223 cat /proc/[0-9]*/maps | grep / | sed 's:.* /:/:' | sort -u | while read file
/linux-4.4.14/Documentation/trace/
Dftrace.txt1861 debugfs=`sed -ne 's/^debugfs \(.*\) debugfs.*/\1/p' /proc/mounts`