Searched refs:regex (Results 1 - 25 of 68) sorted by relevance
123
/linux-master/tools/perf/trace/beauty/ |
H A D | perf_ioctl.sh | 7 regex='^#[[:space:]]*define[[:space:]]+PERF_EVENT_IOC_(\w+)[[:space:]]+_IO[RW]*[[:space:]]*\([[:space:]]*.\$.[[:space:]]*,[[:space:]]*([[:digit:]]+).*' 8 grep -E $regex ${header_dir}/perf_event.h | \ 9 sed -r "s/$regex/\2 \1/g" | \
|
H A D | pkey_alloc_access_rights.sh | 7 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+PKEY_([[:alnum:]_]+)[[:space:]]+(0x[[:xdigit:]]+)[[:space:]]*' 8 grep -E $regex ${header_dir}/mman-common.h | \ 9 sed -r "s/$regex/\2 \2 \1/g" | \
|
H A D | mount_flags.sh | 7 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MS_([[:alnum:]_]+)[[:space:]]+([[:digit:]]+)[[:space:]]*.*' 8 grep -E $regex ${header_dir}/mount.h | grep -E -v '(MSK|VERBOSE|MGC_VAL)\>' | \ 9 sed -r "s/$regex/\2 \2 \1/g" | sort -n | \ 11 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MS_([[:alnum:]_]+)[[:space:]]+\(1<<([[:digit:]]+)\)[[:space:]]*.*' 12 grep -E $regex ${header_dir}/mount.h | \ 13 sed -r "s/$regex/\2 \1/g" | \
|
H A D | vhost_virtio_ioctl.sh | 7 regex='^#[[:space:]]*define[[:space:]]+VHOST_(\w+)[[:space:]]+_IOW?\([[:space:]]*VHOST_VIRTIO[[:space:]]*,[[:space:]]*(0x[[:xdigit:]]+).*' 8 grep -E $regex ${header_dir}/vhost.h | \ 9 sed -r "s/$regex/\2 \1/g" | \ 14 regex='^#[[:space:]]*define[[:space:]]+VHOST_(\w+)[[:space:]]+_IOW?R\([[:space:]]*VHOST_VIRTIO[[:space:]]*,[[:space:]]*(0x[[:xdigit:]]+).*' 15 grep -E $regex ${header_dir}/vhost.h | \ 16 sed -r "s/$regex/\2 \1/g" | \
|
H A D | usbdevfs_ioctl.sh | 10 regex="^#[[:space:]]*define[[:space:]]+USBDEVFS_(\w+)(\(\w+\))?[[:space:]]+_IO[CWR]{0,2}\([[:space:]]*(_IOC_\w+,[[:space:]]*)?'U'[[:space:]]*,[[:space:]]*([[:digit:]]+).*" 11 grep -E "$regex" ${header_dir}/usbdevice_fs.h | grep -E -v 'USBDEVFS_\w+32[[:space:]]' | \ 12 sed -r "s/$regex/\4 \1/g" | \ 17 regex="^#[[:space:]]*define[[:space:]]+USBDEVFS_(\w+)[[:space:]]+_IO[WR]{0,2}\([[:space:]]*'U'[[:space:]]*,[[:space:]]*([[:digit:]]+).*" 18 grep -E $regex ${header_dir}/usbdevice_fs.h | grep -E 'USBDEVFS_\w+32[[:space:]]' | \ 19 sed -r "s/$regex/\2 \1/g" | \
|
H A D | prctl_option.sh | 7 regex='^#define[[:space:]]{1}PR_(\w+)[[:space:]]*([[:xdigit:]]+)([[:space:]]*/.*)?$' 8 grep -E $regex ${header_dir}/prctl.h | grep -v PR_SET_PTRACER | \ 9 sed -E "s%$regex%\2 \1%g" | \ 14 regex='^#[[:space:]]+define[[:space:]]+PR_SET_MM_(\w+)[[:space:]]*([[:digit:]]+).*' 15 grep -E $regex ${header_dir}/prctl.h | \ 16 sed -r "s/$regex/\2 \1/g" | \
|
H A D | sockaddr.sh | 18 regex='^#define[[:space:]]+AF_(\w+)[[:space:]]+([[:digit:]]+).*' 20 grep -E $regex ${header_dir}/socket.h | \ 21 sed -r "s/$regex/\2 \1/g" | \
|
H A D | kvm_ioctl.sh | 7 regex='^#[[:space:]]*define[[:space:]]+KVM_(\w+)[[:space:]]+_IO[RW]*\([[:space:]]*KVMIO[[:space:]]*,[[:space:]]*(0x[[:xdigit:]]+).*' 8 grep -E $regex ${header_dir}/kvm.h | \ 9 sed -r "s/$regex/\2 \1/g" | \
|
H A D | kcmp_type.sh | 7 regex='^[[:space:]]+(KCMP_(\w+)),' 8 grep -E $regex ${header_dir}/kcmp.h | grep -v KCMP_TYPES, | \ 9 sed -r "s/$regex/\1 \2/g" | \
|
H A D | madvise_behavior.sh | 7 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MADV_([[:alnum:]_]+)[[:space:]]+([[:digit:]]+)[[:space:]]*.*' 8 grep -E $regex ${header_dir}/mman-common.h | \ 9 sed -r "s/$regex/\2 \1/g" | \
|
H A D | fadvise.sh | 7 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+POSIX_FADV_(\w+)[[:space:]]+([[:digit:]]+)[[:space:]]+.*' 9 grep -E $regex ${header_dir}/fadvise.h | \ 10 sed -r "s/$regex/\2 \1/g" | \
|
H A D | mremap_flags.sh | 13 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MREMAP_([[:alnum:]_]+)[[:space:]]+((0x)?[[:xdigit:]]+)[[:space:]]*.*' 14 grep -E -q $regex ${linux_mman} && \ 15 (grep -E $regex ${linux_mman} | \ 16 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \
|
H A D | rename_flags.sh | 10 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+RENAME_([[:alnum:]_]+)[[:space:]]+\(1[[:space:]]*<<[[:space:]]*([[:xdigit:]]+)[[:space:]]*\)[[:space:]]*.*' 11 grep -E -q $regex ${fs_header} && \ 12 (grep -E $regex ${fs_header} | \ 13 sed -r "s/$regex/\2 \1/g" | \
|
H A D | sync_file_range.sh | 13 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+SYNC_FILE_RANGE_([[:alnum:]_]+)[[:space:]]+([[:xdigit:]]+)[[:space:]]*.*' 14 grep -E $regex ${linux_fs} | \ 15 sed -r "s/$regex/\2 \1/g" | \
|
H A D | fsmount.sh | 18 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MOUNT_ATTR_([[:alnum:]][[:alnum:]_]+)[[:space:]]+(0x[[:xdigit:]]+)[[:space:]]*.*' 19 grep -E $regex ${linux_mount} | grep -v MOUNT_ATTR_RELATIME | \ 20 sed -r "s/$regex/\2 \1/g" | \
|
H A D | fspick.sh | 13 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+FSPICK_([[:alnum:]_]+)[[:space:]]+(0x[[:xdigit:]]+)[[:space:]]*.*' 14 grep -E $regex ${linux_mount} | \ 15 sed -r "s/$regex/\2 \1/g" | \
|
H A D | move_mount_flags.sh | 13 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MOVE_MOUNT_([^_]+[[:alnum:]_]+)[[:space:]]+(0x[[:xdigit:]]+)[[:space:]]*.*' 14 grep -E $regex ${linux_mount} | \ 15 sed -r "s/$regex/\2 \1/g" | \
|
H A D | mmap_flags.sh | 21 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MAP_([[:alnum:]_]+)[[:space:]]+(0x[[:xdigit:]]+)[[:space:]]*.*' 23 grep -E -q $regex ${arch_mman} && \ 24 (grep -E $regex ${arch_mman} | \ 25 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \ 27 grep -E -q $regex ${linux_mman} && \ 28 (grep -E $regex ${linux_mman} | \ 30 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \ 34 (grep -E $regex ${header_dir}/mman-common.h | \ 36 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \ 40 (grep -E $regex [all...] |
H A D | mmap_prot.sh | 19 regex=`printf '^[[:space:]]*#[[:space:]]*define[[:space:]]+%s_([[:alnum:]_]+)[[:space:]]+(0x[[:xdigit:]]+)[[:space:]]*.*' ${prefix}` 22 (grep -E $regex ${common_mman} | \ 24 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \ 26 test -f ${arch_mman} && grep -E -q $regex ${arch_mman} && 27 (grep -E $regex ${arch_mman} | \ 29 sed -r "s/$regex/\2 \1 \1 \1 \2/g" | \
|
H A D | x86_arch_prctl.sh | 16 regex=`printf '^[[:space:]]*#[[:space:]]*define[[:space:]]+ARCH_([[:alnum:]_]+)[[:space:]]+(%s[[:xdigit:]]+).*' ${prefix}` 18 grep -E -q $regex ${prctl_arch_header} && \ 19 (grep -E $regex ${prctl_arch_header} | \ 20 sed -r "s/$regex/\2 \1/g" | \
|
/linux-master/tools/perf/trace/beauty/tracepoints/ |
H A D | x86_msr.sh | 17 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MSR_([[:alnum:]][[:alnum:]_]+)[[:space:]]+(0x00000[[:xdigit:]]+)[[:space:]]*.*' 18 grep -E $regex ${x86_msr_index} | grep -E -v 'MSR_(ATOM|P[46]|IA32_(TSC_DEADLINE|UCODE_REV)|IDT_FCR4)' | \ 19 sed -r "s/$regex/\2 \1/g" | sort -n | \ 24 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MSR_([[:alnum:]][[:alnum:]_]+)[[:space:]]+(0xc0000[[:xdigit:]]+)[[:space:]]*.*' 26 grep -E $regex ${x86_msr_index} | sed -r "s/$regex/\2/g" | sort -n | head -1 28 grep -E $regex ${x86_msr_index} | \ 29 sed -r "s/$regex/\2 \1/g" | grep -E -vw 'K6_WHCR' | sort -n | \ 33 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MSR_([[:alnum:]][[:alnum:]_]+)[[:space:]]+(0xc0010[[:xdigit:]]+)[[:space:]]*.*' 35 grep -E $regex [all...] |
H A D | x86_irq_vectors.sh | 21 regex='^#define[[:space:]]+([[:alnum:]_]+)_VECTOR[[:space:]]+(0x[[:xdigit:]]+)$' 23 grep -E ${regex} | \ 24 sed -r "s/${regex}/\2 \1/g" | sort -n | \
|
/linux-master/tools/testing/selftests/alsa/conf.d/ |
H A D | Lenovo_ThinkPad_P1_Gen2.conf | 6 # Use regex match for the string read from the given sysfs path 16 regex "LENOVO_MT_20QU_BU_Think_FM_ThinkPad P1 Gen 2" 22 # Use regex match for the /sys/class/sound/card*/ tree (relative) 27 regex "0x229e" 31 regex "0x17aa"
|
/linux-master/Documentation/trace/postprocess/ |
H A D | trace-pagealloc-postprocess.pl | 79 # Defaults for dynamically discovered regex's 82 # Dyanically discovered regex 85 # Static regex used. Specified like this for readability and for use with /o 94 my $regex; 98 $regex = $default; 104 $regex = $1; 105 $regex =~ s/%p/\([0-9a-f]*\)/g; 106 $regex =~ s/%d/\([-0-9]*\)/g; 107 $regex =~ s/%lu/\([0-9]*\)/g; 114 foreach $tuple (split /\s/, $regex) { [all...] |
/linux-master/arch/mips/boot/tools/ |
H A D | relocs.h | 17 #include <regex.h>
|
Completed in 127 milliseconds
123