Lines Matching defs:dirEntry
284 static inline struct ProcDirEntry *GetCurrDirectory(struct ProcDirEntry *dirEntry)
286 return ((dirEntry == NULL) || S_ISDIR(dirEntry->mode)) ? dirEntry : dirEntry->parent;
289 static inline ProcLimiterSet *GetProcLimiterSetFromDirEntry(struct ProcDirEntry *dirEntry)
291 struct ProcDirEntry *currDirectory = GetCurrDirectory(dirEntry);
311 static void ProcLimiterDirEntryInit(struct ProcDirEntry *dirEntry, unsigned mask, mode_t mode)
313 struct ProcDirEntry *currDir = GetCurrDirectory(dirEntry);
341 static ssize_t PLimitsCopyLimits(struct ProcDirEntry *dirEntry)
343 struct ProcDirEntry *parentPde = dirEntry->parent;
353 dirEntry->data = (VOID *)newPLimits;
354 dirEntry->dataType = PROC_DATA_STATIC;
355 dirEntry->procDirOps = parentPde->procDirOps;
356 ProcLimiterDirEntryInit(dirEntry, newPLimits->mask, PLIMIT_FILE_MODE_MASK_NONE);