Lines Matching refs:open
2 * Copyright (C) 2008 The Android Open Source Project
384 int sbfd = open(loopDevice, O_RDWR);
386 SLOGE("Failed to open new DM device for superblock write (%s)", strerror(errno));
480 int dirfd = open(mountPoint, O_DIRECTORY);
632 int fd = open(ftsent->fts_accpath, O_NOFOLLOW);
634 SLOGE("Couldn't open file %s: %s", ftsent->fts_accpath, strerror(errno));
651 int dirfd = open(mountPoint, O_DIRECTORY);
953 int dirfd = open(dir, O_DIRECTORY);
955 SLOGE("Couldn't open internal ASEC dir (%s)", strerror(errno));
1208 if ((fd = open(loopDevice, O_RDWR)) < 0) {
1209 SLOGE("Failed to open loopdevice (%s)", strerror(errno));
1312 int fd = open(device, O_RDONLY);
1401 if ((fd = open(MASS_STORAGE_FILE_PATH, O_WRONLY)) < 0) {
1402 SLOGE("Unable to open ums lunfile (%s)", strerror(errno));
1426 SLOGE("Failed to open /proc/sys/vm/dirty_ratio (%s)", strerror(errno));
1451 if ((fd = open(MASS_STORAGE_FILE_PATH, O_WRONLY)) < 0) {
1452 SLOGE("Unable to open ums lunfile (%s)", strerror(errno));
1471 SLOGE("Failed to open /proc/sys/vm/dirty_ratio (%s)", strerror(errno));
1568 SLOGE("Could not open asec dir %s", directory);