Lines Matching refs:cred
97 static int nfs4_do_setattr(struct inode *inode, const struct cred *cred,
103 const struct cred *cred,
107 const struct cred *);
109 const struct cred *, bool);
386 const struct cred *cred) in nfs4_test_and_free_stateid() argument
390 ops->test_and_free_expired(server, stateid, cred); in nfs4_test_and_free_stateid()
395 const struct cred *cred) in __nfs4_free_revoked_stateid() argument
398 nfs4_test_and_free_stateid(server, stateid, cred); in __nfs4_free_revoked_stateid()
403 const struct cred *cred) in nfs4_free_revoked_stateid() argument
408 __nfs4_free_revoked_stateid(server, &tmp, cred); in nfs4_free_revoked_stateid()
804 static void nfs4_probe_sequence(struct nfs_client *client, const struct cred *cred, in nfs4_probe_sequence() argument
807 struct rpc_task *task = _nfs41_proc_sequence(client, cred, slot, true); in nfs4_probe_sequence()
2643 static int nfs4_opendata_access(const struct cred *cred, in nfs4_opendata_access() argument
2670 cache.cred = cred; in nfs4_opendata_access()
2817 const struct cred *cred) in nfs40_test_and_free_expired_stateid() argument
2825 const struct cred *cred) in nfs41_test_and_free_expired_stateid() argument
2839 status = nfs41_test_stateid(server, stateid, cred); in nfs41_test_and_free_expired_stateid()
2850 nfs41_free_stateid(server, stateid, cred, true); in nfs41_test_and_free_expired_stateid()
2859 const struct cred *cred = NULL; in nfs41_check_delegation_stateid() local
2881 if (delegation->cred) in nfs41_check_delegation_stateid()
2882 cred = get_cred(delegation->cred); in nfs41_check_delegation_stateid()
2885 status = nfs41_test_and_free_expired_stateid(server, &stateid, cred); in nfs41_check_delegation_stateid()
2892 put_cred(cred); in nfs41_check_delegation_stateid()
2929 const struct cred *cred = lsp->ls_state->owner->so_cred; in nfs41_check_expired_locks() local
2939 cred); in nfs41_check_expired_locks()
2973 const struct cred *cred = state->owner->so_cred; in nfs41_check_open_stateid() local
2978 status = nfs41_test_and_free_expired_stateid(server, stateid, cred); in nfs41_check_open_stateid()
3146 const struct cred *cred = ctx->cred; in _nfs4_do_open() local
3157 sp = nfs4_get_state_owner(server, cred, GFP_KERNEL); in _nfs4_do_open()
3211 status = nfs4_do_setattr(state->inode, cred, in _nfs4_do_open()
3323 const struct cred *cred, in _nfs4_do_setattr() argument
3331 .rpc_cred = cred, in _nfs4_do_setattr()
3333 const struct cred *delegation_cred = NULL; in _nfs4_do_setattr()
3379 static int nfs4_do_setattr(struct inode *inode, const struct cred *cred, in nfs4_do_setattr() argument
3416 err = _nfs4_do_setattr(inode, &arg, &res, cred, ctx); in nfs4_do_setattr()
3983 const struct cred *cred; in _nfs4_discover_trunking() local
3989 cred = ops->get_state_renewal_cred(clp); in _nfs4_discover_trunking()
3990 if (cred == NULL) { in _nfs4_discover_trunking()
3991 cred = nfs4_get_clid_cred(clp); in _nfs4_discover_trunking()
3992 if (cred == NULL) in _nfs4_discover_trunking()
4007 cred); in _nfs4_discover_trunking()
4015 put_cred(cred); in _nfs4_discover_trunking()
4337 const struct cred *cred = NULL; in nfs4_proc_setattr() local
4362 cred = ctx->cred; in nfs4_proc_setattr()
4373 status = nfs4_do_setattr(inode, cred, fattr, sattr, ctx, NULL, label); in nfs4_proc_setattr()
4575 .rpc_cred = entry->cred, in _nfs4_proc_access()
5111 .rpc_cred = nr_arg->cred, in _nfs4_proc_readdir()
5744 static int nfs4_proc_async_renew(struct nfs_client *clp, const struct cred *cred, unsigned renew_fl… in nfs4_proc_async_renew() argument
5749 .rpc_cred = cred, in nfs4_proc_async_renew()
5768 static int nfs4_proc_renew(struct nfs_client *clp, const struct cred *cred) in nfs4_proc_renew() argument
5773 .rpc_cred = cred, in nfs4_proc_renew()
6406 unsigned short port, const struct cred *cred, in nfs4_proc_setclientid() argument
6419 .rpc_cred = cred, in nfs4_proc_setclientid()
6480 const struct cred *cred) in nfs4_proc_setclientid_confirm() argument
6485 .rpc_cred = cred, in nfs4_proc_setclientid_confirm()
6629 static int _nfs4_proc_delegreturn(struct inode *inode, const struct cred *cred, const nfs4_stateid … in _nfs4_proc_delegreturn() argument
6636 .rpc_cred = cred, in _nfs4_proc_delegreturn()
6675 cred); in _nfs4_proc_delegreturn()
6705 int nfs4_proc_delegreturn(struct inode *inode, const struct cred *cred, const nfs4_stateid *stateid… in nfs4_proc_delegreturn() argument
6711 err = _nfs4_proc_delegreturn(inode, cred, stateid, issync); in nfs4_proc_delegreturn()
6954 .rpc_cred = ctx->cred, in nfs4_do_unlck()
7985 struct page *page, const struct cred *cred) in _nfs40_proc_get_locations() argument
8008 .rpc_cred = cred, in _nfs40_proc_get_locations()
8042 struct page *page, const struct cred *cred) in _nfs41_proc_get_locations() argument
8062 .rpc_cred = cred, in _nfs41_proc_get_locations()
8101 struct page *page, const struct cred *cred) in nfs4_proc_get_locations() argument
8119 cred); in nfs4_proc_get_locations()
8134 static int _nfs40_proc_fsid_present(struct inode *inode, const struct cred *cred) in _nfs40_proc_fsid_present() argument
8151 .rpc_cred = cred, in _nfs40_proc_fsid_present()
8180 static int _nfs41_proc_fsid_present(struct inode *inode, const struct cred *cred) in _nfs41_proc_fsid_present() argument
8193 .rpc_cred = cred, in _nfs41_proc_fsid_present()
8227 int nfs4_proc_fsid_present(struct inode *inode, const struct cred *cred) in nfs4_proc_fsid_present() argument
8245 status = ops->fsid_present(inode, cred); in nfs4_proc_fsid_present()
8289 const struct cred *cred = NULL; in _nfs4_proc_secinfo() local
8295 cred = nfs4_get_clid_cred(clp); in _nfs4_proc_secinfo()
8296 msg.rpc_cred = cred; in _nfs4_proc_secinfo()
8307 put_cred(cred); in _nfs4_proc_secinfo()
8408 const struct cred *cred) in nfs4_proc_bind_one_conn_to_session() argument
8422 .rpc_cred = cred, in nfs4_proc_bind_one_conn_to_session()
8471 const struct cred *cred; member
8481 return nfs4_proc_bind_one_conn_to_session(clnt, xprt, p->clp, p->cred); in nfs4_proc_bind_conn_to_session_callback()
8484 int nfs4_proc_bind_conn_to_session(struct nfs_client *clp, const struct cred *cred) in nfs4_proc_bind_conn_to_session() argument
8488 .cred = cred, in nfs4_proc_bind_conn_to_session()
8650 nfs4_run_exchange_id(struct nfs_client *clp, const struct cred *cred, in nfs4_run_exchange_id() argument
8655 .rpc_cred = cred, in nfs4_run_exchange_id()
8748 static int _nfs4_proc_exchange_id(struct nfs_client *clp, const struct cred *cred, in _nfs4_proc_exchange_id() argument
8757 task = nfs4_run_exchange_id(clp, cred, sp4_how, NULL); in _nfs4_proc_exchange_id()
8819 int nfs4_proc_exchange_id(struct nfs_client *clp, const struct cred *cred) in nfs4_proc_exchange_id() argument
8827 status = _nfs4_proc_exchange_id(clp, cred, SP4_MACH_CRED); in nfs4_proc_exchange_id()
8833 return _nfs4_proc_exchange_id(clp, cred, SP4_NONE); in nfs4_proc_exchange_id()
8866 task = nfs4_run_exchange_id(adata->clp, adata->cred, sp4_how, xprt); in nfs4_test_session_trunk()
8883 const struct cred *cred) in _nfs4_proc_destroy_clientid() argument
8888 .rpc_cred = cred, in _nfs4_proc_destroy_clientid()
8902 const struct cred *cred) in nfs4_proc_destroy_clientid() argument
8908 ret = _nfs4_proc_destroy_clientid(clp, cred); in nfs4_proc_destroy_clientid()
8923 const struct cred *cred; in nfs4_destroy_clientid() local
8932 cred = nfs4_get_clid_cred(clp); in nfs4_destroy_clientid()
8933 ret = nfs4_proc_destroy_clientid(clp, cred); in nfs4_destroy_clientid()
8934 put_cred(cred); in nfs4_destroy_clientid()
9148 const struct cred *cred) in _nfs4_proc_create_session() argument
9163 .rpc_cred = cred, in _nfs4_proc_create_session()
9201 int nfs4_proc_create_session(struct nfs_client *clp, const struct cred *cred) in nfs4_proc_create_session() argument
9209 status = _nfs4_proc_create_session(clp, cred); in nfs4_proc_create_session()
9232 const struct cred *cred) in nfs4_proc_destroy_session() argument
9237 .rpc_cred = cred, in nfs4_proc_destroy_session()
9335 const struct cred *cred, in _nfs41_proc_sequence() argument
9342 .rpc_cred = cred, in _nfs41_proc_sequence()
9378 static int nfs41_proc_async_sequence(struct nfs_client *clp, const struct cred *cred, unsigned rene… in nfs41_proc_async_sequence() argument
9385 task = _nfs41_proc_sequence(clp, cred, NULL, false); in nfs41_proc_async_sequence()
9394 static int nfs4_proc_sequence(struct nfs_client *clp, const struct cred *cred) in nfs4_proc_sequence() argument
9399 task = _nfs41_proc_sequence(clp, cred, NULL, true); in nfs4_proc_sequence()
9491 const struct cred *cred) in nfs41_proc_reclaim_complete() argument
9496 .rpc_cred = cred, in nfs41_proc_reclaim_complete()
9667 .rpc_cred = lgp->cred, in nfs4_proc_layoutget()
9788 put_cred(lrp->cred); in nfs4_layoutreturn_release()
9806 .rpc_cred = lrp->cred, in nfs4_proc_layoutreturn()
9850 const struct cred *cred) in _nfs4_proc_getdeviceinfo() argument
9864 .rpc_cred = cred, in _nfs4_proc_getdeviceinfo()
9884 const struct cred *cred) in nfs4_proc_getdeviceinfo() argument
9891 _nfs4_proc_getdeviceinfo(server, pdev, cred), in nfs4_proc_getdeviceinfo()
9942 put_cred(data->cred); in nfs4_layoutcommit_release()
9960 .rpc_cred = data->cred, in nfs4_proc_layoutcommit()
10030 const struct cred *cred = NULL; in _nfs41_proc_secinfo_no_name() local
10036 cred = nfs4_get_clid_cred(server->nfs_client); in _nfs41_proc_secinfo_no_name()
10037 msg.rpc_cred = cred; in _nfs41_proc_secinfo_no_name()
10045 put_cred(cred); in _nfs41_proc_secinfo_no_name()
10160 const struct cred *cred) in _nfs41_test_stateid() argument
10171 .rpc_cred = cred, in _nfs41_test_stateid()
10221 const struct cred *cred) in nfs41_test_stateid() argument
10228 err = _nfs41_test_stateid(server, stateid, cred); in nfs41_test_stateid()
10285 const struct cred *cred, in nfs41_free_stateid() argument
10290 .rpc_cred = cred, in nfs41_free_stateid()
10326 const struct cred *cred = lsp->ls_state->owner->so_cred; in nfs41_free_lock_state() local
10328 nfs41_free_stateid(server, &lsp->ls_stateid, cred, false); in nfs41_free_lock_state()