| /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)))) 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))
|
| 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 129 LC_ALL=C "$BINDGEN" --version workaround-for-0.69.0 2>/dev/null 167 if ! "$BINDGEN" $(dirname $0)/rust_is_available_bindgen_0_66.h >/dev/null; then 184 LC_ALL=C "$BINDGEN" $(dirname $0)/rust_is_available_bindgen_libclang.h 2>&1 >/dev/null 236 LC_ALL=C $CC --version 2>/dev/null \
|
| 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
|
| D | as-version.sh | 48 set -- $(LC_ALL=C "$@" -Wa,--version -c -x assembler-with-cpp /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 | cc-can-link.sh | 4 cat << "END" | $@ -x c - -o /dev/null >/dev/null 2>&1
|
| D | build-version | 4 prev_ver=$(cat .version 2>/dev/null) && 5 ver=$(expr ${prev_ver} + 1 2>/dev/null) ||
|
| 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)
|
| D | setlocalversion | 41 set -- $(git rev-list --count --left-right "$tag"...HEAD 2> /dev/null) 77 if ! head=$(git rev-parse --verify HEAD 2>/dev/null); then 145 git --no-optional-locks status -uno --porcelain 2>/dev/null ||
|
| 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
|
| 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
|
| 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 …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…
|
| D | rustc-version.sh | 20 if output=$("$@" --version 2>/dev/null); then
|
| D | rustc-llvm-version.sh | 16 if output=$("$@" --version --verbose 2>/dev/null | grep -E 'LLVM.*[0-9]+\.[0-9]+\.[0-9]+'); then
|
| /scripts/coccinelle/free/ |
| 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/ |
| 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/genksyms/ |
| D | Makefile | 17 cmd_bison_no_warn = $(YACC) --version >/dev/null; \ 18 $(cmd_bison) 2>/dev/null
|
| /scripts/package/ |
| D | mkdebian | 107 diff -u /dev/null "${KCONFIG_CONFIG}" | tail -n +3 133 buildhost=${KBUILD_BUILD_HOST:-$(hostname -f 2>/dev/null || hostname)} 172 elif distribution=$(lsb_release -cs 2>/dev/null) && [ -n "$distribution" ] && [ "$distribution" != … 203 kmod, libelf-dev:native, 204 libssl-dev:native, libssl-dev <!pkg.${sourcename}.nokernelheaders>, 218 Package: linux-libc-dev
|
| /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
|