Lines Matching refs:permit
132 struct afs_permit *permit; in afs_cache_permit() local
176 permit = xpermits->permits; in afs_cache_permit()
178 if (permit->key == key) { in afs_cache_permit()
179 permit->access_mask = in afs_cache_permit()
183 permit++; in afs_cache_permit()
187 permits = kmalloc(sizeof(*permits) + sizeof(*permit) * (count + 1), in afs_cache_permit()
221 struct afs_permit *permit; in afs_check_permit() local
248 permit = permits->permits; in afs_check_permit()
250 if (permit->key == key) { in afs_check_permit()
252 *_access = permit->access_mask; in afs_check_permit()
256 permit++; in afs_check_permit()