Home
last modified time | relevance | path

Searched refs:tree (Results 1 – 21 of 21) 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.c273 static void write_tree_source_node(FILE *f, struct node *tree, int level) in write_tree_source_node() argument
281 for_each_label(tree->labels, l) in write_tree_source_node()
283 if (tree->name && (*tree->name)) in write_tree_source_node()
284 fprintf(f, "%s {", tree->name); in write_tree_source_node()
289 srcstr = srcpos_string_first(tree->srcpos, annotate); in write_tree_source_node()
297 for_each_property(tree, prop) { in write_tree_source_node()
304 for_each_child(tree, child) { in write_tree_source_node()
311 srcstr = srcpos_string_last(tree->srcpos, annotate); in write_tree_source_node()
Ddtx_diff29 -s SRCTREE linux kernel source tree is at path SRCTREE
31 -S linux kernel source tree is at root of current git repo
45 /proc/device-tree.
52 If this script is not run from the root of the linux source tree,
54 linux source tree can be provided by '-s SRCTREE' or '-S' so that
301 Preferred 'dtc' (built from Linux kernel source tree) was not found or
306 If it does not exist, create it from the root of the Linux source tree:
309 If not at the root of the Linux kernel source tree -s SRCTREE or -S
317 this script from the root of the Linux kernel source tree is required.
Ddtc.h293 struct property *get_property_by_label(struct node *tree, const char *label,
295 struct marker *get_marker_label(struct node *tree, const char *label,
298 struct node *get_node_by_path(struct node *tree, const char *path);
299 struct node *get_node_by_label(struct node *tree, const char *label);
300 struct node *get_node_by_phandle(struct node *tree, cell_t phandle);
301 struct node *get_node_by_ref(struct node *tree, const char *ref);
304 uint32_t guess_boot_cpuid(struct node *tree);
337 struct node *tree, uint32_t boot_cpuid_phys);
Dflattree.c236 static void flatten_tree(struct node *tree, struct emitter *emit, in flatten_tree() argument
244 if (tree->deleted) in flatten_tree()
247 emit->beginnode(etarget, tree->labels); in flatten_tree()
250 emit->string(etarget, tree->fullpath, 0); in flatten_tree()
252 emit->string(etarget, tree->name, 0); in flatten_tree()
256 for_each_property(tree, prop) { in flatten_tree()
277 emit->cell(etarget, tree->basenamelen+1); in flatten_tree()
280 if ((vi->flags & FTF_VARALIGN) && ((tree->basenamelen+1) >= 8)) in flatten_tree()
283 emit->string(etarget, tree->name, tree->basenamelen); in flatten_tree()
287 for_each_child(tree, child) { in flatten_tree()
[all …]
Dyamltree.c178 static void yaml_tree(struct node *tree, yaml_emitter_t *emitter) in yaml_tree() argument
184 if (tree->deleted) in yaml_tree()
191 for_each_property(tree, prop) in yaml_tree()
195 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()
76 static tree get_field_type(tree field) in get_field_type()
81 static bool is_userspace_type(tree type) in is_userspace_type()
83 tree field; in is_userspace_type()
86 tree fieldtype = get_field_type(field); in is_userspace_type()
101 tree type = (tree)event_data; in finish_type()
116 static void initialize(tree var) in initialize()
120 tree initializer; in initialize()
122 tree type; in initialize()
130 tree rhs1; in initialize()
[all …]
Dlatent_entropy_plugin.c82 static GTY(()) tree latent_entropy_decl;
116 static tree tree_get_random_const(tree type) in tree_get_random_const()
128 static tree handle_latent_entropy_attribute(tree *node, tree name, in handle_latent_entropy_attribute()
129 tree args __unused, in handle_latent_entropy_attribute()
133 tree type; in handle_latent_entropy_attribute()
167 tree fld, lst = TYPE_FIELDS(type); in handle_latent_entropy_attribute()
171 tree fieldtype; in handle_latent_entropy_attribute()
189 tree random_const, fld_t = TREE_TYPE(fld); in handle_latent_entropy_attribute()
206 tree elt_type, array_size, elt_size; in handle_latent_entropy_attribute()
229 tree cst = size_int(i); in handle_latent_entropy_attribute()
[all …]
Drandomize_layout_plugin.c58 static tree handle_randomize_layout_attr(tree *node, tree name, tree args, int flags, bool *no_add_… in handle_randomize_layout_attr()
60 tree type; in handle_randomize_layout_attr()
101 static tree handle_randomize_considered_attr(tree *node, tree name, tree args, int flags, bool *no_… in handle_randomize_considered_attr()
111 static tree handle_randomize_performed_attr(tree *node, tree name, tree args, int flags, bool *no_a… in handle_randomize_performed_attr()
151 tree tree_start;
156 static void partition_struct(tree *fields, unsigned long length, struct partition_group *size_group… in partition_struct()
192 static void performance_shuffle(tree *newtree, unsigned long length, ranctx *prng_state) in performance_shuffle()
212 tree tmp; in performance_shuffle()
229 static void full_shuffle(tree *newtree, unsigned long length, ranctx *prng_state) in full_shuffle()
234 tree tmp; in full_shuffle()
[all …]
Dstackleak_plugin.c44 static GTY(()) tree track_function_decl;
89 static tree get_current_stack_pointer_decl(void) in get_current_stack_pointer_decl()
94 tree var = NODE_DECL(node); in get_current_stack_pointer_decl()
95 tree name = DECL_NAME(var); in get_current_stack_pointer_decl()
116 tree sp_decl, input; in add_stack_tracking_gasm()
117 vec<tree, va_gc> *inputs = NULL; in add_stack_tracking_gasm()
436 static inline bool string_equal(tree node, const char *string, int length) in string_equal()
451 tree section; in stackleak_gate()
479 tree fntype; in stackleak_start_unit()
Dgcc-common.h116 static inline tree build_const_char_string(int len, const char *str) in build_const_char_string()
118 tree cstr, elem, index, type; in build_const_char_string()
211 static inline void change_decl_assembler_name(tree decl, tree name) in change_decl_assembler_name()
216 static inline void varpool_finalize_decl(tree decl) in varpool_finalize_decl()
221 static inline void varpool_add_new_variable(tree decl) in varpool_add_new_variable()
311 static inline gimple gimple_build_assign_with_ops(enum tree_code subcode, tree lhs, tree op1, tree in gimple_build_assign_with_ops()
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()
/scripts/
Dtags.sh23 tree=
25 tree=${srctree}/
31 if [[ "$1" == "gtags" && -n "${tree}" ]]; then
32 tree=$(realpath "$tree")/
39 ALLSOURCE_ARCHS=$(find ${tree}arch/ -mindepth 1 -maxdepth 1 -type d -printf '%f ')
48 find ${tree}arch/$1 $ignore $prune -name "$2" -not -type l -print;
54 include=$(find ${tree}arch/$1/ -name include -type d -print);
64 find ${tree}include $ignore -name config -prune -o -name "$1" \
72 find ${tree}* $ignore \
73 \( -path ${tree}include -o -path ${tree}arch -o -name '.tmp_*' \) -prune -o \
[all …]
Dspdxcheck.py53 lictree = repo.head.commit.tree['LICENSES']
292 def scan_git_tree(tree, basedir, dirdepth): argument
294 for el in tree.traverse():
303 def scan_git_subtree(tree, path, dirdepth): argument
305 tree = tree[p]
306 scan_git_tree(tree, path.strip('/'), dirdepth)
386 scan_git_subtree(repo.head.reference.commit.tree, p,
393 scan_git_tree(repo.head.commit.tree, '.', args.depth)
DMakefile.package123 HEAD^{tree} $$(cd $(srctree); \
Dget_maintainer.pl54 my $tree = 1;
270 'tree!' => \$tree,
336 if ($tree && !top_of_kernel_tree($lk_path)) {
Dcheckpatch.pl29 my $tree = 1;
296 'tree!' => \$tree,
445 if ($tree) {
1138 return 0 if (!$tree || !(-e "$root/scripts/get_maintainer.pl"));
1150 …return 1 if (!$tree || which("python3") eq "" || !(-x "$root/scripts/spdxcheck.py") || !(-e "$gitr…
2862 if (!$file && $tree && $p1_prefix ne '' &&
3464 if ($tree && $in_commit_log) {
5883 if ($tree && $rawline =~ m{^.\s*\#\s*include\s*\<asm\/(.*)\.h\>}) {
/scripts/kconfig/
Dgconf.c51 GtkTreeStore *tree1, *tree2, *tree; variable
192 tree = tree2 = gtk_tree_store_new(COL_NUMBER, in init_tree_model()
1175 gtk_tree_store_set(tree, node, in set_node()
1203 gtk_tree_store_append(tree, node, parent); in place_node()
1355 && !(child->flags & MENU_ROOT) && (tree == tree1)) in display_tree()
1359 && (tree == tree2)) in display_tree()
1380 && (tree == tree2)) in display_tree()
1420 tree = tree1; in display_list()
1423 tree = tree2; in display_list()