/scripts/ |
H A D | namespace.pl | 5 # Perform a name space analysis on the linux kernel. 61 # * Repeat the name space analysis until you can live with with the 82 my %def = (); # all definitions for each name 84 my %ref = (); # $ref{$name} exists if there is a true external reference to $name 85 my %export = (); # $export{$name} exists if there is an EXPORT_... of $name 161 $_ = $File::Find::name; 221 my ($source, $type, $name); 265 ($type, $name) [all...] |
H A D | bloat-o-meter | 19 size, type, name = l[:-1].split() 22 if name[:6] == "__mod_": continue 24 if "." in name[1:]: name = "static." + name.split(".")[0] 25 sym[name] = sym.get(name, 0) + int(size, 16) 37 for name in old: 38 if name not in common: 40 down += old[name] [all...] |
H A D | checkkconfigsymbols.sh | 10 Kconfigs="`find . -name 'Kconfig' -o -name 'Kconfig*[^~]'`" 13 find $paths -name '*.[chS]' -o -name 'Makefile' -o -name 'Makefile*[^~]'| while read i 41 for (name in names) { 43 printf ", %s", name; 45 printf "%s", name; 52 # Remove the _MODULE suffix when checking the variable name. This should
|
H A D | cleanpatch | 78 $name = basename($0); 87 print STDERR "Usage: $name [-width #] files...\n"; 96 print STDERR "$name: $f\n"; 104 print STDERR "$name: Cannot open file: $f: $!\n"; 123 print STDERR "$name: $f: binary file\n"; 181 print STDERR "$name: $f: malformed patch\n"; 187 print STDERR "$name: $f: malformed patch\n"; 240 print STDERR "$name: $f: malformed patch\n"; 252 die "$name: Failed to truncate modified file: $f: $!\n";
|
H A D | tags.sh | 15 ignore="( -name SCCS -o -name BitKeeper -o -name .svn -o \ 16 -name CVS -o -name .pc -o -name .hg -o \ 17 -name .git ) \ 51 find ${tree}arch/$1 $ignore $prune -name "$2" -print; 57 include=$(find ${tree}arch/$1/ -name include -type d); 60 find $include $ignore -name " [all...] |
H A D | cleanfile | 78 $name = basename($0); 87 print STDERR "Usage: $name [-width #] files...\n"; 96 print STDERR "$name: $f\n"; 104 print STDERR "$name: Cannot open file: $f: $!\n"; 123 print STDERR "$name: $f: binary file\n"; 171 die "$name: Failed to truncate modified file: $f: $!\n";
|
H A D | patch-kernel | 109 name="gzip" 113 name="bzip" 117 name="bzip2" 121 name="xz" 125 name="zip" 129 name="uncompress" 133 name="plaintext" 144 # First param is patch name (e.g. patch-2.4.9-ac5) - without path or extension 147 echo -n "Applying $1 (${name})... " 155 if [ "`find $sourcedir/ '(' -name '* [all...] |
H A D | get_maintainer.pl | 679 my ($name, $address) = parse_email($email); 681 my $tmp_email = format_email($name, $address, $email_usename); 743 --n => include name 'Full Name <addr\@domain.tld>' 752 --subsystem => print subsystem name if any 784 other automated tools that expect only ["name"] <email address> 834 my $name = ""; 838 $name = $1; 846 $name =~ s/^\s+|\s+$//g; 847 $name =~ s/^\"|\"$//g; 850 if ($name [all...] |
/scripts/dtc/libfdt/ |
H A D | libfdt.h | 156 #define __fdt_set_hdr(name) \ 157 static inline void fdt_set_##name(void *fdt, uint32_t val) \ 160 fdth->name = cpu_to_fdt32(val); \ 263 * @name: name of the subnode to locate 264 * @namelen: number of characters of name to consider 267 * namelen characters of name for matching the subnode name. This is 272 const char *name, int namelen); 277 * @name 374 fdt_get_property_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument 411 fdt_getprop_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument 723 fdt_setprop_inplace_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 789 fdt_property_cell(void *fdt, const char *name, uint32_t val) argument 939 fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument [all...] |
H A D | fdt_wip.c | 58 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, argument 64 propval = fdt_getprop_w(fdt, nodeoffset, name, &proplen); 83 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) argument 88 prop = fdt_get_property_w(fdt, nodeoffset, name, &len);
|
H A D | fdt_ro.c | 101 const char *name, int namelen) 113 && _fdt_nodename_eq(fdt, offset, name, namelen)) 124 const char *name) 126 return fdt_subnode_offset_namelen(fdt, parentoffset, name, strlen(name)); 171 *len = strlen(nh->name); 173 return nh->name; 183 const char *name, int *lenp) 216 if (strcmp(fdt_string(fdt, namestroff), name) == 0) { 245 const char *name, in 100 fdt_subnode_offset_namelen(const void *fdt, int offset, const char *name, int namelen) argument 123 fdt_subnode_offset(const void *fdt, int parentoffset, const char *name) argument 181 fdt_get_property(const void *fdt, int nodeoffset, const char *name, int *lenp) argument 244 fdt_getprop(const void *fdt, int nodeoffset, const char *name, int *lenp) argument 272 const char *name; local [all...] |
H A D | fdt_rw.c | 205 static int _fdt_resize_property(void *fdt, int nodeoffset, const char *name, argument 211 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); 223 static int _fdt_add_property(void *fdt, int nodeoffset, const char *name, argument 234 namestroff = _fdt_find_add_string(fdt, name); 251 int fdt_set_name(void *fdt, int nodeoffset, const char *name) argument 263 newlen = strlen(name); 270 memcpy(namep, name, newlen+1); 274 int fdt_setprop(void *fdt, int nodeoffset, const char *name, argument 282 err = _fdt_resize_property(fdt, nodeoffset, name, len, &prop); 284 err = _fdt_add_property(fdt, nodeoffset, name, le 292 fdt_delprop(void *fdt, int nodeoffset, const char *name) argument 307 fdt_add_subnode_namelen(void *fdt, int parentoffset, const char *name, int namelen) argument 348 fdt_add_subnode(void *fdt, int parentoffset, const char *name) argument [all...] |
/scripts/kconfig/ |
H A D | util.c | 14 struct file *file_lookup(const char *name) argument 17 const char *file_name = sym_expand_string_value(name); 20 if (!strcmp(name, file->name)) { 28 file->name = file_name; 35 int file_write_dep(const char *name) argument 42 if (!name) 43 name = ".kconfig.d"; 50 fprintf(out, "\t%s \\\n", file->name); 52 fprintf(out, "\t%s\n", file->name); [all...] |
H A D | confdata.c | 66 char *name = getenv("KCONFIG_CONFIG"); local 68 return name ? name : ".config"; 73 char *name = getenv("KCONFIG_AUTOCONFIG"); local 75 return name ? name : "include/config/auto.conf"; 83 char *dst, name[SYMBOL_MAXLENGTH]; local 86 dst = name; 90 dst = name; 94 sym = sym_lookup(name, 108 char *env, *name; local 185 conf_read_simple(const char *name, int def) argument 345 conf_read(const char *name) argument 673 conf_write(const char *name) argument 775 const char *name; local 888 const char *name; local [all...] |
H A D | conf.c | 136 printf("(%s) ", sym->name); 169 if (sym->name) 170 printf("(%s) ", sym->name); 283 if (child->sym->name) 284 printf(" (%s)", child->sym->name); 429 if (sym->name && !sym_is_choice_value(sym)) { 430 printf("%s%s\n", CONFIG_, sym->name); 484 const char *name, *defconfig_file = NULL /* gcc uninit */; local 536 name = av[optind]; 537 conf_parse(name); [all...] |
H A D | lkc.h | 16 static inline void bindtextdomain(const char *name, const char *dir) {} argument 24 #define P(name,type,arg) extern type name arg 60 int name; member in struct:kconf_id 71 FILE *zconf_fopen(const char *name); 72 void zconf_initscan(const char *name); 73 void zconf_nextfile(const char *name); 117 struct file *file_lookup(const char *name); 118 int file_write_dep(const char *name);
|
H A D | lkc_proto.h | 4 P(conf_parse,void,(const char *name)); 5 P(conf_read,int,(const char *name)); 6 P(conf_read_simple,int,(const char *name, int)); 7 P(conf_write_defconfig,int,(const char *name)); 8 P(conf_write,int,(const char *name)); 31 P(sym_lookup,struct symbol *,(const char *name, int flags)); 32 P(sym_find,struct symbol *,(const char *name));
|
H A D | zconf.l | 261 * ./name 262 * $(srctree)/name 267 FILE *zconf_fopen(const char *name) 272 f = fopen(name, "r"); 273 if (!f && name != NULL && name[0] != '/') { 276 sprintf(fullname, "%s/%s", env, name); 283 void zconf_initscan(const char *name) 285 yyin = zconf_fopen(name); 287 printf("can't find file %s\n", name); [all...] |
H A D | symbol.c | 15 .name = "y", 19 .name = "m", 23 .name = "n", 27 .name = "", 318 sym->curr.val = sym->name; 366 sym->name); 786 struct symbol *sym_lookup(const char *name, int flags) argument 792 if (name) { 793 if (name[0] && !name[ 827 sym_find(const char *name) argument 870 char *p, name[SYMBOL_MAXLENGTH]; local [all...] |
/scripts/selinux/genheaders/ |
H A D | genheaders.c | 9 const char *name; member in struct:security_class_mapping 61 for (i = 0; secclass_map[i].name; i++) { 63 map->name = stoupperx(map->name); 75 for (i = 0; secclass_map[i].name; i++) { 77 fprintf(fout, "#define SECCLASS_%s", map->name); 78 for (j = 0; j < max(1, 40 - strlen(map->name)); j++) 97 for (i = 0; secclass_map[i].name; i++) { 99 substr = strstr(map->name, needle); 101 fprintf(fout, "\tcase SECCLASS_%s:\n", map->name); [all...] |
/scripts/selinux/mdp/ |
H A D | mdp.c | 32 static void usage(char *name) argument 34 printf("usage: %s [-m] policy_file context_file\n", name); 40 const char *name; member in struct:security_class_mapping 72 for (i = 0; secclass_map[i].name; i++) 73 fprintf(fout, "class %s\n", secclass_map[i].name); 83 for (i = 0; secclass_map[i].name; i++) { 85 fprintf(fout, "class %s\n", map->name); 102 for (i = 0; secclass_map[i].name; i++) 104 secclass_map[i].name);
|
/scripts/dtc/ |
H A D | util.c | 37 char *join_path(const char *path, const char *name) argument 40 int lenn = strlen(name); 57 memcpy(str+lenp, name, lenn+1);
|
H A D | checks.c | 26 fprintf(stderr, "=== %s: ", (c)->name); \ 55 const char *name; member in struct:check 70 .name = #nm, \ 102 (c->level == ERROR) ? "ERROR" : "Warning", c->name); 125 TRACE(c, "%s\t'%s'", node->fullpath, prop->name); 151 c->prereq[i]->name); 226 if (streq(child->name, child2->name)) 227 FAIL(c, "Duplicate node name %s", 239 if (streq(prop->name, prop [all...] |
/scripts/genksyms/ |
H A D | genksyms.h | 46 const char *name; member in struct:symbol 64 struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact); 65 struct symbol *add_symbol(const char *name, enum symbol_type type,
|
H A D | genksyms.c | 59 const char *name; member in struct:__anon1 74 static void print_type_name(enum symbol_type type, const char *name); 167 struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact) argument 169 unsigned long h = crc32(name) % HASH_BUCKETS; 174 strcmp(name, sym->name) == 0 && 198 static struct symbol *__add_symbol(const char *name, enum symbol_type type, argument 237 if (!name) 242 h = crc32(name) % HASH_BUCKETS; 245 strcmp(name, sy 322 add_symbol(const char *name, enum symbol_type type, struct string_list *defn, int is_extern) argument 328 add_reference_symbol(const char *name, enum symbol_type type, struct string_list *defn, int is_extern) argument 645 export_symbol(const char *name) argument 706 print_type_name(enum symbol_type type, const char *name) argument [all...] |