Searched refs:pathname (Results 1 – 11 of 11) sorted by relevance
| /rk3399_rockchip-uboot/tools/patman/ |
| H A D | tools.py | 106 pathname = os.path.join(dirname, fname) 107 if os.path.exists(pathname): 108 return pathname
|
| /rk3399_rockchip-uboot/include/ |
| H A D | os.h | 71 int os_open(const char *pathname, int flags); 93 int os_unlink(const char *pathname);
|
| /rk3399_rockchip-uboot/drivers/usb/emul/ |
| H A D | sandbox_flash.c | 71 const char *pathname; member 375 plat->pathname = dev_read_string(dev, "sandbox,filepath"); in sandbox_flash_ofdata_to_platdata() 401 priv->fd = os_open(plat->pathname, OS_O_RDONLY); in sandbox_flash_probe() 403 return os_get_filesize(plat->pathname, &priv->file_size); in sandbox_flash_probe()
|
| /rk3399_rockchip-uboot/drivers/mtd/ubi/ |
| H A D | kapi.c | 298 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode) in ubi_open_volume_path() argument 304 dbg_gen("open volume %s, mode %d", pathname, mode); in ubi_open_volume_path() 306 if (!pathname || !*pathname) in ubi_open_volume_path() 309 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in ubi_open_volume_path()
|
| /rk3399_rockchip-uboot/arch/sandbox/cpu/ |
| H A D | os.c | 66 int os_open(const char *pathname, int os_flags) in os_open() argument 88 return open(pathname, flags, 0777); in os_open() 96 int os_unlink(const char *pathname) in os_unlink() argument 98 return unlink(pathname); in os_unlink()
|
| /rk3399_rockchip-uboot/tools/buildman/ |
| H A D | toolchain.py | 280 pathname = os.path.join(path, fname) 281 if os.path.exists(pathname): 282 pathname_list.append(pathname)
|
| /rk3399_rockchip-uboot/include/linux/mtd/ |
| H A D | ubi.h | 237 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode);
|
| /rk3399_rockchip-uboot/tools/binman/ |
| H A D | func_test.py | 219 pathname = os.path.join(self._indir, fname) 220 dirname = os.path.dirname(pathname) 223 with open(pathname, 'wb') as fd: 225 return pathname
|
| /rk3399_rockchip-uboot/fs/yaffs2/ |
| H A D | yaffsfs.h | 174 int yaffs_mknod(const YCHAR *pathname, mode_t mode, dev_t dev);
|
| H A D | yaffsfs.c | 3137 int yaffs_mknod(const YCHAR *pathname, mode_t mode, dev_t dev) in yaffs_mknod() argument
|
| /rk3399_rockchip-uboot/common/ |
| H A D | lrz.c | 1768 make_dirs(char *pathname) in make_dirs() argument 1777 for (p = strchr(pathname, '/'); p != NULL; p = strchr(p+1, '/')) { in make_dirs() 1779 if (p == pathname || p[-1] == '/') in make_dirs() 1782 if (p[-1] == '.' && (p == pathname+1 || p[-2] == '/')) in make_dirs() 1785 if ( !mkdir(pathname, 0777)) { /* Try to create it as a dir */ in make_dirs() 1786 vfile("Made directory %s\n", pathname); in make_dirs()
|