/u-boot/tools/patman/ |
H A D | project.py | 5 import os.path namespace 21 if os.path.exists(os.path.join(top_level, "include", "u-boot")): 23 elif os.path.exists(os.path.join(top_level, "kernel")):
|
/u-boot/scripts/ |
H A D | get_default_envs.sh | 19 path=${1} 21 path=$(readlink -f $0) 22 path=${path%/scripts*} 25 env_obj_file_path=$(find ${path} -path "*/env/*" -not -path "*/spl/*" \ 26 -not -path "*/tools/*" -name "${ENV_OBJ_FILE}")
|
H A D | check-of.sh | 9 # check-of.sh <path to .config> <path to allowlist file> 22 echo "$PROG_NAME <path to .config> <path to allowlist file>" 28 path="$1" 31 sys_config="$(sed -n 's/CONFIG_SYS_CONFIG_NAME="\(.*\)"$/\1/p' "${path}")" 33 if grep -q OF_HAS_PRIOR_STAGE=y "${path}"; then 34 if ! grep -lq CONFIG_OF_BOARD=y "${path}"; then
|
H A D | gen_compile_commands.py | 48 output_help = ('path to the output command database (defaults to ' + 69 os.path.realpath(args.directory), 84 The path to a .cmd file. 88 exclude_dirs = [ os.path.join(directory, d) for d in _EXCLUDE_DIRS ] 98 yield os.path.join(dirpath, filename) 101 def to_cmdfile(path): 102 """Return the path of .cmd file used for the given build artifact 105 Path: file path 108 The path to .cmd file 110 dir, base = os.path [all...] |
/u-boot/ |
H A D | .get_maintainer.conf | 1 --find-maintainer-files --git --maintainer-path=.
|
/u-boot/lib/libfdt/ |
H A D | test_libfdt.py | 6 our_path = os.path.dirname(os.path.realpath(__file__)) 7 sys.path.append(os.path.join(our_path, '../../b/sandbox_spl/tools'))
|
/u-boot/tools/u_boot_pylib/ |
H A D | __main__.py | 12 our_path = os.path.dirname(os.path.realpath(__file__)) 13 sys.path.append(os.path.join(our_path, '..'))
|
H A D | u_boot_pylib | 12 our_path = os.path.dirname(os.path.realpath(__file__)) 13 sys.path.append(os.path.join(our_path, '..'))
|
/u-boot/fs/yaffs2/ |
H A D | yaffsfs.h | 79 int yaffs_open(const YCHAR *path, int oflag, int mode) ; 86 int yaffs_access(const YCHAR *path, int amode); 98 int yaffs_truncate(const YCHAR *path, loff_t new_size); 101 int yaffs_unlink(const YCHAR *path) ; 104 int yaffs_stat(const YCHAR *path, struct yaffs_stat *buf) ; 105 int yaffs_lstat(const YCHAR *path, struct yaffs_stat *buf) ; 108 int yaffs_utime(const YCHAR *path, const struct yaffs_utimbuf *buf); 112 int yaffs_setxattr(const char *path, const char *name, 114 int yaffs_lsetxattr(const char *path, const char *name, 119 int yaffs_getxattr(const char *path, cons [all...] |
/u-boot/include/xen/ |
H A D | xenbus.h | 20 * xenbus_read() - Read the value associated with a path. 25 char *xenbus_read(xenbus_transaction_t xbt, const char *path, char **value); 27 char *xenbus_wait_for_state_change(const char *path, XenbusState *state); 28 char *xenbus_switch_state(xenbus_transaction_t xbt, const char *path, 32 * xenbus_write() - Associates a value with a path. 36 char *xenbus_write(xenbus_transaction_t xbt, const char *path, 40 * xenbus_rm() - Removes the value associated with a path. 44 char *xenbus_rm(xenbus_transaction_t xbt, const char *path); 56 * xenbus_get_perms() - Reads permissions associated with a path. 61 char *xenbus_get_perms(xenbus_transaction_t xbt, const char *path, cha [all...] |
/u-boot/fs/btrfs/ |
H A D | dir-item.c | 41 struct btrfs_path *path, 51 leaf = path->nodes[0]; 52 dir_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dir_item); 53 total_len = btrfs_item_size_nr(leaf, path->slots[0]); 81 struct btrfs_path *path, u64 dir, 97 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow); 101 if (path->slots[0] == 0) 103 path->slots[0]--; 106 leaf = path->nodes[0]; 107 btrfs_item_key_to_cpu(leaf, &found_key, path 40 btrfs_match_dir_item_name(struct btrfs_root *root, struct btrfs_path *path, const char *name, int name_len) argument 79 btrfs_lookup_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 dir, const char *name, int name_len, int mod) argument 120 struct btrfs_path path; local [all...] |
H A D | inode.c | 24 struct btrfs_path path; local 32 btrfs_init_path(&path); 34 ret = btrfs_search_slot(NULL, root, &key, &path, 0, 0); 41 fi = btrfs_item_ptr(path.nodes[0], path.slots[0], 43 if (btrfs_file_extent_type(path.nodes[0], fi) != 49 if (btrfs_file_extent_compression(path.nodes[0], fi) != 55 if (btrfs_file_extent_ram_bytes(path.nodes[0], fi) >= 59 ino, btrfs_file_extent_ram_bytes(path.nodes[0], fi)); 62 read_extent_buffer(path 76 struct btrfs_path path; local 123 struct btrfs_path path; local 180 next_length(const char *path) argument 220 struct btrfs_path path; local 361 btrfs_read_extent_inline(struct btrfs_path *path, struct btrfs_file_extent_item *fi, char *dest) argument 420 btrfs_read_extent_reg(struct btrfs_path *path, struct btrfs_file_extent_item *fi, u64 offset, int len, char *dest) argument 534 lookup_data_extent(struct btrfs_root *root, struct btrfs_path *path, u64 ino, u64 file_offset, u64 *next_offset) argument 622 read_and_truncate_page(struct btrfs_path *path, struct btrfs_file_extent_item *fi, int start, int len, char *dest) argument 665 struct btrfs_path path; local [all...] |
H A D | subvolume.c | 14 * Resolve the path of ino inside subvolume @root into @path_ret. 20 struct btrfs_path path; local 31 btrfs_init_path(&path); 36 btrfs_release_path(&path); 41 ret = btrfs_search_slot(NULL, root, &key, &path, 0, 0); 47 ret = btrfs_previous_item(root, &path, cur, 55 iref = btrfs_item_ptr(path.nodes[0], path.slots[0], 57 name_len = btrfs_inode_ref_name_len(path.nodes[0], 63 read_extent_buffer(path 82 struct btrfs_path path; local 162 struct btrfs_path path; local [all...] |
H A D | root-tree.c | 8 struct btrfs_path *path; local 15 path = btrfs_alloc_path(); 16 if (!path) 23 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); 26 if (path->slots[0] == 0) { 32 l = path->nodes[0]; 33 slot = path->slots[0] - 1; 45 btrfs_free_path(path);
|
/u-boot/test/py/tests/test_fs/test_squashfs/ |
H A D | sqfs_common.py | 33 # path to source directory used to make squashfs test images 104 root = os.path.join(build_dir, SQFS_SRC_DIR) 110 generate_file(os.path.join(root, file_name), 4096) 114 generate_file(os.path.join(root, file_name), 5096) 118 generate_file(os.path.join(root, file_name), 1000) 121 subdir_path = os.path.join(root, 'subdir') 123 generate_file(os.path.join(subdir_path, 'subdir-file'), 100) 126 os.symlink('subdir', os.path.join(root, 'sym')) 129 os.makedirs(os.path.join(root, 'empty-dir')) 170 input_path = os.path [all...] |
/u-boot/arch/arm/mach-k3/ |
H A D | common_fdt.h | 10 int fdt_del_node_path(void *blob, const char *path);
|
/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | pci.c | 35 const char *path; local 42 path = fdt_getprop(blob, nodeoffset, "pci0", NULL); 43 if (path) { 46 do_fixup_by_path(blob, path, "bus-range", 50 do_fixup_by_path(blob, path, "clock-frequency", 57 path = fdt_getprop(blob, nodeoffset, "pci1", NULL); 58 if (path) { 61 do_fixup_by_path(blob, path, "bus-range", 65 do_fixup_by_path(blob, path, "clock-frequency",
|
/u-boot/arch/arm/mach-omap2/ |
H A D | fdt-common.c | 26 const char *path; local 31 path = "/ocp/rng"; 32 offs = fdt_path_offset(fdt, path); 34 debug("Node %s not found.\n", path); 41 path, fdt_strerror(ret)); 74 const char *path, *subpath; local 83 path = "/reserved-memory/secure_reserved"; 84 offs = fdt_path_offset(fdt, path); 89 path = "/reserved-memory"; 90 offs = fdt_path_offset(fdt, path); 130 const char *path, *subpath; local [all...] |
/u-boot/test/py/ |
H A D | test.py | 11 import os.path namespace 17 args = [os.path.dirname(__file__) + '/tests']
|
/u-boot/tools/ |
H A D | rmboard.py | 33 def rm_kconfig_include(path): 34 """Remove a path from Kconfig files 36 This function finds the given path in a 'source' statement in a Kconfig 37 file and removes that line from the file. This is needed because the path 44 path: Path to search for and remove 46 cmd = ['git', 'grep', path] 52 print("Fixing up '%s' to remove reference to '%s'" % (fname, path)) 53 cmd = ['sed', '-i', '\|%s|d' % path, fname] 99 for path in paths: 100 if path[ [all...] |
/u-boot/doc/sphinx/ |
H A D | kernel_include.py | 16 the path name and allows to include files from arbitrary locations. 34 import os.path namespace 62 path = os.path.realpath( 63 os.path.expandvars(self.arguments[0])) 66 if path.startswith(os.sep + "etc"): 68 'Problems with "%s" directive, prohibited path: %s' 69 % (self.name, path)) 71 self.arguments[0] = path 88 source_dir = os.path [all...] |
H A D | maintainers_include.py | 22 import os.path namespace 43 def parse_maintainers(self, path): 63 for line in open(path): 173 statemachine.string2lines(output), path) 180 # Walk up source path directories to find doc/../ 181 path = self.state_machine.document.attributes['source'] 182 path = os.path.realpath(path) 183 tail = path [all...] |
/u-boot/tools/binman/ |
H A D | main.py | 17 # Get the absolute path to this file at run-time 18 our_path = os.path.dirname(os.path.realpath(__file__)) 19 our1_path = os.path.dirname(our_path) 20 our2_path = os.path.dirname(our1_path) 30 sys.pycache_prefix = os.path.relpath(our_path, srctree) 32 # Bring in the patman and dtoc libraries (but don't override the first path 34 sys.path.insert(2, our1_path) 40 sys.path.insert(2, 'scripts/dtc/pylibfdt') 41 sys.path [all...] |
H A D | binman | 17 # Get the absolute path to this file at run-time 18 our_path = os.path.dirname(os.path.realpath(__file__)) 19 our1_path = os.path.dirname(our_path) 20 our2_path = os.path.dirname(our1_path) 30 sys.pycache_prefix = os.path.relpath(our_path, srctree) 32 # Bring in the patman and dtoc libraries (but don't override the first path 34 sys.path.insert(2, our1_path) 40 sys.path.insert(2, 'scripts/dtc/pylibfdt') 41 sys.path [all...] |
/u-boot/test/py/tests/ |
H A D | test_vpl.py | 5 import os.path namespace
|