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 | 90 …_mount_options(char *arg, unsigned long rwflag, struct extra_opts *extra, int* loop, char *loopdev) in parse_mount_options() argument 105 strlcpy(loopdev, s + 5, LOOPDEV_MAXLEN); in parse_mount_options() 111 strlcpy(loopdev, DEFAULT_LOOP_DEVICE, LOOPDEV_MAXLEN); in parse_mount_options() 142 char *loopdev) in do_mount() argument 158 device_fd = open(loopdev, flags); in do_mount() 173 dev = loopdev; in do_mount() 278 char loopdev[LOOPDEV_MAXLEN]; in mount_main() local 292 rwflag = parse_mount_options(optarg, rwflag, &extra, &loop, loopdev); in mount_main() 330 return do_mount(dev, dir, type, rwflag, extra.str, loop, loopdev); in mount_main()
|