Home
last modified time | relevance | path

Searched refs:tree (Results 1 – 23 of 23) sorted by relevance

/scripts/dtc/
Dfstree.c16 struct node *tree; in read_fstree() local
22 tree = build_node(NULL, NULL, NULL); in read_fstree()
50 add_property(tree, prop); in read_fstree()
58 add_child(tree, newchild); in read_fstree()
65 return tree; in read_fstree()
70 struct node *tree; in dt_from_fs() local
72 tree = read_fstree(dirname); in dt_from_fs()
73 tree = name_node(tree, ""); in dt_from_fs()
75 return build_dt_info(DTSF_V1, NULL, tree, guess_boot_cpuid(tree)); in dt_from_fs()
Ddtc.c31 static void fill_fullpaths(struct node *tree, const char *prefix) in fill_fullpaths() argument
36 tree->fullpath = join_path(prefix, tree->name); in fill_fullpaths()
38 unit = strchr(tree->name, '@'); in fill_fullpaths()
40 tree->basenamelen = unit - tree->name; in fill_fullpaths()
42 tree->basenamelen = strlen(tree->name); in fill_fullpaths()
44 for_each_child(tree, child) in fill_fullpaths()
45 fill_fullpaths(child, tree->fullpath); in fill_fullpaths()
Dlivetree.c399 struct node *tree, uint32_t boot_cpuid_phys) in build_dt_info() argument
406 dti->dt = tree; in build_dt_info()
447 struct property *get_property_by_label(struct node *tree, const char *label, in get_property_by_label() argument
453 *node = tree; in get_property_by_label()
455 for_each_property(tree, prop) { in get_property_by_label()
463 for_each_child(tree, c) { in get_property_by_label()
473 struct marker *get_marker_label(struct node *tree, const char *label, in get_marker_label() argument
480 *node = tree; in get_marker_label()
482 for_each_property(tree, p) { in get_marker_label()
490 for_each_child(tree, c) { in get_marker_label()
[all …]
Dtreesource.c281 static void write_tree_source_node(FILE *f, struct node *tree, int level) in write_tree_source_node() argument
289 for_each_label(tree->labels, l) in write_tree_source_node()
291 if (tree->name && (*tree->name)) in write_tree_source_node()
292 fprintf(f, "%s {", tree->name); in write_tree_source_node()
297 srcstr = srcpos_string_first(tree->srcpos, annotate); in write_tree_source_node()
305 for_each_property(tree, prop) { in write_tree_source_node()
312 for_each_child(tree, child) { in write_tree_source_node()
319 srcstr = srcpos_string_last(tree->srcpos, annotate); in write_tree_source_node()
Ddtx_diff27 -s SRCTREE linux kernel source tree is at path SRCTREE
29 -S linux kernel source tree is at root of current git repo
42 /proc/device-tree.
49 If this script is not run from the root of the linux source tree,
51 linux source tree can be provided by '-s SRCTREE' or '-S' so that
294 Preferred 'dtc' (built from Linux kernel source tree) was not found or
299 If it does not exist, create it from the root of the Linux source tree:
302 If not at the root of the Linux kernel source tree -s SRCTREE or -S
310 this script from the root of the Linux kernel source tree is required.
Ddtc.h226 struct property *get_property_by_label(struct node *tree, const char *label,
228 struct marker *get_marker_label(struct node *tree, const char *label,
231 struct node *get_node_by_path(struct node *tree, const char *path);
232 struct node *get_node_by_label(struct node *tree, const char *label);
233 struct node *get_node_by_phandle(struct node *tree, cell_t phandle);
234 struct node *get_node_by_ref(struct node *tree, const char *ref);
237 uint32_t guess_boot_cpuid(struct node *tree);
270 struct node *tree, uint32_t boot_cpuid_phys);
Dflattree.c235 static void flatten_tree(struct node *tree, struct emitter *emit, in flatten_tree() argument
243 if (tree->deleted) in flatten_tree()
246 emit->beginnode(etarget, tree->labels); in flatten_tree()
249 emit->string(etarget, tree->fullpath, 0); in flatten_tree()
251 emit->string(etarget, tree->name, 0); in flatten_tree()
255 for_each_property(tree, prop) { in flatten_tree()
276 emit->cell(etarget, tree->basenamelen+1); in flatten_tree()
279 if ((vi->flags & FTF_VARALIGN) && ((tree->basenamelen+1) >= 8)) in flatten_tree()
282 emit->string(etarget, tree->name, tree->basenamelen); in flatten_tree()
286 for_each_child(tree, child) { in flatten_tree()
[all …]
Dyamltree.c176 static void yaml_tree(struct node *tree, yaml_emitter_t *emitter) in yaml_tree() argument
182 if (tree->deleted) in yaml_tree()
189 for_each_property(tree, prop) in yaml_tree()
193 for_each_child(tree, child) { in yaml_tree()
/scripts/tracing/
Ddraw_functrace.py59 tree = self
60 while tree != CallTree.ROOT and tree._func != func:
61 tree = tree._parent
62 if tree == CallTree.ROOT:
65 return tree
114 tree = CallTree.ROOT
123 tree = tree.getParent(caller)
124 tree = tree.calls(callee, calltime)
/scripts/gcc-plugins/
Dstructleak_plugin.c53 static tree handle_user_attribute(tree *node, tree name, tree args, int flags, bool *no_add_attrs) in handle_user_attribute()
78 static tree get_field_type(tree field) in get_field_type()
83 static bool is_userspace_type(tree type) in is_userspace_type()
85 tree field; in is_userspace_type()
88 tree fieldtype = get_field_type(field); in is_userspace_type()
103 tree type = (tree)event_data; in finish_type()
120 static void initialize(tree var) in initialize()
124 tree initializer; in initialize()
126 tree type; in initialize()
134 tree rhs1; in initialize()
[all …]
Dlatent_entropy_plugin.c82 static GTY(()) tree latent_entropy_decl;
110 static tree tree_get_random_const(tree type) in tree_get_random_const()
122 static tree handle_latent_entropy_attribute(tree *node, tree name, in handle_latent_entropy_attribute()
123 tree args __unused, in handle_latent_entropy_attribute()
127 tree type; in handle_latent_entropy_attribute()
165 tree fld, lst = TYPE_FIELDS(type); in handle_latent_entropy_attribute()
169 tree fieldtype; in handle_latent_entropy_attribute()
191 tree random_const, fld_t = TREE_TYPE(fld); in handle_latent_entropy_attribute()
208 tree elt_type, array_size, elt_size; in handle_latent_entropy_attribute()
235 tree cst = size_int(i); in handle_latent_entropy_attribute()
[all …]
Drandomize_layout_plugin.c76 static tree handle_randomize_layout_attr(tree *node, tree name, tree args, int flags, bool *no_add_… in handle_randomize_layout_attr()
78 tree type; in handle_randomize_layout_attr()
119 static tree handle_randomize_considered_attr(tree *node, tree name, tree args, int flags, bool *no_… in handle_randomize_considered_attr()
129 static tree handle_randomize_performed_attr(tree *node, tree name, tree args, int flags, bool *no_a… in handle_randomize_performed_attr()
169 tree tree_start;
174 static void partition_struct(tree *fields, unsigned long length, struct partition_group *size_group… in partition_struct()
210 static void performance_shuffle(tree *newtree, unsigned long length, ranctx *prng_state) in performance_shuffle()
228 tree tmp; in performance_shuffle()
242 static void full_shuffle(tree *newtree, unsigned long length, ranctx *prng_state) in full_shuffle()
247 tree tmp; in full_shuffle()
[all …]
Dgcc-common.h168 static inline tree build_const_char_string(int len, const char *str) in build_const_char_string()
170 tree cstr, elem, index, type; in build_const_char_string()
193 for (tree vars = (FUN)->local_decls, (I) = 0; \
210 tree fndecl; in gimple_call_builtin_p()
220 static inline bool is_simple_builtin(tree decl) in is_simple_builtin()
252 static inline void add_local_decl(struct function *fun, tree d) in add_local_decl()
284 tree op = gimple_asm_clobber_op(stmt, i); in gimple_asm_clobbers_memory_p()
293 static inline tree builtin_decl_implicit(enum built_in_function fncode) in builtin_decl_implicit()
303 static inline struct cgraph_node *cgraph_create_node(tree decl) in cgraph_create_node()
308 static inline struct cgraph_node *cgraph_get_create_node(tree decl) in cgraph_get_create_node()
[all …]
Dsancov_plugin.c26 tree sancov_fndecl;
67 tree leaf_attr, nothrow_attr; in sancov_start_unit()
68 tree BT_FN_VOID = build_function_type_list(void_type_node, NULL_TREE); in sancov_start_unit()
Dstackleak_plugin.c41 static GTY(()) tree track_function_decl;
267 tree section; in stackleak_gate()
291 tree fntype; in stackleak_start_unit()
DKconfig86 source tree isn't cleaned after kernel installation).
/scripts/
Dtags.sh23 tree=
25 tree=${srctree}/
29 ignore="$ignore ( -path ${tree}tools ) -prune -o"
35 ALLSOURCE_ARCHS=$(find ${tree}arch/ -mindepth 1 -maxdepth 1 -type d -printf '%f ')
44 find ${tree}arch/$1 $ignore $prune -name "$2" -not -type l -print;
50 include=$(find ${tree}arch/$1/ -name include -type d -print);
60 find ${tree}include $ignore -name config -prune -o -name "$1" \
68 find ${tree}* $ignore \
69 \( -path ${tree}include -o -path ${tree}arch -o -name '.tmp_*' \) -prune -o \
98 j="${j#$tree}"
[all …]
Dspdxcheck.py37 lictree = repo.head.commit.tree['LICENSES']
203 def scan_git_tree(tree): argument
204 for el in tree.traverse():
216 def scan_git_subtree(tree, path): argument
218 tree = tree[p]
219 scan_git_tree(tree)
268 scan_git_subtree(repo.head.reference.commit.tree, p)
274 scan_git_tree(repo.head.commit.tree)
DMakefile.package120 HEAD^{tree} $$(cd $(srctree); \
DKbuild.include293 # tree but not the build tree, define FOO_SRCPREFIX as $(srctree)/ to
Dcheckpatch.pl26 my $tree = 1;
202 'tree!' => \$tree,
319 if ($tree) {
880 return 0 if (!$tree || !(-e "$root/scripts/get_maintainer.pl"));
890 …return 1 if (!$tree || which("python") eq "" || !(-e "$root/scripts/spdxcheck.py") || !(-e "$root/…
2506 if (!$file && $tree && $p1_prefix ne '' &&
2874 if ($tree && $in_commit_log) {
5067 if ($tree && $rawline =~ m{^.\s*\#\s*include\s*\<asm\/(.*)\.h\>}) {
Dget_maintainer.pl52 my $tree = 1;
261 'tree!' => \$tree,
327 if ($tree && !top_of_kernel_tree($lk_path)) {
/scripts/kconfig/
Dgconf.c54 GtkTreeStore *tree1, *tree2, *tree; variable
195 tree = tree2 = gtk_tree_store_new(COL_NUMBER, in init_tree_model()
1174 gtk_tree_store_set(tree, node, in set_node()
1202 gtk_tree_store_append(tree, node, parent); in place_node()
1354 && !(child->flags & MENU_ROOT) && (tree == tree1)) in display_tree()
1358 && (tree == tree2)) in display_tree()
1379 && (tree == tree2)) in display_tree()
1419 tree = tree1; in display_list()
1422 tree = tree2; in display_list()