cred              261 fs/lockd/clntproc.c 		.rpc_cred	= cred,
cred              401 fs/lockd/clntproc.c 		.rpc_cred	= cred,
cred              513 fs/lockd/clntproc.c 	struct rpc_cred *cred = nfs_file_cred(fl->fl_file);
cred              542 fs/lockd/clntproc.c 		status = nlmclnt_call(cred, req, NLMPROC_LOCK);
cred              611 fs/lockd/clntproc.c 	nlmclnt_async_call(cred, req, NLMPROC_UNLOCK, &nlmclnt_unlock_ops);
cred              115 fs/nfs/client.c 	struct rpc_cred *cred;
cred              154 fs/nfs/client.c 	cred = rpc_lookup_machine_cred();
cred              155 fs/nfs/client.c 	if (!IS_ERR(cred))
cred              156 fs/nfs/client.c 		clp->cl_machine_cred = cred;
cred               37 fs/nfs/delegation.c 	struct rpc_cred *cred;
cred               39 fs/nfs/delegation.c 	cred = rcu_dereference(delegation->cred);
cred               40 fs/nfs/delegation.c 	rcu_assign_pointer(delegation->cred, NULL);
cred               42 fs/nfs/delegation.c 	if (cred)
cred               43 fs/nfs/delegation.c 		put_rpccred(cred);
cred              120 fs/nfs/delegation.c 	oldcred = delegation->cred;
cred              121 fs/nfs/delegation.c 	delegation->cred = get_rpccred(cred);
cred              132 fs/nfs/delegation.c 	res = nfs4_proc_delegreturn(inode, delegation->cred, &delegation->stateid, issync);
cred              173 fs/nfs/delegation.c 	delegation->cred = get_rpccred(cred);
cred               17 fs/nfs/delegation.h 	struct rpc_cred *cred;
cred              179 fs/nfs/dir.c   	struct rpc_cred	*cred = nfs_file_cred(file);
cred              189 fs/nfs/dir.c   	error = NFS_PROTO(inode)->readdir(file->f_path.dentry, cred, desc->entry->cookie, page,
cred              471 fs/nfs/dir.c   	struct rpc_cred	*cred = nfs_file_cred(file);
cred              485 fs/nfs/dir.c   	status = NFS_PROTO(inode)->readdir(file->f_path.dentry, cred,
cred             1660 fs/nfs/dir.c   	put_rpccred(entry->cred);
cred             1767 fs/nfs/dir.c   		if (cred < entry->cred)
cred             1769 fs/nfs/dir.c   		else if (cred > entry->cred)
cred             1786 fs/nfs/dir.c   	cache = nfs_access_search_rbtree(inode, cred);
cred             1792 fs/nfs/dir.c   	res->cred = cache->cred;
cred             1824 fs/nfs/dir.c   		if (set->cred < entry->cred)
cred             1826 fs/nfs/dir.c   		else if (set->cred > entry->cred)
cred             1851 fs/nfs/dir.c   	cache->cred = get_rpccred(set->cred);
cred             1874 fs/nfs/dir.c   	status = nfs_access_get_cached(inode, cred, &cache);
cred             1880 fs/nfs/dir.c   	cache.cred = cred;
cred             1907 fs/nfs/dir.c   	return nfs_do_access(inode, cred, nfs_open_permission_mask(openflags));
cred             1912 fs/nfs/dir.c   	struct rpc_cred *cred;
cred             1945 fs/nfs/dir.c   	cred = rpc_lookup_cred();
cred             1946 fs/nfs/dir.c   	if (!IS_ERR(cred)) {
cred             1947 fs/nfs/dir.c   		res = nfs_do_access(inode, cred, mask);
cred             1948 fs/nfs/dir.c   		put_rpccred(cred);
cred             1950 fs/nfs/dir.c   		res = PTR_ERR(cred);
cred              284 fs/nfs/direct.c 		.rpc_cred = ctx->cred,
cred              332 fs/nfs/direct.c 		data->cred = msg.rpc_cred;
cred              453 fs/nfs/direct.c 		.rpc_cred = dreq->ctx->cred,
cred              549 fs/nfs/direct.c 		.rpc_cred = dreq->ctx->cred,
cred              562 fs/nfs/direct.c 	data->cred = msg.rpc_cred;
cred              697 fs/nfs/direct.c 		.rpc_cred = ctx->cred,
cred              748 fs/nfs/direct.c 		data->cred = msg.rpc_cred;
cred              557 fs/nfs/inode.c 		ctx->cred = get_rpccred(cred);
cred              593 fs/nfs/inode.c 	if (ctx->cred != NULL)
cred              594 fs/nfs/inode.c 		put_rpccred(ctx->cred);
cred              634 fs/nfs/inode.c 		if (cred != NULL && pos->cred != cred)
cred              665 fs/nfs/inode.c 	struct rpc_cred *cred;
cred              667 fs/nfs/inode.c 	cred = rpc_lookup_cred();
cred              668 fs/nfs/inode.c 	if (IS_ERR(cred))
cred              669 fs/nfs/inode.c 		return PTR_ERR(cred);
cred              670 fs/nfs/inode.c 	ctx = alloc_nfs_open_context(filp->f_path.mnt, filp->f_path.dentry, cred);
cred              671 fs/nfs/inode.c 	put_rpccred(cred);
cred              192 fs/nfs/nfs3proc.c 		.rpc_cred	= entry->cred,
cred              611 fs/nfs/nfs3proc.c 		.rpc_cred	= cred
cred             1045 fs/nfs/nfs4proc.c 	if (!(sp = nfs4_get_state_owner(server, cred))) {
cred             1098 fs/nfs/nfs4proc.c 		status = _nfs4_do_open(dir, path, flags, sattr, cred, &res);
cred             1159 fs/nfs/nfs4proc.c 		.rpc_cred	= cred,
cred             1188 fs/nfs/nfs4proc.c 				_nfs4_do_setattr(inode, cred, fattr, sattr, state),
cred             1392 fs/nfs/nfs4proc.c 	struct rpc_cred *cred;
cred             1406 fs/nfs/nfs4proc.c 	cred = rpc_lookup_cred();
cred             1407 fs/nfs/nfs4proc.c 	if (IS_ERR(cred))
cred             1408 fs/nfs/nfs4proc.c 		return (struct dentry *)cred;
cred             1412 fs/nfs/nfs4proc.c 	state = nfs4_do_open(dir, &path, nd->intent.open.flags, &attr, cred);
cred             1413 fs/nfs/nfs4proc.c 	put_rpccred(cred);
cred             1438 fs/nfs/nfs4proc.c 	struct rpc_cred *cred;
cred             1441 fs/nfs/nfs4proc.c 	cred = rpc_lookup_cred();
cred             1442 fs/nfs/nfs4proc.c 	if (IS_ERR(cred))
cred             1443 fs/nfs/nfs4proc.c 		return PTR_ERR(cred);
cred             1444 fs/nfs/nfs4proc.c 	state = nfs4_do_open(dir, &path, openflags, NULL, cred);
cred             1445 fs/nfs/nfs4proc.c 	put_rpccred(cred);
cred             1651 fs/nfs/nfs4proc.c 	struct rpc_cred *cred = NULL;
cred             1662 fs/nfs/nfs4proc.c 		cred = ctx->cred;
cred             1666 fs/nfs/nfs4proc.c 	status = nfs4_do_setattr(inode, cred, fattr, sattr, state);
cred             1760 fs/nfs/nfs4proc.c 		.rpc_cred = entry->cred,
cred             1887 fs/nfs/nfs4proc.c 	struct rpc_cred *cred;
cred             1890 fs/nfs/nfs4proc.c 	cred = rpc_lookup_cred();
cred             1891 fs/nfs/nfs4proc.c 	if (IS_ERR(cred)) {
cred             1892 fs/nfs/nfs4proc.c 		status = PTR_ERR(cred);
cred             1895 fs/nfs/nfs4proc.c 	state = nfs4_do_open(dir, &path, flags, sattr, cred);
cred             1905 fs/nfs/nfs4proc.c 		status = nfs4_do_setattr(state->inode, cred, &fattr, sattr, state);
cred             1915 fs/nfs/nfs4proc.c 	put_rpccred(cred);
cred             2217 fs/nfs/nfs4proc.c 		.rpc_cred = cred,
cred             2244 fs/nfs/nfs4proc.c 				_nfs4_proc_readdir(dentry, cred, cookie,
cred             2500 fs/nfs/nfs4proc.c 		.rpc_cred	= cred,
cred             2512 fs/nfs/nfs4proc.c 		.rpc_cred	= cred,
cred             2857 fs/nfs/nfs4proc.c 		.rpc_cred = cred,
cred             2906 fs/nfs/nfs4proc.c 		.rpc_cred = cred,
cred             2928 fs/nfs/nfs4proc.c 		err = _nfs4_proc_setclientid_confirm(clp, cred);
cred             2976 fs/nfs/nfs4proc.c 		.rpc_cred = cred,
cred             3026 fs/nfs/nfs4proc.c 		err = _nfs4_proc_delegreturn(inode, cred, stateid, issync);
cred             3220 fs/nfs/nfs4proc.c 		.rpc_cred = ctx->cred,
cred               64 fs/nfs/nfs4renewd.c 	struct rpc_cred *cred;
cred               80 fs/nfs/nfs4renewd.c 		cred = nfs4_get_renew_cred(clp);
cred               81 fs/nfs/nfs4renewd.c 		if (cred == NULL) {
cred               89 fs/nfs/nfs4renewd.c 		nfs4_proc_async_renew(clp, cred);
cred               90 fs/nfs/nfs4renewd.c 		put_rpccred(cred);
cred               66 fs/nfs/nfs4state.c 			nfs_callback_tcpport, cred);
cred               68 fs/nfs/nfs4state.c 		status = nfs4_proc_setclientid_confirm(clp, cred);
cred               76 fs/nfs/nfs4state.c 	struct rpc_cred *cred = NULL;
cred               80 fs/nfs/nfs4state.c 		cred = get_rpccred(clp->cl_machine_cred);
cred               82 fs/nfs/nfs4state.c 	return cred;
cred               87 fs/nfs/nfs4state.c 	struct rpc_cred *cred;
cred               90 fs/nfs/nfs4state.c 	cred = clp->cl_machine_cred;
cred               93 fs/nfs/nfs4state.c 	if (cred != NULL)
cred               94 fs/nfs/nfs4state.c 		put_rpccred(cred);
cred              101 fs/nfs/nfs4state.c 	struct rpc_cred *cred = NULL;
cred              107 fs/nfs/nfs4state.c 		cred = get_rpccred(sp->so_cred);
cred              110 fs/nfs/nfs4state.c 	return cred;
cred              117 fs/nfs/nfs4state.c 	struct rpc_cred *cred;
cred              119 fs/nfs/nfs4state.c 	cred = nfs4_get_machine_cred(clp);
cred              120 fs/nfs/nfs4state.c 	if (cred != NULL)
cred              125 fs/nfs/nfs4state.c 		cred = get_rpccred(sp->so_cred);
cred              128 fs/nfs/nfs4state.c 	return cred;
cred              206 fs/nfs/nfs4state.c 		if (cred < sp->so_cred)
cred              208 fs/nfs/nfs4state.c 		else if (cred > sp->so_cred)
cred              308 fs/nfs/nfs4state.c 	sp = nfs4_find_state_owner(server, cred);
cred              317 fs/nfs/nfs4state.c 	new->so_cred = cred;
cred              322 fs/nfs/nfs4state.c 		get_rpccred(cred);
cred              337 fs/nfs/nfs4state.c 	struct rpc_cred *cred = sp->so_cred;
cred              344 fs/nfs/nfs4state.c 	put_rpccred(cred);
cred              937 fs/nfs/nfs4state.c 	struct rpc_cred *cred;
cred              950 fs/nfs/nfs4state.c 	cred = nfs4_get_renew_cred(clp);
cred              951 fs/nfs/nfs4state.c 	if (cred != NULL) {
cred              953 fs/nfs/nfs4state.c 		status = nfs4_proc_renew(clp, cred);
cred              954 fs/nfs/nfs4state.c 		put_rpccred(cred);
cred              970 fs/nfs/nfs4state.c 	cred = nfs4_get_setclientid_cred(clp);
cred              971 fs/nfs/nfs4state.c 	if (cred != NULL) {
cred              972 fs/nfs/nfs4state.c 		status = nfs4_init_client(clp, cred);
cred              973 fs/nfs/nfs4state.c 		put_rpccred(cred);
cred              975 fs/nfs/nfs4state.c 		if (status == -EACCES && cred == clp->cl_machine_cred) {
cred              249 fs/nfs/pagelist.c 	if (req->wb_context->cred != prev->wb_context->cred)
cred              475 fs/nfs/proc.c  		.rpc_cred	= cred,
cred              166 fs/nfs/read.c  		.rpc_cred = req->wb_context->cred,
cred              180 fs/nfs/read.c  	data->cred	  = msg.rpc_cred;
cred               24 fs/nfs/unlink.c 	struct rpc_cred	*cred;
cred               35 fs/nfs/unlink.c 	put_rpccred(data->cred);
cred              115 fs/nfs/unlink.c 		.rpc_cred = data->cred,
cred              238 fs/nfs/unlink.c 	data->cred = rpc_lookup_cred();
cred              239 fs/nfs/unlink.c 	if (IS_ERR(data->cred)) {
cred              240 fs/nfs/unlink.c 		status = PTR_ERR(data->cred);
cred              254 fs/nfs/unlink.c 	put_rpccred(data->cred);
cred              794 fs/nfs/write.c 		.rpc_cred = req->wb_context->cred,
cred              812 fs/nfs/write.c 	data->cred = msg.rpc_cred;
cred             1202 fs/nfs/write.c 		.rpc_cred = first->wb_context->cred,
cred             1221 fs/nfs/write.c 	data->cred	  = msg.rpc_cred;
cred               30 fs/nfsd/auth.c 	struct svc_cred	cred = rqstp->rq_cred;
cred               36 fs/nfsd/auth.c 		cred.cr_uid = exp->ex_anon_uid;
cred               37 fs/nfsd/auth.c 		cred.cr_gid = exp->ex_anon_gid;
cred               38 fs/nfsd/auth.c 		cred.cr_group_info = groups_alloc(0);
cred               41 fs/nfsd/auth.c 		if (!cred.cr_uid)
cred               42 fs/nfsd/auth.c 			cred.cr_uid = exp->ex_anon_uid;
cred               43 fs/nfsd/auth.c 		if (!cred.cr_gid)
cred               44 fs/nfsd/auth.c 			cred.cr_gid = exp->ex_anon_gid;
cred               45 fs/nfsd/auth.c 		gi = groups_alloc(cred.cr_group_info->ngroups);
cred               47 fs/nfsd/auth.c 			for (i = 0; i < cred.cr_group_info->ngroups; i++) {
cred               48 fs/nfsd/auth.c 				if (!GROUP_AT(cred.cr_group_info, i))
cred               51 fs/nfsd/auth.c 					GROUP_AT(gi, i) = GROUP_AT(cred.cr_group_info, i);
cred               53 fs/nfsd/auth.c 		cred.cr_group_info = gi;
cred               55 fs/nfsd/auth.c 		get_group_info(cred.cr_group_info);
cred               57 fs/nfsd/auth.c 	if (cred.cr_uid != (uid_t) -1)
cred               58 fs/nfsd/auth.c 		current->fsuid = cred.cr_uid;
cred               61 fs/nfsd/auth.c 	if (cred.cr_gid != (gid_t) -1)
cred               62 fs/nfsd/auth.c 		current->fsgid = cred.cr_gid;
cred               66 fs/nfsd/auth.c 	if (!cred.cr_group_info)
cred               68 fs/nfsd/auth.c 	ret = set_current_groups(cred.cr_group_info);
cred               69 fs/nfsd/auth.c 	put_group_info(cred.cr_group_info);
cred               70 fs/nfsd/auth.c 	if ((cred.cr_uid)) {
cred               30 fs/xfs/linux-2.6/xfs_cred.h extern struct cred *sys_cred;
cred               22 fs/xfs/linux-2.6/xfs_globals.h extern struct cred *sys_cred;
cred               27 fs/xfs/linux-2.6/xfs_vfs.h struct cred;
cred              108 fs/xfs/xfs_inode.h struct cred;
cred               55 fs/xfs/xfs_mount.h struct cred;
cred                4 fs/xfs/xfs_vfsops.h struct cred;
cred                5 fs/xfs/xfs_vnodeops.h struct cred;
cred               75 include/linux/nfs_fs.h 	struct rpc_cred *	cred;
cred               83 include/linux/nfs_fs.h 	struct rpc_cred *cred;
cred              376 include/linux/nfs_fs.h 		return nfs_file_open_context(file)->cred;
cred              744 include/linux/nfs_xdr.h 	struct rpc_cred		*cred;
cred              762 include/linux/nfs_xdr.h 	struct rpc_cred		*cred;
cred              160 include/linux/sunrpc/auth.h 	atomic_inc(&cred->cr_count);
cred              161 include/linux/sunrpc/auth.h 	return cred;
cred              123 net/sunrpc/auth.c 	hlist_del_rcu(&cred->cr_hash);
cred              125 net/sunrpc/auth.c 	clear_bit(RPCAUTH_CRED_HASHED, &cred->cr_flags);
cred              133 net/sunrpc/auth.c 	cache_lock = &cred->cr_auth->au_credcache->lock;
cred              135 net/sunrpc/auth.c 	if (atomic_read(&cred->cr_count) == 0)
cred              136 net/sunrpc/auth.c 		rpcauth_unhash_cred_locked(cred);
cred              166 net/sunrpc/auth.c 	struct rpc_cred *cred;
cred              169 net/sunrpc/auth.c 		cred = list_entry(head->next, struct rpc_cred, cr_lru);
cred              170 net/sunrpc/auth.c 		list_del_init(&cred->cr_lru);
cred              171 net/sunrpc/auth.c 		put_rpccred(cred);
cred              184 net/sunrpc/auth.c 	struct rpc_cred	*cred;
cred              192 net/sunrpc/auth.c 			cred = hlist_entry(head->first, struct rpc_cred, cr_hash);
cred              193 net/sunrpc/auth.c 			get_rpccred(cred);
cred              194 net/sunrpc/auth.c 			if (!list_empty(&cred->cr_lru)) {
cred              195 net/sunrpc/auth.c 				list_del(&cred->cr_lru);
cred              198 net/sunrpc/auth.c 			list_add_tail(&cred->cr_lru, &free);
cred              199 net/sunrpc/auth.c 			rpcauth_unhash_cred_locked(cred);
cred              233 net/sunrpc/auth.c 	struct rpc_cred *cred;
cred              237 net/sunrpc/auth.c 		cred = list_entry(cred_unused.next, struct rpc_cred, cr_lru);
cred              238 net/sunrpc/auth.c 		list_del_init(&cred->cr_lru);
cred              240 net/sunrpc/auth.c 		if (atomic_read(&cred->cr_count) != 0)
cred              243 net/sunrpc/auth.c 		if (time_in_range(cred->cr_expire, expired, jiffies) &&
cred              244 net/sunrpc/auth.c 		    test_bit(RPCAUTH_CRED_UPTODATE, &cred->cr_flags) != 0)
cred              246 net/sunrpc/auth.c 		cache_lock = &cred->cr_auth->au_credcache->lock;
cred              248 net/sunrpc/auth.c 		if (atomic_read(&cred->cr_count) == 0) {
cred              249 net/sunrpc/auth.c 			get_rpccred(cred);
cred              250 net/sunrpc/auth.c 			list_add_tail(&cred->cr_lru, free);
cred              251 net/sunrpc/auth.c 			rpcauth_unhash_cred_locked(cred);
cred              290 net/sunrpc/auth.c 	struct rpc_cred	*cred = NULL,
cred              305 net/sunrpc/auth.c 		cred = get_rpccred(entry);
cred              311 net/sunrpc/auth.c 	if (cred != NULL)
cred              316 net/sunrpc/auth.c 		cred = new;
cred              324 net/sunrpc/auth.c 		cred = get_rpccred(entry);
cred              327 net/sunrpc/auth.c 	if (cred == NULL) {
cred              328 net/sunrpc/auth.c 		cred = new;
cred              329 net/sunrpc/auth.c 		set_bit(RPCAUTH_CRED_HASHED, &cred->cr_flags);
cred              330 net/sunrpc/auth.c 		hlist_add_head_rcu(&cred->cr_hash, &cache->hashtable[nr]);
cred              335 net/sunrpc/auth.c 	if (test_bit(RPCAUTH_CRED_NEW, &cred->cr_flags)
cred              336 net/sunrpc/auth.c 			&& cred->cr_ops->cr_init != NULL
cred              338 net/sunrpc/auth.c 		int res = cred->cr_ops->cr_init(auth, cred);
cred              340 net/sunrpc/auth.c 			put_rpccred(cred);
cred              341 net/sunrpc/auth.c 			cred = ERR_PTR(res);
cred              346 net/sunrpc/auth.c 	return cred;
cred              372 net/sunrpc/auth.c 	INIT_HLIST_NODE(&cred->cr_hash);
cred              373 net/sunrpc/auth.c 	INIT_LIST_HEAD(&cred->cr_lru);
cred              374 net/sunrpc/auth.c 	atomic_set(&cred->cr_count, 1);
cred              375 net/sunrpc/auth.c 	cred->cr_auth = auth;
cred              376 net/sunrpc/auth.c 	cred->cr_ops = ops;
cred              377 net/sunrpc/auth.c 	cred->cr_expire = jiffies;
cred              379 net/sunrpc/auth.c 	cred->cr_magic = RPCAUTH_CRED_MAGIC;
cred              381 net/sunrpc/auth.c 	cred->cr_uid = acred->uid;
cred              388 net/sunrpc/auth.c 	task->tk_msg.rpc_cred = get_rpccred(cred);
cred              390 net/sunrpc/auth.c 			cred->cr_auth->au_ops->au_name, cred);
cred              431 net/sunrpc/auth.c 	if (cred != NULL)
cred              432 net/sunrpc/auth.c 		cred->cr_ops->crbind(task, cred);
cred              443 net/sunrpc/auth.c 	if (test_bit(RPCAUTH_CRED_HASHED, &cred->cr_flags) != 0)
cred              446 net/sunrpc/auth.c 	if (!atomic_dec_and_test(&cred->cr_count))
cred              450 net/sunrpc/auth.c 	if (!atomic_dec_and_lock(&cred->cr_count, &rpc_credcache_lock))
cred              452 net/sunrpc/auth.c 	if (!list_empty(&cred->cr_lru)) {
cred              454 net/sunrpc/auth.c 		list_del_init(&cred->cr_lru);
cred              456 net/sunrpc/auth.c 	if (test_bit(RPCAUTH_CRED_UPTODATE, &cred->cr_flags) == 0)
cred              457 net/sunrpc/auth.c 		rpcauth_unhash_cred(cred);
cred              458 net/sunrpc/auth.c 	else if (test_bit(RPCAUTH_CRED_HASHED, &cred->cr_flags) != 0) {
cred              459 net/sunrpc/auth.c 		cred->cr_expire = jiffies;
cred              460 net/sunrpc/auth.c 		list_add_tail(&cred->cr_lru, &cred_unused);
cred              467 net/sunrpc/auth.c 	cred->cr_ops->crdestroy(cred);
cred              474 net/sunrpc/auth.c 	struct rpc_cred	*cred = task->tk_msg.rpc_cred;
cred              477 net/sunrpc/auth.c 		task->tk_pid, cred->cr_auth->au_ops->au_name, cred);
cred              479 net/sunrpc/auth.c 	put_rpccred(cred);
cred              486 net/sunrpc/auth.c 	struct rpc_cred	*cred = task->tk_msg.rpc_cred;
cred              489 net/sunrpc/auth.c 		task->tk_pid, cred->cr_auth->au_ops->au_name, cred);
cred              491 net/sunrpc/auth.c 	return cred->cr_ops->crmarshal(task, p);
cred              497 net/sunrpc/auth.c 	struct rpc_cred	*cred = task->tk_msg.rpc_cred;
cred              500 net/sunrpc/auth.c 		task->tk_pid, cred->cr_auth->au_ops->au_name, cred);
cred              502 net/sunrpc/auth.c 	return cred->cr_ops->crvalidate(task, p);
cred              509 net/sunrpc/auth.c 	struct rpc_cred *cred = task->tk_msg.rpc_cred;
cred              512 net/sunrpc/auth.c 			task->tk_pid, cred->cr_ops->cr_name, cred);
cred              513 net/sunrpc/auth.c 	if (cred->cr_ops->crwrap_req)
cred              514 net/sunrpc/auth.c 		return cred->cr_ops->crwrap_req(task, encode, rqstp, data, obj);
cred              523 net/sunrpc/auth.c 	struct rpc_cred *cred = task->tk_msg.rpc_cred;
cred              526 net/sunrpc/auth.c 			task->tk_pid, cred->cr_ops->cr_name, cred);
cred              527 net/sunrpc/auth.c 	if (cred->cr_ops->crunwrap_resp)
cred              528 net/sunrpc/auth.c 		return cred->cr_ops->crunwrap_resp(task, decode, rqstp,
cred              537 net/sunrpc/auth.c 	struct rpc_cred	*cred = task->tk_msg.rpc_cred;
cred              541 net/sunrpc/auth.c 		task->tk_pid, cred->cr_auth->au_ops->au_name, cred);
cred              543 net/sunrpc/auth.c 	err = cred->cr_ops->crrefresh(task);
cred              552 net/sunrpc/auth.c 	struct rpc_cred *cred = task->tk_msg.rpc_cred;
cred              555 net/sunrpc/auth.c 		task->tk_pid, cred->cr_auth->au_ops->au_name, cred);
cred              556 net/sunrpc/auth.c 	if (cred)
cred              557 net/sunrpc/auth.c 		clear_bit(RPCAUTH_CRED_UPTODATE, &cred->cr_flags);
cred              563 net/sunrpc/auth.c 	struct rpc_cred *cred = task->tk_msg.rpc_cred;
cred              565 net/sunrpc/auth.c 	return cred == NULL ||
cred              566 net/sunrpc/auth.c 		test_bit(RPCAUTH_CRED_UPTODATE, &cred->cr_flags) != 0;
cred               61 net/sunrpc/auth_generic.c 	struct auth_cred *acred = &container_of(cred, struct generic_cred, gc_base)->acred;
cred              108 net/sunrpc/auth_generic.c 	struct generic_cred *gcred = container_of(cred, struct generic_cred, gc_base);
cred              119 net/sunrpc/auth_generic.c 	struct rpc_cred *cred = container_of(head, struct rpc_cred, cr_rcu);
cred              120 net/sunrpc/auth_generic.c 	generic_free_cred(cred);
cred              126 net/sunrpc/auth_generic.c 	call_rcu(&cred->cr_rcu, generic_free_cred_callback);
cred              135 net/sunrpc/auth_generic.c 	struct generic_cred *gcred = container_of(cred, struct generic_cred, gc_base);
cred              103 net/sunrpc/auth_gss/auth_gss.c 	struct gss_cred *gss_cred = container_of(cred, struct gss_cred, gc_base);
cred              105 net/sunrpc/auth_gss/auth_gss.c 	if (!test_bit(RPCAUTH_CRED_NEW, &cred->cr_flags))
cred              109 net/sunrpc/auth_gss/auth_gss.c 	set_bit(RPCAUTH_CRED_UPTODATE, &cred->cr_flags);
cred              111 net/sunrpc/auth_gss/auth_gss.c 	clear_bit(RPCAUTH_CRED_NEW, &cred->cr_flags);
cred              146 net/sunrpc/auth_gss/auth_gss.c 	struct gss_cred *gss_cred = container_of(cred, struct gss_cred, gc_base);
cred              348 net/sunrpc/auth_gss/auth_gss.c 	struct gss_cred *gss_cred = container_of(cred,
cred              351 net/sunrpc/auth_gss/auth_gss.c 	uid_t uid = cred->cr_uid;
cred              375 net/sunrpc/auth_gss/auth_gss.c 	struct rpc_cred *cred = task->tk_msg.rpc_cred;
cred              376 net/sunrpc/auth_gss/auth_gss.c 	struct gss_auth *gss_auth = container_of(cred->cr_auth,
cred              378 net/sunrpc/auth_gss/auth_gss.c 	struct gss_cred *gss_cred = container_of(cred,
cred              385 net/sunrpc/auth_gss/auth_gss.c 								cred->cr_uid);
cred              386 net/sunrpc/auth_gss/auth_gss.c 	gss_msg = gss_setup_upcall(task->tk_client, gss_auth, cred);
cred              410 net/sunrpc/auth_gss/auth_gss.c 			task->tk_pid, cred->cr_uid, err);
cred              418 net/sunrpc/auth_gss/auth_gss.c 	struct rpc_cred *cred = &gss_cred->gc_base;
cred              423 net/sunrpc/auth_gss/auth_gss.c 	dprintk("RPC:       gss_upcall for uid %u\n", cred->cr_uid);
cred              424 net/sunrpc/auth_gss/auth_gss.c 	gss_msg = gss_setup_upcall(gss_auth->client, gss_auth, cred);
cred              443 net/sunrpc/auth_gss/auth_gss.c 		gss_cred_set_ctx(cred, gss_msg->ctx);
cred              452 net/sunrpc/auth_gss/auth_gss.c 			cred->cr_uid, err);
cred              691 net/sunrpc/auth_gss/auth_gss.c 	struct gss_cred *gss_cred = container_of(cred, struct gss_cred, gc_base);
cred              692 net/sunrpc/auth_gss/auth_gss.c 	struct gss_auth *gss_auth = container_of(cred->cr_auth, struct gss_auth, rpc_auth);
cred              696 net/sunrpc/auth_gss/auth_gss.c 	    test_and_clear_bit(RPCAUTH_CRED_UPTODATE, &cred->cr_flags) == 0)
cred              700 net/sunrpc/auth_gss/auth_gss.c 	cred->cr_ops = &gss_nullops;
cred              704 net/sunrpc/auth_gss/auth_gss.c 	get_rpccred(cred);
cred              706 net/sunrpc/auth_gss/auth_gss.c 	task = rpc_call_null(gss_auth->client, cred, RPC_TASK_ASYNC|RPC_TASK_SOFT);
cred              710 net/sunrpc/auth_gss/auth_gss.c 	put_rpccred(cred);
cred              762 net/sunrpc/auth_gss/auth_gss.c 	struct gss_cred *gss_cred = container_of(cred, struct gss_cred, gc_base);
cred              763 net/sunrpc/auth_gss/auth_gss.c 	struct gss_auth *gss_auth = container_of(cred->cr_auth, struct gss_auth, rpc_auth);
cred              766 net/sunrpc/auth_gss/auth_gss.c 	if (gss_destroying_context(cred))
cred              769 net/sunrpc/auth_gss/auth_gss.c 	call_rcu(&cred->cr_rcu, gss_free_cred_callback);
cred              788 net/sunrpc/auth_gss/auth_gss.c 	struct gss_cred	*cred = NULL;
cred              794 net/sunrpc/auth_gss/auth_gss.c 	if (!(cred = kzalloc(sizeof(*cred), GFP_NOFS)))
cred              797 net/sunrpc/auth_gss/auth_gss.c 	rpcauth_init_cred(&cred->gc_base, acred, auth, &gss_credops);
cred              802 net/sunrpc/auth_gss/auth_gss.c 	cred->gc_base.cr_flags = 1UL << RPCAUTH_CRED_NEW;
cred              803 net/sunrpc/auth_gss/auth_gss.c 	cred->gc_service = gss_auth->service;
cred              804 net/sunrpc/auth_gss/auth_gss.c 	cred->gc_machine_cred = acred->machine_cred;
cred              806 net/sunrpc/auth_gss/auth_gss.c 	return &cred->gc_base;
cred              817 net/sunrpc/auth_gss/auth_gss.c 	struct gss_cred *gss_cred = container_of(cred,struct gss_cred, gc_base);
cred              851 net/sunrpc/auth_gss/auth_gss.c 	struct rpc_cred *cred = task->tk_msg.rpc_cred;
cred              852 net/sunrpc/auth_gss/auth_gss.c 	struct gss_cred	*gss_cred = container_of(cred, struct gss_cred,
cred              854 net/sunrpc/auth_gss/auth_gss.c 	struct gss_cl_ctx	*ctx = gss_cred_get_ctx(cred);
cred              891 net/sunrpc/auth_gss/auth_gss.c 		clear_bit(RPCAUTH_CRED_UPTODATE, &cred->cr_flags);
cred              931 net/sunrpc/auth_gss/auth_gss.c 	struct rpc_cred *cred = task->tk_msg.rpc_cred;
cred              934 net/sunrpc/auth_gss/auth_gss.c 	if (!test_bit(RPCAUTH_CRED_NEW, &cred->cr_flags) &&
cred              935 net/sunrpc/auth_gss/auth_gss.c 			!test_bit(RPCAUTH_CRED_UPTODATE, &cred->cr_flags)) {
cred              939 net/sunrpc/auth_gss/auth_gss.c 		cred = task->tk_msg.rpc_cred;
cred              942 net/sunrpc/auth_gss/auth_gss.c 	if (test_bit(RPCAUTH_CRED_NEW, &cred->cr_flags))
cred              958 net/sunrpc/auth_gss/auth_gss.c 	struct rpc_cred *cred = task->tk_msg.rpc_cred;
cred              959 net/sunrpc/auth_gss/auth_gss.c 	struct gss_cl_ctx *ctx = gss_cred_get_ctx(cred);
cred              983 net/sunrpc/auth_gss/auth_gss.c 		clear_bit(RPCAUTH_CRED_UPTODATE, &cred->cr_flags);
cred              991 net/sunrpc/auth_gss/auth_gss.c 	cred->cr_auth->au_verfsize = XDR_QUADLEN(len) + 2;
cred             1040 net/sunrpc/auth_gss/auth_gss.c 		clear_bit(RPCAUTH_CRED_UPTODATE, &cred->cr_flags);
cred             1139 net/sunrpc/auth_gss/auth_gss.c 		clear_bit(RPCAUTH_CRED_UPTODATE, &cred->cr_flags);
cred             1162 net/sunrpc/auth_gss/auth_gss.c 	struct rpc_cred *cred = task->tk_msg.rpc_cred;
cred             1163 net/sunrpc/auth_gss/auth_gss.c 	struct gss_cred	*gss_cred = container_of(cred, struct gss_cred,
cred             1165 net/sunrpc/auth_gss/auth_gss.c 	struct gss_cl_ctx *ctx = gss_cred_get_ctx(cred);
cred             1181 net/sunrpc/auth_gss/auth_gss.c 			status = gss_wrap_req_integ(cred, ctx, encode,
cred             1185 net/sunrpc/auth_gss/auth_gss.c 			status = gss_wrap_req_priv(cred, ctx, encode,
cred             1226 net/sunrpc/auth_gss/auth_gss.c 		clear_bit(RPCAUTH_CRED_UPTODATE, &cred->cr_flags);
cred             1251 net/sunrpc/auth_gss/auth_gss.c 		clear_bit(RPCAUTH_CRED_UPTODATE, &cred->cr_flags);
cred             1265 net/sunrpc/auth_gss/auth_gss.c 	struct rpc_cred *cred = task->tk_msg.rpc_cred;
cred             1266 net/sunrpc/auth_gss/auth_gss.c 	struct gss_cred *gss_cred = container_of(cred, struct gss_cred,
cred             1268 net/sunrpc/auth_gss/auth_gss.c 	struct gss_cl_ctx *ctx = gss_cred_get_ctx(cred);
cred             1280 net/sunrpc/auth_gss/auth_gss.c 			status = gss_unwrap_resp_integ(cred, ctx, rqstp, &p);
cred             1285 net/sunrpc/auth_gss/auth_gss.c 			status = gss_unwrap_resp_priv(cred, ctx, rqstp, &p);
cred             1291 net/sunrpc/auth_gss/auth_gss.c 	cred->cr_auth->au_rslack = cred->cr_auth->au_verfsize + (p - savedp)
cred              332 net/sunrpc/auth_gss/svcauth_gss.c 	struct svc_cred		cred;
cred              347 net/sunrpc/auth_gss/svcauth_gss.c 	if (rsci->cred.cr_group_info)
cred              348 net/sunrpc/auth_gss/svcauth_gss.c 		put_group_info(rsci->cred.cr_group_info);
cred              385 net/sunrpc/auth_gss/svcauth_gss.c 	new->cred.cr_group_info = NULL;
cred              398 net/sunrpc/auth_gss/svcauth_gss.c 	new->cred = tmp->cred;
cred              399 net/sunrpc/auth_gss/svcauth_gss.c 	tmp->cred.cr_group_info = NULL;
cred              443 net/sunrpc/auth_gss/svcauth_gss.c 	rv = get_int(&mesg, &rsci.cred.cr_uid);
cred              452 net/sunrpc/auth_gss/svcauth_gss.c 		if (get_int(&mesg, &rsci.cred.cr_gid))
cred              459 net/sunrpc/auth_gss/svcauth_gss.c 		rsci.cred.cr_group_info = groups_alloc(N);
cred              460 net/sunrpc/auth_gss/svcauth_gss.c 		if (rsci.cred.cr_group_info == NULL)
cred              469 net/sunrpc/auth_gss/svcauth_gss.c 			GROUP_AT(rsci.cred.cr_group_info, i) = gid;
cred             1140 net/sunrpc/auth_gss/svcauth_gss.c 		rqstp->rq_cred = rsci->cred;
cred             1141 net/sunrpc/auth_gss/svcauth_gss.c 		get_group_info(rsci->cred.cr_group_info);
cred               62 net/sunrpc/auth_unix.c 	struct unx_cred	*cred;
cred               69 net/sunrpc/auth_unix.c 	if (!(cred = kmalloc(sizeof(*cred), GFP_NOFS)))
cred               72 net/sunrpc/auth_unix.c 	rpcauth_init_cred(&cred->uc_base, acred, auth, &unix_credops);
cred               73 net/sunrpc/auth_unix.c 	cred->uc_base.cr_flags = 1UL << RPCAUTH_CRED_UPTODATE;
cred               80 net/sunrpc/auth_unix.c 	cred->uc_gid = acred->gid;
cred               82 net/sunrpc/auth_unix.c 		cred->uc_gids[i] = GROUP_AT(acred->group_info, i);
cred               84 net/sunrpc/auth_unix.c 		cred->uc_gids[i] = NOGROUP;
cred               86 net/sunrpc/auth_unix.c 	return &cred->uc_base;
cred              106 net/sunrpc/auth_unix.c 	call_rcu(&cred->cr_rcu, unx_free_cred_callback);
cred              117 net/sunrpc/auth_unix.c 	struct unx_cred	*cred = container_of(rcred, struct unx_cred, uc_base);
cred              122 net/sunrpc/auth_unix.c 	if (cred->uc_uid != acred->uid || cred->uc_gid != acred->gid)
cred              130 net/sunrpc/auth_unix.c 		if (cred->uc_gids[i] != GROUP_AT(acred->group_info, i))
cred              143 net/sunrpc/auth_unix.c 	struct unx_cred	*cred = container_of(task->tk_msg.rpc_cred, struct unx_cred, uc_base);
cred              156 net/sunrpc/auth_unix.c 	*p++ = htonl((u32) cred->uc_uid);
cred              157 net/sunrpc/auth_unix.c 	*p++ = htonl((u32) cred->uc_gid);
cred              159 net/sunrpc/auth_unix.c 	for (i = 0; i < 16 && cred->uc_gids[i] != (gid_t) NOGROUP; i++)
cred              160 net/sunrpc/auth_unix.c 		*p++ = htonl((u32) cred->uc_gids[i]);
cred             1521 net/sunrpc/clnt.c 		.rpc_cred = cred,
cred              734 net/sunrpc/svcauth_unix.c 	struct svc_cred	*cred = &rqstp->rq_cred;
cred              736 net/sunrpc/svcauth_unix.c 	cred->cr_group_info = NULL;
cred              754 net/sunrpc/svcauth_unix.c 	cred->cr_uid = (uid_t) -1;
cred              755 net/sunrpc/svcauth_unix.c 	cred->cr_gid = (gid_t) -1;
cred              756 net/sunrpc/svcauth_unix.c 	cred->cr_group_info = groups_alloc(0);
cred              757 net/sunrpc/svcauth_unix.c 	if (cred->cr_group_info == NULL)
cred              797 net/sunrpc/svcauth_unix.c 	struct svc_cred	*cred = &rqstp->rq_cred;
cred              801 net/sunrpc/svcauth_unix.c 	cred->cr_group_info = NULL;
cred              815 net/sunrpc/svcauth_unix.c 	cred->cr_uid = svc_getnl(argv);		/* uid */
cred              816 net/sunrpc/svcauth_unix.c 	cred->cr_gid = svc_getnl(argv);		/* gid */
cred              820 net/sunrpc/svcauth_unix.c 	if (unix_gid_find(cred->cr_uid, &cred->cr_group_info, rqstp)
cred              823 net/sunrpc/svcauth_unix.c 	if (cred->cr_group_info == NULL) {
cred              824 net/sunrpc/svcauth_unix.c 		cred->cr_group_info = groups_alloc(slen);
cred              825 net/sunrpc/svcauth_unix.c 		if (cred->cr_group_info == NULL)
cred              828 net/sunrpc/svcauth_unix.c 			GROUP_AT(cred->cr_group_info, i) = svc_getnl(argv);