Lines Matching refs:de
460 struct dirent* de; in remountUid() local
483 while ((de = readdir(dir))) { in remountUid()
485 if (de->d_type != DT_DIR) continue; in remountUid()
486 if (!android::base::ParseInt(de->d_name, &pid)) continue; in remountUid()
491 pidFd = openat(dirfd(dir), de->d_name, O_RDONLY | O_DIRECTORY | O_CLOEXEC); in remountUid()
496 PLOG(WARNING) << "Failed to stat " << de->d_name; in remountUid()
504 LOG(DEBUG) << "Found matching PID " << de->d_name; in remountUid()
506 PLOG(WARNING) << "Failed to read namespace for " << de->d_name; in remountUid()
525 PLOG(WARNING) << "Failed to read exe name for " << de->d_name; in remountUid()
538 PLOG(WARNING) << "Failed to open namespace for " << de->d_name; in remountUid()
544 PLOG(ERROR) << "Failed to setns for " << de->d_name; in remountUid()
565 PLOG(ERROR) << "Failed to mount " << storageSource << " for " << de->d_name; in remountUid()
569 PLOG(ERROR) << "Failed to set MS_SLAVE to /storage for " << de->d_name; in remountUid()
578 PLOG(ERROR) << "Failed to mount " << userSource << " for " << de->d_name; in remountUid()