/scripts/gdb/linux/ |
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 85 for kn in klist_for_each(dev['p']['klist_children']): 90 def _show_device(dev, level=0, recursive=False): argument 91 gdb.write('{}dev {}:\t{}\n'.format('\t' * level, dev_name(dev), dev)) 93 for child in device_for_each_child(dev): 107 for dev in bus_for_each_device(bus): 108 _show_device(dev, level=1) [all …]
|
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)))
|
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']) 131 text += " mode: {}\n".format(dev['state_use_accessors']) 132 text += " next_event: {} nsecs\n".format(dev['next_event']) 134 text += " set_next_event: {}\n".format(dev['set_next_event']) [all …]
|
/scripts/coccinelle/misc/ |
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/ |
D | Makefile.compiler | 13 $(if $(shell command -v -- $(c)gcc 2>/dev/null), $(c)))) 27 if ($(1)) >/dev/null 2>&1; \ 36 $(CC) $(KBUILD_CFLAGS) $(1) -c -x assembler /dev/null -o "$$TMP",$(1),$(2)) 47 $(1) -Werror $(2) $(3) -c -x c /dev/null -o "$$TMP",$(3),$(4)) 58 $(CC) -Werror $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) $(1) -c -x c /dev/null -o "$$TMP",y,n) 63 …$(CC) -Werror $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) -W$(strip $(1)) -c -x c /dev/null -o "$$TMP",-Wn…
|
D | as-version.sh | 48 set -- $(LC_ALL=C "$@" -Wa,--version -c -x assembler /dev/null -o /dev/null 2>/dev/null)
|
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 ||
|
D | setlocalversion | 65 if head=$(git rev-parse --verify HEAD 2>/dev/null); then 106 if git config --get svn-remote.svn.url >/dev/null; then 117 git --no-optional-locks status -uno --porcelain 2>/dev/null || 128 if hgid=$(hg id 2>/dev/null); then 152 if rev=$(LANG= LC_ALL= LC_MESSAGES=C svn info 2>/dev/null | grep '^Last Changed Rev'); then
|
D | cc-can-link.sh | 4 cat << "END" | $@ -x c - -o /dev/null >/dev/null 2>&1
|
D | decode_stacktrace.sh | 13 if type llvm-cxxfilt >/dev/null 2>&1 ; then 15 elif type c++filt >/dev/null 2>&1 ; then 60 declare -A cache 2>/dev/null 82 …release=$(gdb -ex 'print init_uts_ns.name.release' -ex 'quit' -quiet -batch "$vmlinux" 2>/dev/null… 138 …local base_addr=$(nm "$objfile" 2>/dev/null | awk '$3 == "'$name'" && ($2 == "t" || $2 == "T") {pr… 164 local code=$(${ADDR2LINE} -i -e "$objfile" "$address" 2>/dev/null)
|
D | extract-vmlinux | 18 readelf -h $1 > /dev/null 2>&1 || return 1 33 tail -c+$pos "$img" | $3 > $tmp 2> /dev/null
|
D | extract-ikconfig | 22 tail -c+$(($pos+8)) "$1" | zcat > $tmp1 2> /dev/null 36 tail -c+$pos "$img" | $3 > $tmp2 2> /dev/null
|
D | Kconfig.include | 16 if-success = $(shell,{ $(1); } >/dev/null 2>&1 && echo "$(2)" || echo "$(3)") 28 …; trap "rm -rf .tmp_$$$$" EXIT; $(CC) -Werror $(CLANG_FLAGS) $(1) -c -x c /dev/null -o .tmp_$$$$/t… 36 as-instr = $(success,printf "%b\n" "$(1)" | $(CC) $(CLANG_FLAGS) -c -x assembler -o /dev/null -) 69 cc-option-bit = $(if-success,$(CC) -Werror $(1) -E -x c /dev/null -o /dev/null,$(1))
|
D | Makefile | 6 CRYPTO_LIBS = $(shell pkg-config --libs libcrypto 2> /dev/null || echo -lcrypto) 7 CRYPTO_CFLAGS = $(shell pkg-config --cflags libcrypto 2> /dev/null)
|
D | gcc-x86_32-has-stack-protector.sh | 4 …X[200]; return 3; }" | $* -S -x c -c -m32 -O0 -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
|
D | gcc-x86_64-has-stack-protector.sh | 4 … -S -x c -c -m64 -O0 -mcmodel=kernel -fno-PIE -fstack-protector - -o - 2> /dev/null | grep -q "%gs"
|
D | xen-hypercalls.sh | 8 eval $CPP $LINUXINCLUDE -dD -imacros "$i" -x c /dev/null
|
D | gen_ksymdeps.sh | 13 ksyms=$($NM $1 2>/dev/null | sed -n 's/.*__ksym_marker_\(.*\)/\1/p' | tr A-Z a-z)
|
D | coccicheck | 22 $SPATCH --help | grep "\-\-jobs" > /dev/null && USE_JOBS="yes" 51 echo $SPFLAGS | egrep -e "--profile|--show-trying" 2>&1 > /dev/null 177 kill ${SPATCH_PID[$i]} 2>/dev/null
|
/scripts/coccinelle/free/ |
D | put_device.cocci | 22 ... when != put_device(&id->dev) 25 when != if (id) { ... put_device(&id->dev) ... } 27 when != e1 = (T)(&id->dev) 28 when != e1 = get_device(&id->dev) 33 | (T2)dev_get_drvdata(&id->dev) 35 | &id->dev
|
/scripts/coccinelle/api/ |
D | device_attr_show.cocci | 20 identifier show, dev, attr, buf; 24 ssize_t show(struct device *dev, struct device_attribute *attr, char *buf) 32 identifier show, dev, attr, buf; 35 ssize_t show(struct device *dev, struct device_attribute *attr, char *buf)
|
/scripts/genksyms/ |
D | Makefile | 17 cmd_bison_no_warn = $(YACC) --version >/dev/null; \ 18 $(cmd_bison) 2>/dev/null
|
/scripts/dtc/ |
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
|
/scripts/gcc-plugins/ |
D | gen-random-seed.sh | 5 SEED=`od -A n -t x8 -N 32 /dev/urandom | tr -d ' \n'`
|
/scripts/package/ |
D | mkdebian | 93 revision=$(cat .version 2>/dev/null||echo 1) 117 buildhost=${KBUILD_BUILD_HOST-$(hostname -f 2>/dev/null || hostname)} 127 elif distribution=$(lsb_release -cs 2>/dev/null) && [ -n "$distribution" ] && [ "$distribution" != …
|