VirtualBox

Changeset 2912 in kBuild for trunk/src/lib/nt/kFsCache.h


Ignore:
Timestamp:
Sep 14, 2016 1:36:15 PM (9 years ago)
Author:
bird
Message:

rewrote kmk_redirect to skip the separate process. Added chache invalidation after directory deletion for addressing kmk rebuild and fetching.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/nt/kFsCache.h

    r2868 r2912  
    457457PKFSOBJ     kFsCacheLookupA(PKFSCACHE pCache, const char *pszPath, KFSLOOKUPERROR *penmError);
    458458PKFSOBJ     kFsCacheLookupW(PKFSCACHE pCache, const wchar_t *pwszPath, KFSLOOKUPERROR *penmError);
    459 PKFSOBJ     kFsCacheLookupRelativeToDirA(PKFSCACHE pCache, PKFSDIR pParent, const char *pszPath, KU32 cchPath,
     459PKFSOBJ     kFsCacheLookupRelativeToDirA(PKFSCACHE pCache, PKFSDIR pParent, const char *pszPath, KU32 cchPath, KU32 fFlags,
    460460                                         KFSLOOKUPERROR *penmError, PKFSOBJ *ppLastAncestor);
    461 PKFSOBJ     kFsCacheLookupRelativeToDirW(PKFSCACHE pCache, PKFSDIR pParent, const wchar_t *pwszPath, KU32 cwcPath,
     461PKFSOBJ     kFsCacheLookupRelativeToDirW(PKFSCACHE pCache, PKFSDIR pParent, const wchar_t *pwszPath, KU32 cwcPath, KU32 fFlags,
    462462                                         KFSLOOKUPERROR *penmError, PKFSOBJ *ppLastAncestor);
    463463PKFSOBJ     kFsCacheLookupWithLengthA(PKFSCACHE pCache, const char *pchPath, KSIZE cchPath, KFSLOOKUPERROR *penmError);
     
    466466PKFSOBJ     kFsCacheLookupNoMissingW(PKFSCACHE pCache, const wchar_t *pwszPath, KFSLOOKUPERROR *penmError);
    467467
     468/** @name KFSCACHE_LOOKUP_F_XXX - lookup flags
     469 * @{ */
     470/** No inserting new cache entries.
     471 * This effectively prevent directories from being repopulated too.  */
     472#define KFSCACHE_LOOKUP_F_NO_INSERT     KU32_C(1)
     473/** No refreshing cache entries. */
     474#define KFSCACHE_LOOKUP_F_NO_REFRESH    KU32_C(2)
     475/** @} */
    468476
    469477KU32        kFsCacheObjRelease(PKFSCACHE pCache, PKFSOBJ pObj);
     
    485493void        kFsCacheInvalidateCustomBoth(PKFSCACHE pCache);
    486494KBOOL       kFsCacheSetupCustomRevisionForTree(PKFSCACHE pCache, PKFSOBJ pRoot);
    487 
    488 #endif
     495KBOOL       kFsCacheInvalidateDeletedDirectoryA(PKFSCACHE pCache, const char *pszDir);
     496
     497#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette