Lines Matching refs:de
456 struct dirent* de; in remountUid() local
479 while ((de = readdir(dir))) { in remountUid()
481 if (de->d_type != DT_DIR) continue; in remountUid()
482 if (!android::base::ParseInt(de->d_name, &pid)) continue; in remountUid()
487 pidFd = openat(dirfd(dir), de->d_name, O_RDONLY | O_DIRECTORY | O_CLOEXEC); in remountUid()
492 PLOG(WARNING) << "Failed to stat " << de->d_name; in remountUid()
500 LOG(DEBUG) << "Found matching PID " << de->d_name; in remountUid()
502 PLOG(WARNING) << "Failed to read namespace for " << de->d_name; in remountUid()
521 PLOG(WARNING) << "Failed to read exe name for " << de->d_name; in remountUid()
534 PLOG(WARNING) << "Failed to open namespace for " << de->d_name; in remountUid()
540 PLOG(ERROR) << "Failed to setns for " << de->d_name; in remountUid()
561 PLOG(ERROR) << "Failed to mount " << storageSource << " for " << de->d_name; in remountUid()
565 PLOG(ERROR) << "Failed to set MS_SLAVE to /storage for " << de->d_name; in remountUid()
574 PLOG(ERROR) << "Failed to mount " << userSource << " for " << de->d_name; in remountUid()