/scripts/lib/kdoc/ |
A D | kdoc_output.py | 122 def out_warnings(self, args): argument 185 dtype = args.type 285 input_text = args 391 if args.get('typedef') or not args.get('functiontype'): 415 if args.parameterlist: 440 self.out_section(args) 470 self.out_section(args) 487 self.out_section(args) 493 dtype = args.type 540 self.out_section(args) [all …]
|
/scripts/ |
A D | get_abi.py | 61 def run(self, args): argument 64 parser = AbiParser(args.dir, debug=args.debug) 68 for t in parser.doc(args.raw, not args.no_file): 86 def run(self, args): argument 89 parser = AbiParser(args.dir, debug=args.debug) 109 def run(self, args): argument 112 parser = AbiParser(args.dir, debug=args.debug) 170 abi = AbiRegex(args.dir, debug=args.debug, 199 if args.debug: 206 if "func" in args: [all …]
|
A D | kernel-doc.py | 255 if args.wall: 262 if not args.debug: 284 if args.man: 286 elif args.none: 293 wreturn=args.wreturn, wshort_desc=args.wshort_desc, 296 kfiles.parse(args.files, export_file=args.export_file) 298 for t in kfiles.msg(enable_lineno=args.enable_lineno, export=args.export, 299 internal=args.internal, symbol=args.symbol, 310 if args.werror: 314 if args.verbose: [all …]
|
A D | kernel-doc.pl | 517 print $args{'function'} . " \\- " . $args{'purpose'} . "\n"; 571 print "enum " . $args{'enum'} . " \\- " . $args{'purpose'} . "\n"; 607 …print ".TH \"$args{'module'}\" 9 \"" . $args{'type'} . " " . $args{'struct'} . "\" \"$man_date\" \… 610 print $args{'type'} . " " . $args{'struct'} . " \\- " . $args{'purpose'} . "\n"; 616 print $args{'type'} . " " . $args{'struct'} . " {\n.br\n"; 645 print "typedef " . $args{'typedef'} . " \\- " . $args{'purpose'} . "\n"; 805 if ($args{'typedef'} || $args{'functiontype'} eq "") { 1101 $members =~ s/DECLARE_KFIFO\s*\($args,\s*$args,\s*$args\)/$2 \*$1/gos; 1103 $members =~ s/DECLARE_KFIFO_PTR\s*\($args,\s*$args\)/$2 \*$1/gos; 1345 my $args = $3; [all …]
|
A D | test_doc_build.py | 272 if not self.first_run and args.wait_input and args.build: 303 if args.req_file: 307 if args.build: 322 if args.output: 331 if args.verbose: 356 if args.log: 392 if args.build: 499 if not args.make_args: 500 args.make_args = [] 504 if args.full: [all …]
|
A D | checkkconfigsymbols.py | 87 if args.commit and args.diff: 90 if args.diff and not re.match(r"^[\w\-\.\^]+\.\.[\w\-\.\^]+$", args.diff): 94 if args.commit or args.diff: 103 if args.commit: 109 if args.ignore: 115 return args 125 if args.sim and not args.commit and not args.diff: 126 sims = find_sims(args.sim, args.ignore) 137 if args.commit or args.diff: 195 if args.find: [all …]
|
A D | make_fit.py | 111 def write_kernel(fsw, data, args): argument 215 def process_dtb(fname, args): argument 234 if args.decompose_dtbs: 252 def build_fit(args): argument 267 setup_fit(fsw, args.name) 275 write_kernel(fsw, comp_data, args) 277 for fname in args.dtbs: 292 output_dtb(fsw, seq, fn, args.arch, args.compress) 307 args = parse_args() 314 if args.external: [all …]
|
A D | generate_rust_analyzer.py | 188 args = parser.parse_args() 192 level=logging.INFO if args.verbose else logging.WARNING 196 assert args.sysroot in args.sysroot_src.parents 199 …"crates": generate_crates(args.srctree, args.objtree, args.sysroot_src, args.exttree, args.cfgs, a… 200 "sysroot": str(args.sysroot),
|
A D | Makefile.vmlinux_o | 42 vmlinux-objtool-args-y += $(objtool-args-y) 44 vmlinux-objtool-args-$(CONFIG_OBJTOOL_WERROR) += --Werror 47 vmlinux-objtool-args-$(CONFIG_NOINSTR_VALIDATION) += --noinstr \ 50 objtool-args = $(vmlinux-objtool-args-y) --link 55 vmlinux-o-ld-args-$(CONFIG_BUILTIN_MODULE_RANGES) += -Map=$@.map 60 $(vmlinux-o-ld-args-y) \
|
A D | Makefile.modpost | 43 modpost-args = \ 60 modpost-args += -n 66 modpost-args += -T modules.order 100 modpost-args += -t $(addprefix -u , $(ksym-wl)) 108 modpost-args += vmlinux.o 127 modpost-args += -i $(objtree)/Module.symvers 131 modpost-args += -e $(addprefix -i , $(KBUILD_EXTRA_SYMBOLS)) 143 $(MODPOST) $(modpost-args)
|
A D | bloat-o-meter | 24 args = parser.parse_args() 31 if args.prefix: 32 nm = "{}nm".format(args.prefix) 88 calc(args.file1, args.file2, symbolformat) 102 if args.c: 106 elif args.d: 108 elif args.t:
|
A D | Makefile.lib | 177 objtool-args-$(CONFIG_HAVE_NOINSTR_HACK) += --hacks=noinstr 179 objtool-args-$(CONFIG_X86_KERNEL_IBT) += --ibt 180 objtool-args-$(CONFIG_FINEIBT) += --cfi 183 objtool-args-$(CONFIG_HAVE_OBJTOOL_NOP_MCOUNT) += --mnop 185 objtool-args-$(CONFIG_UNWINDER_ORC) += --orc 186 objtool-args-$(CONFIG_MITIGATION_RETPOLINE) += --retpoline 187 objtool-args-$(CONFIG_MITIGATION_RETHUNK) += --rethunk 188 objtool-args-$(CONFIG_MITIGATION_SLS) += --sls 189 objtool-args-$(CONFIG_STACK_VALIDATION) += --stackval 194 objtool-args-$(CONFIG_OBJTOOL_WERROR) += --Werror [all …]
|
A D | macro_checker.py | 16 args = parser.parse_args() variable 99 if not args.verbose: 122 if os.path.isfile(args.path): 123 get_correct_macros(args.path) 124 file_check_macro(args.path, True) 125 elif os.path.isdir(args.path): 126 dir_check_macro(args.path)
|
A D | Makefile.asm-headers | 21 syshdr-args := --emit-nr 62 $(if $(syshdr-args-$*),$(syshdr-args-$*),$(syshdr-args)) \ 69 $(if $(systbl-args-$*),$(systbl-args-$*),$(systbl-args)) \
|
A D | Makefile.kcov | 6 kcov-rflags-y += -Cllvm-args=-sanitizer-coverage-level=3 7 kcov-rflags-y += -Cllvm-args=-sanitizer-coverage-trace-pc 8 kcov-rflags-$(CONFIG_KCOV_ENABLE_COMPARISONS) += -Cllvm-args=-sanitizer-coverage-trace-compares
|
A D | Makefile.kasan | 15 rustc-param = $(call rustc-option, -Cllvm-args=-$(1),) 17 check-args = $(foreach arg,$(2),$(call $(1),$(arg))) 53 -Cllvm-args=-asan-mapping-offset=$(KASAN_SHADOW_OFFSET) 97 CFLAGS_KASAN += $(call check-args, cc-param, $(kasan_params)) 101 RUSTFLAGS_KASAN += $(call check-args, rustc-param, $(kasan_params))
|
A D | spdxcheck.py | 343 args = ap.parse_args() variable 346 if '-' in args.path and len(args.path) > 1: 374 fname = args.exclude 383 if len(args.path) and args.path[0] == '-': 387 if args.path: 388 for p in args.path: 393 args.depth) 408 if args.verbose: 431 if ndirs and ndirs != dirsok and args.dirs: 432 if args.verbose: [all …]
|
/scripts/clang-tools/ |
A D | run-clang-tools.py | 46 global args 48 args = a 53 global args 55 if args.checks: 56 checks = args.checks.split(',') 59 if args.type == "clang-tidy": 69 pargs = ["clang-tidy", "-p", args.path, "-checks=" + ",".join(checks)] 70 if args.header_filter: 71 pargs.append("-header-filter=" + args.header_filter) 83 args = parse_arguments() [all …]
|
A D | gen_compile_commands.py | 64 args = parser.parse_args() 66 return (args.log_level, 67 os.path.realpath(args.directory), 68 args.output, 69 args.ar, 70 args.paths if len(args.paths) > 0 else [args.directory])
|
/scripts/atomic/ |
A D | gen-atomic-instrumented.sh | 68 local args="$(gen_args "$@")" 78 ${retstmt}raw_${atomicname}(${args}); 152 grep '^[a-z]' "$1" | while read name meta args; do 153 gen_proto "${meta}" "${name}" "atomic" "int" ${args} 156 grep '^[a-z]' "$1" | while read name meta args; do 157 gen_proto "${meta}" "${name}" "atomic64" "s64" ${args} 160 grep '^[a-z]' "$1" | while read name meta args; do 161 gen_proto "${meta}" "${name}" "atomic_long" "long" ${args}
|
A D | gen-atomic-fallback.sh | 23 local args="$(gen_args "$@")" 74 local args="$(gen_args "$@")" 90 printf "\t${retstmt}arch_${atomicname}(${args});\n" 96 printf "\t${retstmt}arch_${atomicname}(${args});\n" 107 printf "\t${retstmt}arch_${basename}(${args});\n" 319 grep '^[a-z]' "$1" | while read name meta args; do 320 gen_proto "${meta}" "${name}" "atomic" "int" ${args} 330 grep '^[a-z]' "$1" | while read name meta args; do 331 gen_proto "${meta}" "${name}" "atomic64" "s64" ${args}
|
A D | gen-atomics.sh | 15 while read script header args; do 16 /bin/sh ${ATOMICDIR}/${script} ${ATOMICTBL} ${args} > ${LINUXDIR}/include/${header}
|
/scripts/dtc/ |
A D | dt-extract-compatibles | 122 args = ap.parse_args() 124 show_filename = args.with_filename 127 if args.driver_match: 129 for f in files_to_parse(args.cfile): 132 for f in files_to_parse(args.cfile):
|
/scripts/mod/ |
A D | modpost.h | 240 #define warn(fmt, args...) modpost_log(false, fmt, ##args) argument 241 #define error(fmt, args...) modpost_log(true, fmt, ##args) argument 242 #define fatal(fmt, args...) do { error(fmt, ##args); exit(1); } while (1) argument
|
/scripts/gcc-plugins/ |
A D | gcc-common.h | 118 static inline void __add_type_attr(tree type, const char *attr, tree args) in __add_type_attr() argument 126 gcc_assert(TREE_VALUE(oldattr) == args || TREE_VALUE(TREE_VALUE(oldattr)) == TREE_VALUE(args)); in __add_type_attr() 131 TYPE_ATTRIBUTES(type) = tree_cons(get_identifier(attr), args, TYPE_ATTRIBUTES(type)); in __add_type_attr() 134 static inline void add_type_attr(tree type, const char *attr, tree args) in add_type_attr() argument 138 __add_type_attr(TYPE_CANONICAL(type), attr, args); in add_type_attr() 139 __add_type_attr(TYPE_CANONICAL(main_variant), attr, args); in add_type_attr() 140 __add_type_attr(main_variant, attr, args); in add_type_attr() 146 __add_type_attr(TYPE_CANONICAL(type), attr, args); in add_type_attr()
|