/scripts/ |
D | bloat-o-meter | 31 size, type, name = line.split() 34 if name.startswith("__mod_"): continue 35 if name.startswith("__se_sys"): continue 36 if name.startswith("__se_compat_sys"): continue 37 if name.startswith("__addressable_"): continue 38 if name == "linux_banner": continue 40 name = re_NUMBER.sub('', name) 41 sym[name] = sym.get(name, 0) + int(size, 16) 55 for name in old: 56 otot += old[name] [all …]
|
D | get_feat.pl | 91 my $file = $File::Find::name; 105 my $name; 120 $name = $1; 121 if (length($name) > $max_size_name) { 122 $max_size_name = length($name); 178 if (!$name) { 192 $data{$name}->{where} = $file; 193 $data{$name}->{subsys} = $subsys; 194 $data{$name}->{kconfig} = $kconfig; 195 $data{$name}->{description} = $description; [all …]
|
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 …]
|
D | get_maintainer.pl | 389 $file = $File::Find::name; 986 my ($name, $address) = parse_email($email); 988 my $tmp_email = format_email($name, $address, $email_usename); 1155 my $name = ""; 1159 $name = $1; 1167 $name =~ s/^\s+|\s+$//g; 1168 $name =~ s/^\"|\"$//g; 1171 if ($name =~ /[^\w \-]/i) { ##has "must quote" chars 1172 $name =~ s/(?<!\\)"/\\"/g; ##escape quotes 1173 $name = "\"$name\""; [all …]
|
D | cc-version.sh | 37 name=$1 41 case "$name" in 66 echo >&2 "*** Your $name version: $version" 67 echo >&2 "*** Minimum $name version: $min_version" 72 echo $name $cversion
|
D | kernel-doc | 570 my $name = shift; 573 if ($name =~ m/$type_param/) { 574 $name = $1; 575 $parameterdescs{$name} = $contents; 576 $sectcheck = $sectcheck . $name . " "; 577 $parameterdesc_start_lines{$name} = $new_start_line; 579 } elsif ($name eq "@\.\.\.") { 580 $name = "..."; 581 $parameterdescs{$name} = $contents; 582 $sectcheck = $sectcheck . $name . " "; [all …]
|
/scripts/dtc/libfdt/ |
D | libfdt.h | 253 #define fdt_set_hdr_(name) \ argument 254 static inline void fdt_set_##name(void *fdt, uint32_t val) \ 257 fdth->name = cpu_to_fdt32(val); \ 465 const char *name, int namelen); 491 int fdt_subnode_offset(const void *fdt, int parentoffset, const char *name); 674 const char *name, 707 const char *name, int *lenp); 709 const char *name, in fdt_get_property_w() argument 713 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w() 767 const char *name, int namelen, int *lenp); [all …]
|
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()
|
D | fdt_overlay.c | 117 const char *name, uint32_t delta) in overlay_phandle_add_offset() argument 123 val = fdt_getprop(fdt, node, name, &len); in overlay_phandle_add_offset() 138 return fdt_setprop_inplace_u32(fdt, node, name, adj_val); in overlay_phandle_add_offset() 232 const char *name; in overlay_update_local_node_references() local 238 &name, &fixup_len); in overlay_update_local_node_references() 246 tree_val = fdt_getprop(fdto, tree_node, name, &tree_len); in overlay_update_local_node_references() 272 name, in overlay_update_local_node_references() 273 strlen(name), in overlay_update_local_node_references() 371 const char *name, uint32_t name_len, in overlay_fixup_one_phandle() argument 404 name, name_len, poffset, in overlay_fixup_one_phandle() [all …]
|
D | fdt_rw.c | 184 static int fdt_resize_property_(void *fdt, int nodeoffset, const char *name, in fdt_resize_property_() argument 190 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_resize_property_() 202 static int fdt_add_property_(void *fdt, int nodeoffset, const char *name, in fdt_add_property_() argument 214 namestroff = fdt_find_add_string_(fdt, name, &allocated); in fdt_add_property_() 225 fdt_del_last_string_(fdt, name); in fdt_add_property_() 235 int fdt_set_name(void *fdt, int nodeoffset, const char *name) in fdt_set_name() argument 247 newlen = strlen(name); in fdt_set_name() 254 memcpy(namep, name, newlen+1); in fdt_set_name() 258 int fdt_setprop_placeholder(void *fdt, int nodeoffset, const char *name, in fdt_setprop_placeholder() argument 266 err = fdt_resize_property_(fdt, nodeoffset, name, len, &prop); in fdt_setprop_placeholder() [all …]
|
D | fdt_ro.c | 226 const char *name, int namelen) in fdt_subnode_offset_namelen() argument 236 && fdt_nodename_eq_(fdt, offset, name, namelen)) in fdt_subnode_offset_namelen() 245 const char *name) in fdt_subnode_offset() argument 247 return fdt_subnode_offset_namelen(fdt, parentoffset, name, strlen(name)); in fdt_subnode_offset() 310 nameptr = nh->name; in fdt_get_name() 396 const char *name, in fdt_get_property_namelen_() argument 412 name, namelen)) { in fdt_get_property_namelen_() 427 const char *name, in fdt_get_property_namelen() argument 438 return fdt_get_property_namelen_(fdt, offset, name, namelen, lenp, in fdt_get_property_namelen() 445 const char *name, int *lenp) in fdt_get_property() argument [all …]
|
/scripts/atomic/ |
D | gen-atomic-fallback.sh | 14 local name="$1"; shift 20 local atomicname="arch_${atomic}_${pfx}${name}${sfx}${order}" 40 local name="$1"; shift 44 local tmpl="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "${order}")" 45 gen_template_fallback "${tmpl}" "${meta}" "${pfx}" "${name}" "${sfx}" "${order}" "$@" 63 local name="$1"; shift 68 local basename="arch_${atomic}_${pfx}${name}${sfx}" 78 local name="$1"; shift 82 local basename="arch_${atomic}_${pfx}${name}${sfx}" 84 local template="$(find_fallback_template "${pfx}" "${name}" "${sfx}" "${order}")" [all …]
|
D | atomic-tbl.sh | 43 local name="$1"; shift 55 for base in "${pfx}${name}${sfx}${order}" "${name}"; do 89 local name="${1#c}" 116 local name="$(gen_param_name "${arg}")" 119 printf "${type}${name}" 150 local name="$1"; shift 153 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "" "$@" 156 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "_acquire" "$@" 159 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "_release" "$@" 162 gen_proto_order_variant "${meta}" "${pfx}" "${name}" "${sfx}" "_relaxed" "$@" [all …]
|
D | gen-atomic-long.sh | 39 local name="$1$2$3$4"; shift; shift; shift; shift 50 arch_atomic_long_${name}(${params}) 52 ${retstmt}arch_${atomic}_${name}(${argscast}); 86 grep '^[a-z]' "$1" | while read name meta args; do 87 gen_proto "${meta}" "${name}" "atomic64" "s64" ${args} 95 grep '^[a-z]' "$1" | while read name meta args; do 96 gen_proto "${meta}" "${name}" "atomic" "int" ${args}
|
/scripts/kconfig/ |
D | preprocess.c | 24 fprintf(stderr, "%s:%d: ", current_file->name, yylineno); in pperror() 39 char *name; member 44 static void env_add(const char *name, const char *value) in env_add() argument 49 e->name = xstrdup(name); in env_add() 58 free(e->name); in env_del() 64 static char *env_expand(const char *name) in env_expand() argument 69 if (!*name) in env_expand() 73 if (!strcmp(name, e->name)) in env_expand() 77 value = getenv(name); in env_expand() 85 env_add(name, value); in env_expand() [all …]
|
D | confdata.c | 130 static int conf_touch_dep(const char *name) in conf_touch_dep() argument 136 if (depfile_prefix_len + strlen(name) + 1 > sizeof(depfile_path)) in conf_touch_dep() 140 strcpy(d, name); in conf_touch_dep() 218 char *name = getenv("KCONFIG_CONFIG"); in conf_get_configname() local 220 return name ? name : ".config"; in conf_get_configname() 225 char *name = getenv("KCONFIG_AUTOCONFIG"); in conf_get_autoconfig_name() local 227 return name ? name : "include/config/auto.conf"; in conf_get_autoconfig_name() 255 p, sym->name); in conf_set_sym_val() 281 p, sym->name); in conf_set_sym_val() 346 int conf_read_simple(const char *name, int def) in conf_read_simple() argument [all …]
|
D | lkc_proto.h | 5 void conf_parse(const char *name); 6 int conf_read(const char *name); 7 int conf_read_simple(const char *name, int); 8 int conf_write_defconfig(const char *name); 9 int conf_write(const char *name); 19 struct symbol * sym_lookup(const char *name, int flags); 20 struct symbol * sym_find(const char *name); 45 void variable_add(const char *name, const char *value,
|
D | symbol.c | 15 .name = "y", 21 .name = "m", 27 .name = "n", 33 .name = "", 307 sym->name); in sym_warn_unmet_dep() 356 sym->curr.val = sym->name; in sym_calc_value() 804 struct symbol *sym_lookup(const char *name, int flags) in sym_lookup() argument 810 if (name) { in sym_lookup() 811 if (name[0] && !name[1]) { in sym_lookup() 812 switch (name[0]) { in sym_lookup() [all …]
|
/scripts/selinux/mdp/ |
D | mdp.c | 24 static void usage(char *name) in usage() argument 26 printf("usage: %s [-m] policy_file context_file\n", name); in usage() 32 const char *name; member 67 for (i = 0; secclass_map[i].name; i++) in main() 68 fprintf(fout, "class %s\n", secclass_map[i].name); in main() 74 const char *name = initial_sid_to_string[i]; in main() local 76 if (name) in main() 77 fprintf(fout, "sid %s\n", name); in main() 84 for (i = 0; secclass_map[i].name; i++) { in main() 86 fprintf(fout, "class %s\n", map->name); in main() [all …]
|
/scripts/selinux/genheaders/ |
D | genheaders.c | 14 const char *name; member 62 for (i = 0; secclass_map[i].name; i++) { in main() 64 map->name = stoupperx(map->name); in main() 80 for (i = 0; secclass_map[i].name; i++) { in main() 82 fprintf(fout, "#define SECCLASS_%-39s %2d\n", map->name, i+1); in main() 97 for (i = 0; secclass_map[i].name; i++) { in main() 100 int len = strlen(map->name), l = sizeof(s) - 1; in main() 101 if (len >= l && memcmp(map->name + len - l, s, l) == 0) in main() 102 fprintf(fout, "\tcase SECCLASS_%s:\n", map->name); in main() 125 for (i = 0; secclass_map[i].name; i++) { in main() [all …]
|
/scripts/gdb/linux/ |
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))
|
D | device.py | 49 def get_bus_by_name(name): argument 51 if item['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['name'].string() == name: 60 raise gdb.GdbError("Can't find device class {!r}".format(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 [all …]
|
/scripts/dtc/ |
D | livetree.c | 39 struct property *build_property(char *name, struct data val, in build_property() argument 46 new->name = name; in build_property() 53 struct property *build_property_delete(char *name) in build_property_delete() argument 59 new->name = name; in build_property_delete() 119 struct node *name_node(struct node *node, char *name) in name_node() argument 121 assert(node->name == NULL); in name_node() 123 node->name = name; in name_node() 163 delete_property_by_name(old_node, new_prop->name); in merge_nodes() 170 if (streq(old_prop->name, new_prop->name)) { in merge_nodes() 200 delete_node_by_name(old_node, new_child->name); in merge_nodes() [all …]
|
/scripts/genksyms/ |
D | genksyms.c | 46 const char *name; member 61 static void print_type_name(enum symbol_type type, const char *name); 154 struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact) in find_symbol() argument 156 unsigned long h = crc32(name) % HASH_BUCKETS; in find_symbol() 161 strcmp(name, sym->name) == 0 && in find_symbol() 185 static struct symbol *__add_symbol(const char *name, enum symbol_type type, in __add_symbol() argument 224 if (!name) in __add_symbol() 229 h = crc32(name) % HASH_BUCKETS; in __add_symbol() 232 strcmp(name, sym->name) == 0) { in __add_symbol() 239 print_type_name(type, name); in __add_symbol() [all …]
|
/scripts/coccinelle/iterators/ |
D | use_after_iter.cocci | 24 iterator name list_for_each_entry; 25 iterator name list_for_each_entry_reverse; 26 iterator name list_for_each_entry_continue; 27 iterator name list_for_each_entry_continue_reverse; 28 iterator name list_for_each_entry_from; 29 iterator name list_for_each_entry_safe; 30 iterator name list_for_each_entry_safe_continue; 31 iterator name list_for_each_entry_safe_from; 32 iterator name list_for_each_entry_safe_reverse; 33 iterator name hlist_for_each_entry; [all …]
|