| /u-boot/fs/yaffs2/ |
| A D | yaffsfs.h | 101 int yaffs_unlink(const YCHAR *path) ; 152 int yaffs_rmdir(const YCHAR *path) ; 159 int yaffs_mount(const YCHAR *path) ; 163 int yaffs_unmount(const YCHAR *path) ; 168 int yaffs_sync(const YCHAR *path) ; 176 loff_t yaffs_freespace(const YCHAR *path); 177 loff_t yaffs_totalspace(const YCHAR *path); 179 int yaffs_inodecount(const YCHAR *path); 181 int yaffs_n_handles(const YCHAR *path); 202 void *yaffs_getdev(const YCHAR *path); [all …]
|
| A D | yaffsfs.c | 561 path++; in yaffsfs_CheckPath() 796 if (!path) { in yaffs_open_sharing() 1313 if (!path) { in yaffs_truncate() 1428 if (!path) { in yaffsfs_DoUnlink() 1743 if (!path) { in yaffs_utime() 2239 if (!path) { in yaffs_access() 2297 if (!path) { in yaffs_chmod() 2369 if (!path) { in yaffs_mkdir() 2423 if (!path) { in yaffs_rmdir() 2460 if (!path) { in yaffs_mount_common() [all …]
|
| /u-boot/fs/btrfs/ |
| A D | inode.c | 41 fi = btrfs_item_ptr(path.nodes[0], path.slots[0], in btrfs_readlink() 100 btrfs_item_key_to_cpu(path.nodes[0], &key, path.slots[0]); in lookup_root_ref() 101 root_ref = btrfs_item_ptr(path.nodes[0], path.slots[0], in lookup_root_ref() 172 btrfs_item_key_to_cpu(path.nodes[0], &key, path.slots[0]); in get_parent_inode() 183 while (*path != '\0' && *path != '/') { in next_length() 185 ++path; in next_length() 563 fi = btrfs_item_ptr(path->nodes[0], path->slots[0], in lookup_data_extent() 588 fi = btrfs_item_ptr(path->nodes[0], path->slots[0], in lookup_data_extent() 686 fi = btrfs_item_ptr(path.nodes[0], path.slots[0], in btrfs_file_read() 728 fi = btrfs_item_ptr(path.nodes[0], path.slots[0], in btrfs_file_read() [all …]
|
| A D | dir-item.c | 41 struct btrfs_path *path, in btrfs_match_dir_item_name() argument 51 leaf = path->nodes[0]; in btrfs_match_dir_item_name() 101 if (path->slots[0] == 0) in btrfs_lookup_dir_item() 103 path->slots[0]--; in btrfs_lookup_dir_item() 106 leaf = path->nodes[0]; in btrfs_lookup_dir_item() 120 struct btrfs_path path; in btrfs_iter_dir() local 124 btrfs_init_path(&path); in btrfs_iter_dir() 137 if (path.slots[0] >= btrfs_header_nritems(path.nodes[0])) { in btrfs_iter_dir() 149 btrfs_item_key_to_cpu(path.nodes[0], &key, path.slots[0]); in btrfs_iter_dir() 152 di = btrfs_item_ptr(path.nodes[0], path.slots[0], in btrfs_iter_dir() [all …]
|
| A D | subvolume.c | 20 struct btrfs_path path; in get_path_in_subvol() local 31 btrfs_init_path(&path); in get_path_in_subvol() 55 iref = btrfs_item_ptr(path.nodes[0], path.slots[0], in get_path_in_subvol() 69 btrfs_item_key_to_cpu(path.nodes[0], &key, path.slots[0]); in get_path_in_subvol() 82 struct btrfs_path path; in list_one_subvol() local 93 btrfs_init_path(&path); in list_one_subvol() 118 rr = btrfs_item_ptr(path.nodes[0], path.slots[0], in list_one_subvol() 134 btrfs_item_key_to_cpu(path.nodes[0], &key, path.slots[0]); in list_one_subvol() 162 struct btrfs_path path; in list_subvolums() local 187 if (path.slots[0] >= btrfs_header_nritems(path.nodes[0])) in list_subvolums() [all …]
|
| A D | ctree.c | 49 struct btrfs_path *path; in btrfs_alloc_path() local 51 return path; in btrfs_alloc_path() 335 struct btrfs_path *path; in btrfs_find_item() local 343 if (!path) in btrfs_find_item() 346 path = found_path; in btrfs_find_item() 352 eb = path->nodes[0]; in btrfs_find_item() 357 eb = path->nodes[0]; in btrfs_find_item() 368 if (path != found_path) in btrfs_find_item() 369 btrfs_free_path(path); in btrfs_find_item() 723 path->slots[0]--; in btrfs_previous_item() [all …]
|
| A D | root-tree.c | 8 struct btrfs_path *path; in btrfs_find_last_root() local 15 path = btrfs_alloc_path(); in btrfs_find_last_root() 16 if (!path) in btrfs_find_last_root() 23 ret = btrfs_search_slot(NULL, root, &search_key, path, 0, 0); in btrfs_find_last_root() 26 if (path->slots[0] == 0) { in btrfs_find_last_root() 32 l = path->nodes[0]; in btrfs_find_last_root() 33 slot = path->slots[0] - 1; in btrfs_find_last_root() 45 btrfs_free_path(path); in btrfs_find_last_root()
|
| A D | btrfs.c | 58 struct btrfs_path path; in show_dir() local 61 btrfs_init_path(&path); in show_dir() 67 btrfs_release_path(&path); in show_dir() 71 btrfs_item_ptr_offset(path.nodes[0], path.slots[0]), in show_dir() 73 btrfs_release_path(&path); in show_dir() 134 int btrfs_ls(const char *path) in btrfs_ls() argument 144 path, &root, &ino, &type, 40); in btrfs_ls() 187 struct btrfs_path path; in btrfs_size() local 203 btrfs_init_path(&path); in btrfs_size() 218 ii = btrfs_item_ptr(path.nodes[0], path.slots[0], in btrfs_size() [all …]
|
| /u-boot/arch/arm/mach-omap2/ |
| A D | fdt-common.c | 26 const char *path; in ft_hs_disable_rng() local 31 path = "/ocp/rng"; in ft_hs_disable_rng() 32 offs = fdt_path_offset(fdt, path); in ft_hs_disable_rng() 41 path, fdt_strerror(ret)); in ft_hs_disable_rng() 74 const char *path, *subpath; in ft_hs_fixup_dram() local 89 path = "/reserved-memory"; in ft_hs_fixup_dram() 93 path = "/"; in ft_hs_fixup_dram() 101 path = "/reserved-memory"; in ft_hs_fixup_dram() 130 const char *path, *subpath; in ft_hs_add_tee() local 137 path = "/firmware"; in ft_hs_add_tee() [all …]
|
| /u-boot/doc/sphinx/ |
| A D | kernel_include.py | 34 import os.path 62 path = os.path.realpath( 66 if path.startswith(os.sep + "etc"): 69 % (self.name, path)) 71 self.arguments[0] = path 88 source_dir = os.path.dirname(os.path.abspath(source)) 89 path = directives.path(self.arguments[0]) 90 if path.startswith('<') and path.endswith('>'): 91 path = os.path.join(self.standard_include_path, path[1:-1]) 92 path = os.path.normpath(os.path.join(source_dir, path)) [all …]
|
| A D | maintainers_include.py | 22 import os.path 43 def parse_maintainers(self, path): argument 63 for line in open(path): 173 statemachine.string2lines(output), path) 181 path = self.state_machine.document.attributes['source'] 182 path = os.path.realpath(path) 183 tail = path 185 (path, tail) = os.path.split(path) 188 path = os.path.join(path, "MAINTAINERS") 191 self.state.document.settings.record_dependencies.add(path) [all …]
|
| /u-boot/include/xen/ |
| A D | xenbus.h | 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, 36 char *xenbus_write(xenbus_transaction_t xbt, const char *path, 44 char *xenbus_rm(xenbus_transaction_t xbt, const char *path); 61 char *xenbus_get_perms(xenbus_transaction_t xbt, const char *path, char **value); 68 char *xenbus_set_perms(xenbus_transaction_t xbt, const char *path, domid_t dom, 94 int xenbus_read_integer(const char *path); 101 int xenbus_read_uuid(const char *path, unsigned char uuid[16]); 107 const char *node, const char *path,
|
| /u-boot/scripts/ |
| 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}")
|
| /u-boot/tools/ |
| A D | rmboard.py | 33 def rm_kconfig_include(path): argument 46 cmd = ['git', 'grep', path] 53 cmd = ['sed', '-i', '\|%s|d' % path, fname] 99 for path in paths: 100 if path[-1] == '/': 101 path = path[:-1] 102 if '*' in path: 103 globbed = glob.glob(path) 107 real.append(path) 111 for path in real: [all …]
|
| /u-boot/tools/binman/ |
| A D | binman | 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) 34 sys.path.insert(2, our1_path) 40 sys.path.insert(2, 'scripts/dtc/pylibfdt') 41 sys.path.insert(2, os.path.join(srctree, 'scripts/dtc/pylibfdt')) 42 sys.path.insert(2, os.path.join(srctree, 'build-sandbox/scripts/dtc/pylibfdt')) 43 sys.path.insert(2, os.path.join(srctree, 'build-sandbox_spl/scripts/dtc/pylibfdt')) 91 all_set = set([os.path.splitext(os.path.basename(item))[0] 95 for path in toolpath: [all …]
|
| A D | main.py | 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) 34 sys.path.insert(2, our1_path) 40 sys.path.insert(2, 'scripts/dtc/pylibfdt') 41 sys.path.insert(2, os.path.join(srctree, 'scripts/dtc/pylibfdt')) 42 sys.path.insert(2, os.path.join(srctree, 'build-sandbox/scripts/dtc/pylibfdt')) 43 sys.path.insert(2, os.path.join(srctree, 'build-sandbox_spl/scripts/dtc/pylibfdt')) 91 all_set = set([os.path.splitext(os.path.basename(item))[0] 95 for path in toolpath: [all …]
|
| /u-boot/test/py/tests/test_fs/test_squashfs/ |
| A D | sqfs_common.py | 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') 126 os.symlink('subdir', os.path.join(root, 'sym')) 129 os.makedirs(os.path.join(root, 'empty-dir')) 174 output_path = os.path.join(build_dir, out) 179 output_path = os.path.join(build_dir, out) 203 path = os.path.join(build_dir, SQFS_SRC_DIR) [all …]
|
| /u-boot/arch/powerpc/cpu/mpc83xx/ |
| A D | pci.c | 35 const char *path; in ft_pci_setup() local 42 path = fdt_getprop(blob, nodeoffset, "pci0", NULL); in ft_pci_setup() 43 if (path) { in ft_pci_setup() 46 do_fixup_by_path(blob, path, "bus-range", in ft_pci_setup() 50 do_fixup_by_path(blob, path, "clock-frequency", in ft_pci_setup() 57 path = fdt_getprop(blob, nodeoffset, "pci1", NULL); in ft_pci_setup() 58 if (path) { in ft_pci_setup() 61 do_fixup_by_path(blob, path, "bus-range", in ft_pci_setup() 65 do_fixup_by_path(blob, path, "clock-frequency", in ft_pci_setup()
|
| /u-boot/test/py/tests/ |
| A D | test_ut.py | 7 import os.path 19 if not os.path.exists(dirname): 80 infname = os.path.join(cons.config.source_dir, 178 bootdir = os.path.join(mnt, 'boot') 196 target = os.path.join(bootdir, kernel) 201 if os.path.exists(symlink): 251 ext = os.path.join(mnt, 'extlinux') 266 mkdir_cond(os.path.join(mnt, dtbdir)) 290 if not os.path.exists(fn): 297 if not os.path.exists(fn): [all …]
|
| /u-boot/tools/patman/ |
| A D | project.py | 5 import os.path 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/test/py/tests/test_fs/ |
| A D | test_erofs.py | 35 root = os.path.join(build_dir, EROFS_SRC_DIR) 39 generate_file(os.path.join(root, 'f4096'), 4096) 42 generate_file(os.path.join(root, 'f7812'), 7812) 45 subdir_path = os.path.join(root, 'subdir') 50 os.symlink('subdir', os.path.join(root, 'symdir')) 51 os.symlink('f7812', os.path.join(root, 'symfile')) 53 input_path = os.path.join(build_dir, EROFS_SRC_DIR) 54 output_path = os.path.join(build_dir, EROFS_IMAGE_NAME) 63 path = os.path.join(build_dir, EROFS_SRC_DIR) 64 shutil.rmtree(path) [all …]
|
| /u-boot/tools/buildman/ |
| A D | toolchain.py | 75 self.path = os.path.dirname(fname) 164 return self.path 206 wrapper + os.path.join(self.path, self.cross)) 327 dirname = os.path.join(path, subdir) 344 path = path.strip('"') 345 pathname = os.path.join(path, fname) 363 if os.path.exists(value): 376 for path in self.paths: 540 return path in paths 571 if not os.path.exists(dest): [all …]
|
| /u-boot/drivers/xen/ |
| A D | xenbus.c | 147 msg = xenbus_write(xbt, path, value); in xenbus_switch_state() 169 msg = xenbus_read(XBT_NIL, path, &res); in xenbus_wait_for_state_change() 332 struct write_req req[] = { {path, strlen(path) + 1} }; in xenbus_read() 354 {path, strlen(path) + 1}, in xenbus_write() 370 struct write_req req[] = { {path, strlen(path) + 1} }; in xenbus_rm() 384 struct write_req req[] = { {path, strlen(path) + 1} }; in xenbus_get_perms() 408 {path, strlen(path) + 1}, in xenbus_set_perms() 472 res = xenbus_read(XBT_NIL, path, &buf); in xenbus_read_integer() 474 printk("Failed to read %s.\n", path); in xenbus_read_integer() 487 res = xenbus_read(XBT_NIL, path, &buf); in xenbus_read_uuid() [all …]
|
| /u-boot/doc/imx/habv4/csf_examples/mx8m/ |
| A D | csf_fit.txt | 10 # FIXME: Adjust path here 11 File = "/path/to/cst-3.3.1/crts/SRK_1_2_3_4_table.bin" 15 # FIXME: Adjust path here 16 File = "/path/to/cst-3.3.1/crts/CSF1_1_sha256_4096_65537_v3_usr_crt.pem" 23 # FIXME: Adjust path here 24 File = "/path/to/cst-3.3.1/crts/IMG1_1_sha256_4096_65537_v3_usr_crt.pem"
|
| /u-boot/tools/u_boot_pylib/ |
| A D | tools.py | 61 if not os.path.isdir(outdir): 96 return os.path.join(outdir, fname) 145 if os.path.exists(pathname): 200 if os.path.exists(os.path.join(dir, fname)): 398 for path in paths: 399 fname = os.path.join(path, name) 449 if fname and not os.path.exists(fname): 450 for path in search_paths: 451 pathname = os.path.join(path, os.path.basename(fname)) 452 if os.path.exists(pathname): [all …]
|