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_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.h257 struct property *get_property_by_label(struct node *tree, const char *label,
259 struct marker *get_marker_label(struct node *tree, const char *label,
262 struct node *get_node_by_path(struct node *tree, const char *path);
263 struct node *get_node_by_label(struct node *tree, const char *label);
264 struct node *get_node_by_phandle(struct node *tree, cell_t phandle);
265 struct node *get_node_by_ref(struct node *tree, const char *ref);
268 uint32_t guess_boot_cpuid(struct node *tree);
301 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;
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()
171 tree fld, lst = TYPE_FIELDS(type); in handle_latent_entropy_attribute()
175 tree fieldtype; in handle_latent_entropy_attribute()
197 tree random_const, fld_t = TREE_TYPE(fld); in handle_latent_entropy_attribute()
214 tree elt_type, array_size, elt_size; in handle_latent_entropy_attribute()
241 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()
230 tree tmp; in performance_shuffle()
247 static void full_shuffle(tree *newtree, unsigned long length, ranctx *prng_state) in full_shuffle()
252 tree tmp; in full_shuffle()
[all …]
Dgcc-common.h173 static inline tree build_const_char_string(int len, const char *str) in build_const_char_string()
175 tree cstr, elem, index, type; in build_const_char_string()
198 for (tree vars = (FUN)->local_decls, (I) = 0; \
215 tree fndecl; in gimple_call_builtin_p()
225 static inline bool is_simple_builtin(tree decl) in is_simple_builtin()
257 static inline void add_local_decl(struct function *fun, tree d) in add_local_decl()
289 tree op = gimple_asm_clobber_op(stmt, i); in gimple_asm_clobbers_memory_p()
298 static inline tree builtin_decl_implicit(enum built_in_function fncode) in builtin_decl_implicit()
308 static inline struct cgraph_node *cgraph_create_node(tree decl) in cgraph_create_node()
313 static inline struct cgraph_node *cgraph_get_create_node(tree decl) in cgraph_get_create_node()
[all …]
Dstackleak_plugin.c44 static GTY(()) tree track_function_decl;
91 static tree get_current_stack_pointer_decl(void) in get_current_stack_pointer_decl()
96 tree var = NODE_DECL(node); in get_current_stack_pointer_decl()
97 tree name = DECL_NAME(var); in get_current_stack_pointer_decl()
118 tree sp_decl, input; in add_stack_tracking_gasm()
119 vec<tree, va_gc> *inputs = NULL; in add_stack_tracking_gasm()
438 static inline bool string_equal(tree node, const char *string, int length) in string_equal()
453 tree section; in stackleak_gate()
477 tree fntype; in stackleak_start_unit()
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()
DKconfig78 source tree isn't cleaned after kernel installation).
/scripts/
Dtags.sh23 tree=
25 tree=${srctree}/
32 ignore="$ignore ( -path ${tree}tools ) -prune -o"
38 if [[ "$1" == "gtags" && -n "${tree}" ]]; then
39 tree=$(realpath "$tree")/
46 ALLSOURCE_ARCHS=$(find ${tree}arch/ -mindepth 1 -maxdepth 1 -type d -printf '%f ')
55 find ${tree}arch/$1 $ignore $prune -name "$2" -not -type l -print;
61 include=$(find ${tree}arch/$1/ -name include -type d -print);
71 find ${tree}include $ignore -name config -prune -o -name "$1" \
79 find ${tree}* $ignore \
[all …]
Dspdxcheck.py37 lictree = repo.head.commit.tree['LICENSES']
206 def scan_git_tree(tree): argument
207 for el in tree.traverse():
219 def scan_git_subtree(tree, path): argument
221 tree = tree[p]
222 scan_git_tree(tree)
271 scan_git_subtree(repo.head.reference.commit.tree, p)
277 scan_git_tree(repo.head.commit.tree)
DMakefile.package120 HEAD^{tree} $$(cd $(srctree); \
DKbuild.include314 # tree but not the build tree, define FOO_SRCPREFIX as $(srctree)/ to
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.c55 GtkTreeStore *tree1, *tree2, *tree; variable
196 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()