/scripts/gdb/linux/ |
A D | device.py | 23 def dev_name(dev): argument 24 dev_init_name = dev['init_name'] 27 return dev['kobj']['name'].string() 84 def device_for_each_child(dev): argument 91 gdb.write('{}dev {}:\t{}\n'.format('\t' * level, dev_name(dev), dev)) 114 _show_device(dev) 132 _show_device(dev) 144 dev = gdb.parse_and_eval(arg) 160 if dev_name(dev) == name: 161 return dev [all …]
|
A D | genpd.py | 24 def rtpm_status_str(dev): argument 25 if dev['power']['runtime_error']: 27 if dev['power']['disable_depth']: 35 return _RPM_STATUS_LOOKUP[dev['power']['runtime_status']] 68 dev = pm_data['dev'] 69 kobj_path = kobject_get_path(dev['kobj']) 70 gdb.write(' %-50s %s\n' % (kobj_path, rtpm_status_str(dev)))
|
A D | timerlist.py | 114 dev = td['evtdev'] 122 if dev == 0: 126 text += "{}\n".format(dev['name']) 127 text += " max_delta_ns: {}\n".format(dev['max_delta_ns']) 128 text += " min_delta_ns: {}\n".format(dev['min_delta_ns']) 129 text += " mult: {}\n".format(dev['mult']) 130 text += " shift: {}\n".format(dev['shift']) 142 if dev[member]: 143 text += fmt.format(dev[member]) 145 text += " event_handler: {}\n".format(dev['event_handler']) [all …]
|
/scripts/coccinelle/misc/ |
A D | irqf_oneshot.cocci | 19 expression dev, irq, thread_fn; 31 devm_request_threaded_irq@p(dev, irq, NULL, thread_fn, 41 expression dev, irq, thread_fn, flags, e; 53 devm_request_threaded_irq@p(dev, irq, NULL, thread_fn, flags, ...); 57 expression dev, irq, thread_fn, flags; 71 devm_request_threaded_irq@p(dev, irq, NULL, thread_fn, 83 expression dev, irq; 89 *devm_request_threaded_irq@p(dev, irq, NULL, ...) 94 expression dev, irq; 100 devm_request_threaded_irq@p(dev, irq, NULL, ...)
|
/scripts/ |
A D | Makefile.compiler | 13 $(if $(shell command -v -- $(c)gcc 2>/dev/null), $(c)))) 26 if ($(1)) >/dev/null 2>&1; \ 35 …$(CC) -Werror $(KBUILD_CPPFLAGS) $(KBUILD_AFLAGS) $(1) -c -x assembler-with-cpp /dev/null -o "$$TM… 46 $(1) -Werror $(2) $(3:-Wno-%=-W%) -c -x c /dev/null -o "$$TMP",$(3),$(4)) 83 $(1) --sysroot=/dev/null $(filter-out --sysroot=/dev/null --target=%,$(2)) $(3)\ 84 --crate-type=rlib --out-dir=$(TMPOUT) --emit=obj=- - >/dev/null,$(3),$(4))
|
A D | check-git | 8 if ! git -C "${srctree}" rev-parse --verify HEAD >/dev/null 2>/dev/null; then 12 if ! test -z $(git -C "${srctree}" rev-parse --show-cdup 2>/dev/null); then
|
A D | rust_is_available.sh | 66 if ! command -v "$RUSTC" >/dev/null; then 74 if ! command -v "$BINDGEN" >/dev/null; then 85 LC_ALL=C "$RUSTC" --version 2>/dev/null 131 LC_ALL=C "$BINDGEN" --version workaround-for-0.69.0 2>/dev/null 169 if ! "$BINDGEN" $(dirname $0)/rust_is_available_bindgen_0_66.h >/dev/null; then 186 LC_ALL=C "$BINDGEN" $(dirname $0)/rust_is_available_bindgen_libclang.h 2>&1 >/dev/null 253 LC_ALL=C $CC --version 2>/dev/null \
|
A D | as-version.sh | 48 set -- $(LC_ALL=C "$@" -Wa,--version -c -x assembler-with-cpp /dev/null -o /dev/null 2>/dev/null)
|
A D | check_extable.sh | 10 objdump -hj __ex_table ${obj} 2> /dev/null > /dev/null 134 objdump -hj .debug_info ${obj} 2> /dev/null > /dev/null ||
|
A D | cc-can-link.sh | 4 cat << "END" | $@ -x c - -o /dev/null >/dev/null 2>&1
|
A D | build-version | 4 prev_ver=$(cat .version 2>/dev/null) && 5 ver=$(expr ${prev_ver} + 1 2>/dev/null) ||
|
A D | decode_stacktrace.sh | 14 if type llvm-cxxfilt >/dev/null 2>&1 ; then 16 elif type c++filt >/dev/null 2>&1 ; then 66 if type debuginfod-find >/dev/null 2>&1 ; then 78 declare -A cache 2>/dev/null 98 …release=$(gdb -ex 'print init_uts_ns.name.release' -ex 'quit' -quiet -batch "$vmlinux" 2>/dev/null… 167 …local base_addr=$(${NM} "$objfile" 2>/dev/null | awk '$3 == "'$name'" && ($2 == "t" || $2 == "T") … 193 local code=$(${ADDR2LINE} -i -e "$objfile" "$address" 2>/dev/null)
|
A D | setlocalversion | 45 set -- $(git rev-list --count --left-right "$tag"...HEAD 2> /dev/null) 81 if ! head=$(git rev-parse --verify HEAD 2>/dev/null); then 149 git --no-optional-locks status -uno --porcelain 2>/dev/null ||
|
A D | tools-support-relr.sh | 7 cat << "END" | $CC -c -x c - -o $tmp_file.o >/dev/null 2>&1 12 if ! $LD $tmp_file.o -shared -Bsymbolic --pack-dyn-relocs=relr -o $tmp_file 2>/dev/null; then
|
A D | check-uapi.sh | 199 headers_install > /dev/null 383 if cmp "$past_header" "$base_header" > /dev/null 2>&1; then 401 | sort -Vc > /dev/null 2>&1 416 if ! command -v "$ABIDIFF" > /dev/null 2>&1; then 431 if ! command -v "$CC" > /dev/null 2>&1; then 452 if ! git rev-parse --is-inside-work-tree > /dev/null 2>&1; then 457 if ! git rev-parse --verify "$past_ref" > /dev/null 2>&1; then 463 if ! git merge-base --is-ancestor "$past_ref" "$base_ref" > /dev/null 2>&1; then 516 …if diff -r -q "$(get_header_tree "$base_ref")" "$(get_header_tree "$past_ref")" > /dev/null 2>&1; … 567 exec > /dev/null 2>&1
|
A D | extract-vmlinux | 16 readelf -h "$1" > /dev/null 2>&1 32 tail -c+$pos "$img" | $3 > $tmp 2> /dev/null
|
A D | extract-ikconfig | 22 tail -c+$(($pos+8)) "$1" | zcat > $tmp1 2> /dev/null 36 tail -c+$pos "$img" | $3 > $tmp2 2> /dev/null
|
A D | Kconfig.include | 16 if-success = $(shell,{ $(1); } >/dev/null 2>&1 && echo "$(2)" || echo "$(3)") 28 …f .tmp_$$" EXIT; mkdir .tmp_$$; $(CC) -Werror $(CLANG_FLAGS) $(1) -c -x c /dev/null -o .tmp_$$/tmp… 36 …)" | $(CC) $(CLANG_FLAGS) $(2) -Wa$(comma)--fatal-warnings -c -x assembler-with-cpp -o /dev/null -) 64 cc-option-bit = $(if-success,$(CC) -Werror $(1) -E -x c /dev/null -o /dev/null,$(1)) 77 …rap "rm -rf .tmp_$$" EXIT; mkdir .tmp_$$; $(RUSTC) $(1) --crate-type=rlib /dev/null --out-dir=.tmp…
|
A D | rustc-version.sh | 20 if output=$("$@" --version 2>/dev/null); then
|
A D | rustc-llvm-version.sh | 16 if output=$("$@" --version --verbose 2>/dev/null | grep -E 'LLVM.*[0-9]+\.[0-9]+\.[0-9]+'); then
|
A D | xen-hypercalls.sh | 8 eval $CPP $LINUXINCLUDE -dD -imacros "$i" -x c /dev/null
|
/scripts/coccinelle/free/ |
A D | put_device.cocci | 22 ... when != put_device(&id->dev) 24 when != if (id) { ... put_device(&id->dev) ... } 26 when != e1 = (T)(&id->dev) 27 when != e1 = get_device(&id->dev) 32 | (T2)dev_get_drvdata(&id->dev) 34 | &id->dev
|
/scripts/coccinelle/api/ |
A D | device_attr_show.cocci | 18 identifier show, dev, attr, buf; 22 ssize_t show(struct device *dev, struct device_attribute *attr, char *buf) 30 identifier show, dev, attr, buf; 34 ssize_t show(struct device *dev, struct device_attribute *attr, char *buf)
|
/scripts/package/ |
A D | mkdebian | 116 diff -u /dev/null "${KCONFIG_CONFIG}" | tail -n +3 142 buildhost=${KBUILD_BUILD_HOST:-$(hostname -f 2>/dev/null || hostname)} 182 elif distribution=$(lsb_release -cs 2>/dev/null) && [ -n "$distribution" ] && [ "$distribution" != … 213 kmod, libdw-dev:native, libelf-dev:native, 214 libssl-dev:native, libssl-dev <!pkg.${sourcename}.nokernelheaders>, 228 Package: linux-libc-dev
|
/scripts/dtc/ |
A D | dtx_diff | 149 git_root=`git rev-parse --show-toplevel 2>/dev/null` 192 if diff --color /dev/null /dev/null 2>/dev/null ; then 214 git_root=`git rev-parse --show-toplevel 2>/dev/null` 286 if grep -q "^CONFIG_DTC=y" ${__KBUILD_OUTPUT}/.config 2>/dev/null; then 294 if ( ! which ${__DTC} >/dev/null ) ; then
|