/scripts/ |
A D | bloat-o-meter | 48 name = re_NUMBER.sub('', name) 49 sym[name] = sym.get(name, 0) + int(size, 16) 63 for name in old: 64 otot += old[name] 68 delta.append((-old[name], name)) 70 for name in new: 71 ntot += new[name] 74 up += new[name] 75 delta.append((new[name], name)) 77 for name in common: [all …]
|
A D | get_feat.pl | 93 my $file = $File::Find::name; 111 my $name; 126 $name = $1; 128 $max_size_name = length($name); 184 if (!$name) { 198 $data{$name}->{where} = $file; 199 $data{$name}->{subsys} = $subsys; 200 $data{$name}->{kconfig} = $kconfig; 244 foreach my $name (sort { 276 foreach my $name (sort { [all …]
|
A D | patch-kernel | 110 name="gzip" 114 name="bzip" 118 name="bzip2" 122 name="xz" 126 name="zip" 130 name="uncompress" 134 name="plaintext" 148 echo -n "Applying $1 (${name})... " 162 find $sourcedir/ '(' -name '*.orig' -o -name '.*.orig' ')' -exec rm -f {} \; 170 echo -n "Reversing $1 (${name}) ... " [all …]
|
A D | cc-version.sh | 35 name=$1 39 case "$name" in 60 echo >&2 "*** Your $name version: $version" 61 echo >&2 "*** Minimum $name version: $min_version" 66 echo $name $cversion
|
/scripts/package/ |
A D | install-extmod-build | 14 \( -name atomic -o -name dtc -o -name kconfig -o -name package \) -prune -o \ 15 ! -name unifdef -a ! -name mk_elfconfig -a \( -type f -o -type l \) -print 23 find "arch/${SRCARCH}" -maxdepth 1 -name 'Makefile*' 24 find "arch/${SRCARCH}" -name generated -prune -o -name include -type d -print 25 find "arch/${SRCARCH}" -name Kbuild.platforms -o -name Platform 26 find include \( -name config -o -name generated \) -prune -o \( -type f -o -type l \) -print 43 find scripts/gcc-plugins -name '*.so' 71 find "${destdir}" \( -name '.*.cmd' -o -name '*.o' \) -delete
|
/scripts/dtc/libfdt/ |
A D | libfdt.h | 260 #define fdt_set_hdr_(name) \ argument 264 fdth->name = cpu_to_fdt32(val); \ 713 const char *name, 746 const char *name, int *lenp); 748 const char *name, in fdt_get_property_w() argument 808 const char *name, int namelen, in fdt_getprop_namelen_w() argument 845 const char *name, int *lenp); 847 const char *name, int *lenp) in fdt_getprop_w() argument 880 const char *name, int namelen); 911 const char *name, int namelen); [all …]
|
A D | fdt_wip.c | 14 const char *name, int namelen, in fdt_setprop_inplace_namelen_partial() argument 21 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen, in fdt_setprop_inplace_namelen_partial() 33 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, in fdt_setprop_inplace() argument 39 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace() 46 return fdt_setprop_inplace_namelen_partial(fdt, nodeoffset, name, in fdt_setprop_inplace() 47 strlen(name), 0, in fdt_setprop_inplace() 59 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) in fdt_nop_property() argument 64 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_nop_property()
|
A D | fdt_rw.c | 190 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_resize_property_() 214 namestroff = fdt_find_add_string_(fdt, name, &allocated); in fdt_add_property_() 225 fdt_del_last_string_(fdt, name); in fdt_add_property_() 247 newlen = strlen(name); in fdt_set_name() 254 memcpy(namep, name, newlen+1); in fdt_set_name() 299 prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_appendprop() 325 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_delprop() 334 const char *name, int namelen) in fdt_add_subnode_namelen() argument 369 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen() 370 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen() [all …]
|
A D | fdt_ro.c | 247 return fdt_subnode_offset_namelen(fdt, parentoffset, name, strlen(name)); in fdt_subnode_offset() 313 nameptr = nh->name; in fdt_get_name() 415 name, namelen)) { in fdt_get_property_namelen_() 481 const char *name; in fdt_getprop_by_offset() local 487 *namep = name; in fdt_getprop_by_offset() 488 if (!name) { in fdt_getprop_by_offset() 508 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp); in fdt_getprop() 557 return fdt_get_alias_namelen(fdt, name, strlen(name)); in fdt_get_alias() 568 return fdt_get_symbol_namelen(fdt, name, strlen(name)); in fdt_get_symbol() 575 const char *name; in fdt_get_path() local [all …]
|
/scripts/gendwarfksyms/ |
A D | symbols.c | 53 return name && !strncmp(name, SYMBOL_PTR_PREFIX, SYMBOL_PTR_PREFIX_LEN); in is_symbol_ptr() 62 if (!name || !*name) in for_each() 64 if (is_symbol_ptr(name)) in for_each() 68 hash_str(name)) { in for_each() 69 if (strcmp(match->name, name)) in for_each() 135 char *name = NULL; in symbol_read_exports() local 145 free(name); in symbol_read_exports() 150 sym->name = name; in symbol_read_exports() 157 debug("%s", sym->name); in symbol_read_exports() 268 if (!name) in elf_for_each_global() [all …]
|
A D | types.c | 70 char *name; member 110 if (!strcmp(name, e->name)) { in __type_map_get() 127 e->name = xstrdup(name); in type_map_add() 189 return strcmp((*e1)->name, (*e2)->name); in cmp_expansion_name() 297 char *name; in get_type_name() local 363 char *name; in __type_expand() local 380 if (name) in __type_expand() 381 type_expansion_append(type, name, name); in __type_expand() 486 char *name; in expand_type() local 506 if (!name) in expand_type() [all …]
|
/scripts/atomic/ |
A D | atomic-tbl.sh | 50 local name="$1"; shift 62 for base in "${pfx}${name}${sfx}${order}" "${pfx}${name}${sfx}" "${name}"; do 108 local name="${1#c}" 135 local name="$(gen_param_name "${arg}")" 138 printf "${type}${name}" 192 local name="$1"; shift 198 local atomicname="${atomic}_${pfx}${name}${sfx}${order}" 233 local name="$1"; shift 237 local atomicname="${atomic}_${pfx}${name}${sfx}${order}" 254 local name="$1"; shift [all …]
|
A D | gen-atomic-fallback.sh | 14 local name="$1"; shift 33 local name="$1"; shift 47 local name="$1"; shift 60 local name="$1"; shift 66 local atomicname="${atomic}_${pfx}${name}${sfx}${order}" 67 local basename="${atomic}_${pfx}${name}${sfx}" 127 local name="$1"; shift 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 [all …]
|
A D | gen-atomic-instrumented.sh | 14 local name="$(gen_param_name "${arg}")" 30 printf "\tinstrument_atomic_${rw}(${name}, sizeof(*${name}));\n" 57 local name="$1"; shift 63 local atomicname="${atomic}_${pfx}${name}${sfx}${order}" 71 gen_kerneldoc "" "${meta}" "${pfx}" "${name}" "${sfx}" "${order}" "${atomic}" "${int}" "$@" 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 [all …]
|
/scripts/kconfig/ |
A D | util.c | 21 char name[]; member 25 const char *file_lookup(const char *name) in file_lookup() argument 29 int hash = hash_str(name); in file_lookup() 32 if (!strcmp(name, file->name)) in file_lookup() 33 return file->name; in file_lookup() 35 len = strlen(name); in file_lookup() 38 memcpy(file->name, name, len); in file_lookup() 39 file->name[len] = '\0'; in file_lookup() 43 str_printf(&autoconf_cmd, "\t%s \\\n", name); in file_lookup() 45 return file->name; in file_lookup()
|
A D | preprocess.c | 41 char *name; member 51 e->name = xstrdup(name); in env_add() 71 if (!*name) in env_expand() 75 if (!strcmp(name, e->name)) in env_expand() 213 if (strcmp(f->name, name)) in function_expand() 218 name); in function_expand() 222 name); in function_expand() 236 char *name; member 248 if (!strcmp(name, v->name)) in variable_lookup() 266 name); in variable_expand() [all …]
|
A D | confdata.c | 213 return name ? name : ".config"; in conf_get_configname() 220 return name ? name : "include/config/auto.conf"; in conf_get_autoconfig_name() 227 return name ? name : "include/generated/autoconf.h"; in conf_get_autoheader_name() 234 return name ? name : "include/generated/rustc_cfg"; in conf_get_rustccfg_name() 331 if (name) { in conf_read_simple() 363 name = env; in conf_read_simple() 368 name); in conf_read_simple() 814 if (!name) in conf_write() 817 if (!*name) { in conf_write() 822 if (is_dir(name)) { in conf_write() [all …]
|
A D | lkc_proto.h | 8 void conf_parse(const char *name); 9 int conf_read(const char *name); 10 int conf_read_simple(const char *name, int); 11 int conf_write_defconfig(const char *name); 12 int conf_write(const char *name); 21 struct symbol * sym_lookup(const char *name, int flags); 22 struct symbol * sym_find(const char *name);
|
/scripts/selinux/mdp/ |
A D | mdp.c | 20 static void usage(char *name) in usage() argument 28 const char *name; member 63 for (i = 0; secclass_map[i].name; i++) in main() 72 if (name) in main() 73 fprintf(fout, "sid %s\n", name); in main() 80 for (i = 0; secclass_map[i].name; i++) { in main() 82 fprintf(fout, "class %s\n", map->name); in main() 125 for (i = 0; secclass_map[i].name; i++) in main() 127 secclass_map[i].name); in main() 141 if (name) in main() [all …]
|
/scripts/gdb/linux/ |
A D | clk.py | 64 def lookup_hlist(self, hlist_head, name): argument 66 if child['name'].string() == name: 68 result = self.lookup_hlist(child['children'], name) 72 def invoke(self, name): argument 73 name = name.string() 74 return (self.lookup_hlist(gdb.parse_and_eval("clk_root_list"), name) or 75 self.lookup_hlist(gdb.parse_and_eval("clk_orphan_list"), name))
|
A D | device.py | 49 def get_bus_by_name(name): argument 51 if item['bus']['name'].string() == name: 53 raise gdb.GdbError("Can't find bus type {!r}".format(name)) 56 def get_class_by_name(name): argument 58 if item['class']['name'].string() == name: 156 def invoke(self, bus, name): argument 157 name = name.string() 160 if dev_name(dev) == name: 170 def invoke(self, cls, name): argument 171 name = name.string() [all …]
|
/scripts/genksyms/ |
A D | genksyms.c | 45 const char *name; member 159 strcmp(name, sym->name) == 0 && in find_symbol() 219 if (!name) in process_enum() 241 h = crc32(name); in __add_symbol() 244 strcmp(name, sym->name)) in __add_symbol() 277 free(sym->name); in __add_symbol() 283 sym->name = xstrdup(name); in __add_symbol() 299 symbol_types[type].name, name); in __add_symbol() 302 type, name); in __add_symbol() 669 name); in export_symbol() [all …]
|
/scripts/dtc/ |
A D | livetree.c | 46 new->name = xstrdup(name); in build_property() 59 new->name = xstrdup(name); in build_property_delete() 123 node->name = xstrdup(name); in name_node() 170 if (streq(old_prop->name, new_prop->name)) { in merge_nodes() 207 if (streq(old_child->name, new_child->name)) { in merge_nodes() 234 char *name; in add_orphan_node() local 253 free(name); in add_orphan_node() 285 if (streq(prop->name, name)) { in delete_property_by_name() 318 if (streq(node->name, name)) { in delete_node_by_name() 737 return strcmp(a->name, b->name); in cmp_prop() [all …]
|
/scripts/include/ |
A D | hashtable.h | 8 #define HASH_SIZE(name) (ARRAY_SIZE(name)) argument 10 #define HASHTABLE_DECLARE(name, size) struct hlist_head name[size] argument 12 #define HASHTABLE_DEFINE(name, size) \ argument 13 HASHTABLE_DECLARE(name, size) = \
|
/scripts/mod/ |
A D | modpost.c | 201 memcpy(mod->name, name, namelen); in new_module() 242 strcpy(s->name, name); in alloc_symbol() 358 mod->name, name, s->module->name, in sym_add_exported() 1095 mod->name, name); in check_export_symbol() 1106 mod->name, data, name); in check_export_symbol() 1130 mod->name, name); in check_export_symbol() 1133 mod->name, name); in check_export_symbol() 1743 s->name, mod->name); in check_exports() 1748 s->name, mod->name); in check_exports() 1908 s->name, mod->name); in add_extended_versions() [all …]
|