Lines Matching defs:cache
62 #include "cache.h"
1405 * before another cache update is made.
1406 * In legacy cache, data has to be invalidated when protection is
1416 * and 30% if the cache is disabled.
1422 struct PERMISSIONS_CACHE *cache;
1426 cache = (struct PERMISSIONS_CACHE*)NULL;
1429 cache = (struct PERMISSIONS_CACHE*)
1432 if (cache) {
1433 cache->head.last = index1;
1434 cache->head.p_reads = 0;
1435 cache->head.p_hits = 0;
1436 cache->head.p_writes = 0;
1437 *scx->pseccache = cache;
1439 cache->cachetable[i]
1442 return (cache);
1518 * Resize permission cache table
1521 * If allocation fails, the cache size is not updated
1522 * Lack of memory is not considered as an error, the cache is left
1542 /* expand cache beyond current end, do not use realloc() */
1565 * Enter uid, gid and mode into cache, if possible
1567 * returns the updated or created cache entry,
1636 /* create the first cache block */
1644 /* allocate block, if cache table was allocated */
1729 * Beware : do not use the returned entry after a cache update :
1730 * the cache may be relocated making the returned entry meaningless
1732 * returns the cache entry, or NULL if not available
1784 ntfs_log_error("No Posix descriptor in cache\n");
2085 /* check whether available in cache */
2187 /* check whether available in cache */
2317 /* check whether available in cache */
2455 /* check whether available in cache */
2568 /* check whether parent directory is available in cache */
2670 /* check whether target securid is known in cache */
2686 /* not in cache : make sure we can create ids */
2704 /* update cache, for subsequent use */
2765 /* also invalidate legacy cache */
2810 /* check whether target securid is known in cache */
2825 /* not in cache : make sure we can create ids */
2842 /* update cache, for subsequent use */
2890 /* check whether target securid is known in cache */
2931 * which can be kept in cache.
2962 /* update cache, for subsequent use */
2970 /* also invalidate legacy cache */
3027 /* get the owner, either from cache or from old attribute */
3094 /* get the current pxsec, either from cache or from old attribute */
3217 * cache, which is based on inode numbers.
3270 /* get the current owner, either from cache or from old attribute */
3648 /* get the current owner and mode from cache or security attributes */
3771 /* get the current owner and mode from cache or security attributes */
4039 * Try to get inherited id from cache, possible when
4051 * Not cached or not available in cache, compute it all
4061 * Store the result into cache for further use