Lines Matching refs:sentinel
22 struct posix_acl *sentinel = uncached_acl_sentinel(current);
24 if (cmpxchg(p, ACL_NOT_CACHED, sentinel) != ACL_NOT_CACHED) {
25 /* Not the first reader or sentinel already in place. */
31 struct posix_acl *sentinel = uncached_acl_sentinel(current);
33 /* Only cache the ACL if our sentinel is still in place. */
35 if (cmpxchg(p, sentinel, acl) != sentinel)
41 struct posix_acl *sentinel = uncached_acl_sentinel(current);
43 /* Remove our sentinel upon failure. */
44 cmpxchg(p, sentinel, ACL_NOT_CACHED);