Home
last modified time | relevance | path

Searched refs:rpc_cred (Results 1 – 21 of 21) sorted by relevance

/linux-2.4.37.9/net/sunrpc/
Dauth.c88 rpcauth_crdestroy(struct rpc_cred *cred) in rpcauth_crdestroy()
104 void rpcauth_destroy_credlist(struct rpc_cred *head) in rpcauth_destroy_credlist()
106 struct rpc_cred *cred; in rpcauth_destroy_credlist()
121 struct rpc_cred **q, *cred, *free = NULL; in rpcauth_free_credcache()
147 struct rpc_cred **q, *cred, *free = NULL; in rpcauth_gc_credcache()
175 rpcauth_insert_credcache(struct rpc_auth *auth, struct rpc_cred *cred) in rpcauth_insert_credcache()
191 static struct rpc_cred *
194 struct rpc_cred **q, *cred = NULL; in rpcauth_lookup_credcache()
226 return (struct rpc_cred *) cred; in rpcauth_lookup_credcache()
233 rpcauth_remove_credcache(struct rpc_cred *cred) in rpcauth_remove_credcache()
[all …]
Dauth_unix.c18 struct rpc_cred uc_base;
64 static struct rpc_cred *
98 return (struct rpc_cred *) cred; in unx_create_cred()
101 struct rpc_cred *
120 return task->tk_msg.rpc_cred = (struct rpc_cred *) cred; in authunix_fake_cred()
124 unx_destroy_cred(struct rpc_cred *cred) in unx_destroy_cred()
135 unx_match(struct rpc_cred *rcred, int taskflags) in unx_match()
170 struct unx_cred *cred = (struct unx_cred *) task->tk_msg.rpc_cred; in unx_marshal()
212 task->tk_msg.rpc_cred->cr_flags |= RPCAUTH_CRED_UPTODATE; in unx_refresh()
Dauth_null.c50 static struct rpc_cred *
53 struct rpc_cred *cred; in nul_create_cred()
55 if (!(cred = (struct rpc_cred *) rpc_allocate(flags, sizeof(*cred)))) in nul_create_cred()
69 nul_destroy_cred(struct rpc_cred *cred) in nul_destroy_cred()
78 nul_match(struct rpc_cred *cred, int taskflags) in nul_match()
Dsched.c855 if (task->tk_msg.rpc_cred) in rpc_release_task()
Dclnt.c323 if (task->tk_msg.rpc_cred != NULL) { in rpc_call_setup()
/linux-2.4.37.9/include/linux/sunrpc/
Dauth.h25 struct rpc_cred { struct
26 struct rpc_cred * cr_next; /* linked list */ argument
52 struct rpc_cred * au_credcache[RPC_CREDCACHE_NR]; argument
77 struct rpc_cred * (*crcreate)(int);
81 void (*crdestroy)(struct rpc_cred *);
83 int (*crmatch)(struct rpc_cred *, int);
99 struct rpc_cred * rpcauth_lookupcred(struct rpc_auth *, int);
100 struct rpc_cred * rpcauth_bindcred(struct rpc_task *);
102 void put_rpccred(struct rpc_cred *);
105 struct rpc_cred *, int);
[all …]
Dsched.h30 struct rpc_cred * rpc_cred; /* Credentials */ member
/linux-2.4.37.9/include/linux/
Dnfs_page.h31 struct rpc_cred *wb_cred;
44 extern struct nfs_page *nfs_create_request(struct rpc_cred *, struct inode *,
Dnfs_xdr.h303 int (*read) (struct inode *, struct rpc_cred *,
307 int (*write) (struct inode *, struct rpc_cred *,
328 int (*readdir) (struct inode *, struct rpc_cred *,
Dnfs_fs.h166 static __inline__ struct rpc_cred *
169 struct rpc_cred *cred = NULL; in nfs_file_cred()
171 cred = (struct rpc_cred *)file->private_data; in nfs_file_cred()
Dnfs_fs_i.h77 struct rpc_cred *mm_cred;
/linux-2.4.37.9/fs/lockd/
Dclntproc.c254 msg.rpc_cred = nfs_file_cred(filp); in nlmclnt_call()
256 msg.rpc_cred = NULL; in nlmclnt_call()
340 msg.rpc_cred = NULL; in nlmsvc_async_call()
369 msg.rpc_cred = nfs_file_cred(file); in nlmclnt_async_call()
371 msg.rpc_cred = NULL; in nlmclnt_async_call()
/linux-2.4.37.9/fs/nfs/
Dunlink.c22 struct rpc_cred *cred;
103 msg.rpc_cred = data->cred; in nfs_async_unlink_init()
Ddirect.c69 msg.rpc_cred = nfs_file_cred(file); in nfs_direct_read_rpc()
98 msg.rpc_cred = get_rpccred(nfs_file_cred(file)); in nfs_direct_write_rpc()
102 put_rpccred(msg.rpc_cred); in nfs_direct_write_rpc()
Dproc.c121 nfs_proc_read(struct inode *inode, struct rpc_cred *cred, in nfs_proc_read()
143 nfs_proc_write(struct inode *inode, struct rpc_cred *cred, in nfs_proc_write()
337 nfs_proc_readdir(struct inode *dir, struct rpc_cred *cred, in nfs_proc_readdir()
Dread.c40 struct rpc_cred *cred;
89 struct rpc_cred *cred = NULL; in nfs_readpage_sync()
272 msg.rpc_cred = data->cred; in nfs_pagein_one()
Dpagelist.c69 nfs_create_request(struct rpc_cred *cred, struct inode *inode, in nfs_create_request()
280 struct rpc_cred *cred = req->wb_cred; in nfs_scan_forward()
Dinode.c149 struct rpc_cred *cred = NFS_I(inode)->mm_cred; in nfs_clear_inode()
833 nfs_set_mmcred(struct inode *inode, struct rpc_cred *cred) in nfs_set_mmcred()
835 struct rpc_cred **p = &NFS_I(inode)->mm_cred, in nfs_set_mmcred()
852 struct rpc_cred *cred; in nfs_open()
866 struct rpc_cred *cred; in nfs_release()
Dnfs3proc.c170 nfs3_proc_read(struct inode *inode, struct rpc_cred *cred, in nfs3_proc_read()
191 nfs3_proc_write(struct inode *inode, struct rpc_cred *cred, in nfs3_proc_write()
438 nfs3_proc_readdir(struct inode *dir, struct rpc_cred *cred, in nfs3_proc_readdir()
Dwrite.c74 struct rpc_cred *cred;
133 struct rpc_cred *cred = NULL; in nfs_writepage_sync()
763 struct rpc_cred *cred = nfs_file_cred(file); in nfs_flush_incompatible()
947 msg.rpc_cred = data->cred; in nfs_flush_one()
1176 msg.rpc_cred = data->cred; in nfs_commit_list()
Ddir.c103 struct rpc_cred *cred = nfs_file_cred(file); in nfs_readdir_filler()
306 struct rpc_cred *cred = nfs_file_cred(file); in uncached_readdir()