Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 2 of 2) sorted by relevance

/bootable/diskinstaller/
Dinstaller.c81 int rv; in exec_cmd() local
106 rv = system(outbuf); in exec_cmd()
108 if (rv < 0) { in exec_cmd()
112 rv = WEXITSTATUS(rv); in exec_cmd()
113 ALOGI("Done executing %s (%d)", outbuf, rv); in exec_cmd()
114 return rv; in exec_cmd()
121 int rv; in do_fsck() local
126 if ((rv = exec_cmd(E2FSCK_BIN, "-C 0", opts, dst, NULL)) < 0) in do_fsck()
128 if (rv >= 4) { in do_fsck()
129 ALOGE("Error while running e2fsck: %d", rv); in do_fsck()
[all …]
/bootable/recovery/mtdutils/
Dmtdutils.c198 int rv = -1; in mtd_mount_partition() local
202 rv = mount(devname, mount_point, filesystem, flags, NULL); in mtd_mount_partition()
204 if (read_only || rv < 0) { in mtd_mount_partition()
205 rv = mount(devname, mount_point, filesystem, flags | MS_RDONLY, 0); in mtd_mount_partition()
206 if (rv < 0) { in mtd_mount_partition()
214 if (rv >= 0) { in mtd_mount_partition()
219 rv = stat(mount_point, &st); in mtd_mount_partition()
220 if (rv < 0) { in mtd_mount_partition()
221 return rv; in mtd_mount_partition()
226 rv = chmod(mount_point, new_mode); in mtd_mount_partition()
[all …]