Lines Matching refs:sentinel
119 struct posix_acl *sentinel;
124 * The sentinel is used to detect when another operation like
126 * It is guaranteed that is_uncached_acl(sentinel) is true.
136 sentinel = uncached_acl_sentinel(current);
140 * If the ACL isn't being read yet, set our sentinel. Otherwise, the
142 * sentinel will not be set; another task will update the cache. We
147 cmpxchg(p, ACL_NOT_CACHED, sentinel);
167 * Remove our sentinel so that we don't block future attempts
170 cmpxchg(p, sentinel, ACL_NOT_CACHED);
175 * Cache the result, but only if our sentinel is still in place.
178 if (unlikely(!try_cmpxchg(p, &sentinel, acl)))