Searched refs:loopdev (Results 1 – 2 of 2) sorted by relevance
/system/core/toolbox/ |
D | umount.c | 28 static int is_loop_mount(const char* path, char *loopdev) in is_loop_mount() argument 48 strlcpy(loopdev, device, LOOPDEV_MAXLEN); in is_loop_mount() 62 char loopdev[LOOPDEV_MAXLEN]; in umount_main() local 69 loop = is_loop_mount(argv[1], loopdev); in umount_main() 77 loop_fd = open(loopdev, O_RDONLY); in umount_main()
|
D | mount.c | 95 …_mount_options(char *arg, unsigned long rwflag, struct extra_opts *extra, int* loop, char *loopdev) in parse_mount_options() argument 110 strlcpy(loopdev, s + 5, LOOPDEV_MAXLEN); in parse_mount_options() 116 strlcpy(loopdev, DEFAULT_LOOP_DEVICE, LOOPDEV_MAXLEN); in parse_mount_options() 147 char *loopdev) in do_mount() argument 163 device_fd = open(loopdev, flags); in do_mount() 178 dev = loopdev; in do_mount() 283 char loopdev[LOOPDEV_MAXLEN]; in mount_main() local 297 rwflag = parse_mount_options(optarg, rwflag, &extra, &loop, loopdev); in mount_main() 335 return do_mount(dev, dir, type, rwflag, extra.str, loop, loopdev); in mount_main()
|