Home
last modified time | relevance | path

Searched refs:mount_point (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/external/recovery/
H A Droots.c35 static char mount_point[256] = {0}; variable
37 #define VOLUME_TO_LABEL(v) ((strrchr(v->mount_point, '/') ? : "/unknown") + 1)
100 device_volumes[0].mount_point = "/tmp"; in load_volume_table()
117 char mount_point[1024]; in load_volume_table() local
126 mount_point, fs_type, option, dump, pass); in load_volume_table()
141 device_volumes[num_volumes].mount_point = strdup(mount_point); in load_volume_table()
160 …printf(" %d %s %s %s %s %s %s\n", i, v->device, v->mount_point, v->fs_type, v->option, v->dump, v… in load_volume_table()
169 memset(mount_point, 0, sizeof(mount_point)); in volume_for_path()
170 char* tmp = get_link_path(path, mount_point, 1024); in volume_for_path()
177 int len = strlen(v->mount_point); in volume_for_path()
[all …]
H A Dcommon.h91 const char* mount_point; // eg. "/cache". must live in the root directory. member
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/mtdutils/
H A Dmounts.c28 const char *mount_point; member
49 free((char *)volume->mount_point); in free_volume_internals()
117 char mount_point[64]; in scan_mounted_volumes() local
125 device, mount_point, filesystem, flags); in scan_mounted_volumes()
129 mount_point[sizeof(mount_point)-1] = '\0'; in scan_mounted_volumes()
136 v->mount_point = strdup(mount_point); in scan_mounted_volumes()
183 find_mounted_volume_by_mount_point(const char *mount_point) in find_mounted_volume_by_mount_point() argument
191 if (v->mount_point != NULL) { in find_mounted_volume_by_mount_point()
192 if (strcmp(v->mount_point, mount_point) == 0) { in find_mounted_volume_by_mount_point()
208 int ret = umount(volume->mount_point); in unmount_mounted_volume()
[all …]
H A Dmtdutils.c193 mtd_mount_partition(const MtdPartition *partition, const char *mount_point, in mtd_mount_partition() argument
202 rv = mount(devname, mount_point, filesystem, flags, NULL); in mtd_mount_partition()
205 rv = mount(devname, mount_point, filesystem, flags | MS_RDONLY, 0); in mtd_mount_partition()
208 devname, mount_point, strerror(errno)); in mtd_mount_partition()
210 printf("Mount %s on %s read-only\n", devname, mount_point); in mtd_mount_partition()
219 rv = stat(mount_point, &st); in mtd_mount_partition()
225 printf("Fixing execute permissions for %s\n", mount_point); in mtd_mount_partition()
226 rv = chmod(mount_point, new_mode); in mtd_mount_partition()
229 mount_point, strerror(errno)); in mtd_mount_partition()
H A Dmounts.h27 find_mounted_volume_by_mount_point(const char *mount_point);
H A Dmtdutils.h31 int mtd_mount_partition(const MtdPartition *partition, const char *mount_point,
/OK3568_Linux_fs/external/recovery/mtdutils/
H A Dmounts.c43 free((char *)volume->mount_point); in free_volume_internals()
111 char mount_point[64]; in scan_mounted_volumes() local
119 device, mount_point, filesystem, flags); in scan_mounted_volumes()
123 mount_point[sizeof(mount_point) - 1] = '\0'; in scan_mounted_volumes()
130 v->mount_point = strdup(mount_point); in scan_mounted_volumes()
177 find_mounted_volume_by_mount_point(const char *mount_point) in find_mounted_volume_by_mount_point() argument
185 if (v->mount_point != NULL) { in find_mounted_volume_by_mount_point()
186 if (strcmp(v->mount_point, mount_point) == 0) { in find_mounted_volume_by_mount_point()
202 int ret = umount(volume->mount_point); in unmount_mounted_volume()
213 return mount(volume->device, volume->mount_point, volume->filesystem, in remount_read_only()
H A Dmtdutils.c186 mtd_mount_partition(const MtdPartition *partition, const char *mount_point, in mtd_mount_partition() argument
195 rv = mount(devname, mount_point, filesystem, flags, NULL); in mtd_mount_partition()
198 rv = mount(devname, mount_point, filesystem, flags | MS_RDONLY, 0); in mtd_mount_partition()
201 devname, mount_point, strerror(errno)); in mtd_mount_partition()
203 printf("Mount %s on %s read-only\n", devname, mount_point); in mtd_mount_partition()
212 rv = stat(mount_point, &st); in mtd_mount_partition()
218 printf("Fixing execute permissions for %s\n", mount_point); in mtd_mount_partition()
219 rv = chmod(mount_point, new_mode); in mtd_mount_partition()
222 mount_point, strerror(errno)); in mtd_mount_partition()
H A Dmounts.h22 const char *mount_point; member
34 find_mounted_volume_by_mount_point(const char *mount_point);
H A Dmtdutils.h38 int mtd_mount_partition(const MtdPartition *partition, const char *mount_point,
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/runtime/cases/
H A Dstorage.py15 (status, output) = cls.target.run('mkdir -p %s' % cls.mount_point)
16 (status, output) = cls.target.run('mount %s %s' % (cls.device, cls.mount_point))
66 (status, output) = cls.target.run('umount %s' % cls.mount_point)
72 msg = ('Device not unmount %s' % cls.mount_point)
89 self.mount_point = "/media/usb"
92 self.test_dir = os.path.join(self.mount_point, "oeqa")
124 self.mount_point = "/media/mmc"
127 self.test_dir = os.path.join(self.mount_point, "oeqa")
/OK3568_Linux_fs/kernel/tools/testing/selftests/pstore/
H A Dpstore_post_reboot_tests25 mount_point=`echo ${mount_info} | cut -d' ' -f2 | head -n1`
30 mount_point=`grep pstore /proc/mounts | cut -d' ' -f2 | head -n1`
38 cd ${mount_point}
/OK3568_Linux_fs/u-boot/test/py/tests/
H A Dtest_ums.py113 mount_point = u_boot_console.config.env['env__mount_points'][0]
123 mounted_test_fn = mount_point + '/' + mount_subdir + test_f.fn
/OK3568_Linux_fs/kernel/fs/ocfs2/
H A Docfs1_fs_compat.h36 /*88*/ __u8 mount_point[OCFS1_MAX_MOUNT_POINT_LEN]; member
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/
H A Dcommon.h91 const char* mount_point; // eg. "/cache". must live in the root directory. member