Home
last modified time | relevance | path

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

/scripts/dtc/
A 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()
A 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()
A Dlivetree.c407 dti->dt = tree; in build_dt_info()
454 *node = tree; in get_property_by_label()
464 for_each_child(tree, c) { in get_property_by_label()
481 *node = tree; in get_marker_label()
491 for_each_child(tree, c) { in get_marker_label()
519 if (tree->deleted) in get_node_by_path()
521 return tree; in get_node_by_path()
548 return tree; in get_node_by_label()
569 if (tree->deleted) in get_node_by_phandle()
571 return tree; in get_node_by_phandle()
[all …]
A Dtreesource.c299 static void write_tree_source_node(FILE *f, struct node *tree, int level) in write_tree_source_node() argument
307 for_each_label(tree->labels, l) in write_tree_source_node()
309 if (tree->name && (*tree->name)) in write_tree_source_node()
310 fprintf(f, "%s {", tree->name); in write_tree_source_node()
315 srcstr = srcpos_string_first(tree->srcpos, annotate); in write_tree_source_node()
323 for_each_property(tree, prop) { in write_tree_source_node()
330 for_each_child(tree, child) { in write_tree_source_node()
337 srcstr = srcpos_string_last(tree->srcpos, annotate); in write_tree_source_node()
A 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.
A 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);
A Dflattree.c244 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()
283 emit->string(etarget, tree->name, tree->basenamelen); in flatten_tree()
287 for_each_child(tree, child) { in flatten_tree()
291 emit->endnode(etarget, tree->labels); in flatten_tree()
807 struct node *tree; in dt_from_blob() local
[all …]
A 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/gcc-plugins/
A Dlatent_entropy_plugin.c116 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()
133 tree type; in handle_latent_entropy_attribute()
171 tree fieldtype; in handle_latent_entropy_attribute()
265 tree list; in latent_entropy_gate()
279 static tree create_var(tree type, const char *name) in create_var()
281 tree var; in create_var()
335 tree op2) in create_assign()
344 tree rhs; in perturb_local_entropy()
358 tree temp; in __perturb_latent_entropy()
[all …]
A Drandomize_layout_plugin.c54 static tree handle_randomize_layout_attr(tree *node, tree name, tree args, int flags, bool *no_add_… in handle_randomize_layout_attr()
56 tree type; in handle_randomize_layout_attr()
100 static tree handle_randomize_considered_attr(tree *node, tree name, tree args, int flags, bool *no_… in handle_randomize_considered_attr()
110 static tree handle_randomize_performed_attr(tree *node, tree name, tree args, int flags, bool *no_a… in handle_randomize_performed_attr()
211 tree tmp; in performance_shuffle()
233 tree tmp; in full_shuffle()
303 tree list; in relayout_struct()
486 tree decl = (tree)event_data; in randomize_layout_finish_decl()
487 tree type; in randomize_layout_finish_decl()
514 tree type = (tree)event_data; in finish_type()
[all …]
A Dgcc-common.h103 static inline tree build_const_char_string(int len, const char *str) in build_const_char_string()
105 tree cstr, elem, index, type; in build_const_char_string()
118 static inline void __add_type_attr(tree type, const char *attr, tree args) in __add_type_attr()
120 tree oldattr; in __add_type_attr()
134 static inline void add_type_attr(tree type, const char *attr, tree args) in add_type_attr()
136 tree main_variant = TYPE_MAIN_VARIANT(type); in add_type_attr()
210 static inline void change_decl_assembler_name(tree decl, tree name) in change_decl_assembler_name()
215 static inline void varpool_finalize_decl(tree decl) in varpool_finalize_decl()
220 static inline void varpool_add_new_variable(tree decl) in varpool_add_new_variable()
308 static inline gimple gimple_build_assign_with_ops(enum tree_code subcode, tree lhs, tree op1, tree in gimple_build_assign_with_ops()
A 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()
481 tree fntype; in stackleak_start_unit()
/scripts/
A Dtags.sh30 tree=
32 tree=${srctree}/
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 local 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 \
80 \( -path ${tree}include -o -path ${tree}arch -o -name '.tmp_*' \) -prune -o \
[all …]
A Dspdxcheck.py53 lictree = repo.head.commit.tree['LICENSES']
298 def scan_git_tree(tree, basedir, dirdepth): argument
300 for el in tree.traverse():
309 def scan_git_subtree(tree, path, dirdepth): argument
311 tree = tree[p]
312 scan_git_tree(tree, path.strip('/'), dirdepth)
392 scan_git_subtree(repo.head.reference.commit.tree, p,
399 scan_git_tree(repo.head.commit.tree, '.', args.depth)
A Dcheck-uapi.sh24 will use any dirty changes in tree to UAPI files. If there are no
147 local -r tree="$(get_header_tree "$ref")"
150 find "$tree" -type f -name '*.h' -printf '%P\n' | grep -v -f "$INCOMPAT_LIST"
452 if ! git rev-parse --is-inside-work-tree > /dev/null 2>&1; then
A DMakefile.package212 $$(cat $(word 2, $^))^{tree} $$(cat $<)
A Dcheckpatch.pl29 my $tree = 1;
317 'tree!' => \$tree,
467 if ($tree) {
1154 return 0 if (!$tree || !(-e "$root/scripts/get_maintainer.pl"));
1166 …return 1 if (!$tree || which("python3") eq "" || !(-x "$root/scripts/spdxcheck.py") || !(-e "$gitr…
2882 if (!$file && $tree && $p1_prefix ne '' &&
3490 if ($tree && $in_commit_log) {
5900 if ($tree && $rawline =~ m{^.\s*\#\s*include\s*\<asm\/(.*)\.h\>}) {
A Dget_maintainer.pl56 my $tree = 1;
275 'tree!' => \$tree,
349 if ($tree && !top_of_kernel_tree($lk_path)) {
/scripts/gdb/linux/
A Dmapletree.py37 self.tree = mt.dereference()
41 self.tree = mt
63 return self.tree['ma_root'].cast(maple_enode_type.get_type().pointer())
216 n = mt_slot(mas.tree, slots, offset)
A Dconstants.py.in22 #include <linux/radix-tree.h>
90 /* linux/radix-tree.h */
/scripts/kconfig/
A Dgconf.c152 static void set_node(GtkTreeStore *tree, GtkTreeIter *node, struct menu *menu) in set_node() argument
229 gtk_tree_store_set(tree, node, in set_node()
892 static void _display_tree(GtkTreeStore *tree, struct menu *menu, in _display_tree() argument
909 && !(child->flags & MENU_ROOT) && (tree == tree1)) in _display_tree()
913 && (tree == tree2)) in _display_tree()
916 gtk_tree_store_append(tree, &iter, parent); in _display_tree()
917 set_node(tree, &iter, child); in _display_tree()
920 _display_tree(tree, child, &iter); in _display_tree()
/scripts/bash-completion/
A Dmake146 # Check the -C, -f options and 'source' symlink. Return the source tree we are
184 # is a symbolic link 'source', which points to the kernel source tree.
257 # is a kernel tree. Otherwise, we fall back to the generic rule provided

Completed in 38 milliseconds