• Home
  • Raw
  • Download

Lines Matching refs:cred

518 		.cred = desc->file->f_cred,  in nfs_readdir_xdr_filler()
2553 put_cred(entry->cred); in nfs_access_free_entry()
2679 …tic struct nfs_access_entry *nfs_access_search_rbtree(struct inode *inode, const struct cred *cred) in nfs_access_search_rbtree() argument
2686 int cmp = cred_fscmp(cred, entry->cred); in nfs_access_search_rbtree()
2698 static int nfs_access_get_cached_locked(struct inode *inode, const struct cred *cred, u32 *mask, bo… in nfs_access_get_cached_locked() argument
2709 cache = nfs_access_search_rbtree(inode, cred); in nfs_access_get_cached_locked()
2740 static int nfs_access_get_cached_rcu(struct inode *inode, const struct cred *cred, u32 *mask) in nfs_access_get_cached_rcu() argument
2756 cred_fscmp(cred, cache->cred) != 0) in nfs_access_get_cached_rcu()
2769 int nfs_access_get_cached(struct inode *inode, const struct cred *cred, in nfs_access_get_cached() argument
2774 status = nfs_access_get_cached_rcu(inode, cred, mask); in nfs_access_get_cached()
2776 status = nfs_access_get_cached_locked(inode, cred, mask, in nfs_access_get_cached()
2796 cmp = cred_fscmp(set->cred, entry->cred); in nfs_access_add_rbtree()
2824 cache->cred = get_cred(set->cred); in nfs_access_add_cache()
2888 static int nfs_do_access(struct inode *inode, const struct cred *cred, int mask) in nfs_do_access() argument
2897 status = nfs_access_get_cached(inode, cred, &cache.mask, may_block); in nfs_do_access()
2917 cache.cred = cred; in nfs_do_access()
2955 int nfs_may_open(struct inode *inode, const struct cred *cred, int openflags) in nfs_may_open() argument
2957 return nfs_do_access(inode, cred, nfs_open_permission_mask(openflags)); in nfs_may_open()
2982 const struct cred *cred = current_cred(); in nfs_permission() local
3014 res = nfs_do_access(inode, cred, mask); in nfs_permission()