Searched refs:delegation (Results 1 – 7 of 7) sorted by relevance
/fs/nfs/ |
D | delegation.c | 28 static void nfs_free_delegation(struct nfs_delegation *delegation) in nfs_free_delegation() argument 30 put_cred(delegation->cred); in nfs_free_delegation() 31 delegation->cred = NULL; in nfs_free_delegation() 32 kfree_rcu(delegation, rcu); in nfs_free_delegation() 40 void nfs_mark_delegation_referenced(struct nfs_delegation *delegation) in nfs_mark_delegation_referenced() argument 42 set_bit(NFS_DELEGATION_REFERENCED, &delegation->flags); in nfs_mark_delegation_referenced() 46 nfs4_is_valid_delegation(const struct nfs_delegation *delegation, in nfs4_is_valid_delegation() argument 49 if (delegation != NULL && (delegation->type & flags) == flags && in nfs4_is_valid_delegation() 50 !test_bit(NFS_DELEGATION_REVOKED, &delegation->flags) && in nfs4_is_valid_delegation() 51 !test_bit(NFS_DELEGATION_RETURNING, &delegation->flags)) in nfs4_is_valid_delegation() [all …]
|
D | callback_proc.c | 28 struct nfs_delegation *delegation; in nfs4_callback_getattr() local 52 delegation = rcu_dereference(nfsi->delegation); in nfs4_callback_getattr() 53 if (delegation == NULL || (delegation->type & FMODE_WRITE) == 0) in nfs4_callback_getattr() 56 res->change_attr = delegation->change_attr; in nfs4_callback_getattr()
|
D | nfs4proc.c | 1446 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated() argument 1449 if (delegation == NULL) in can_open_delegated() 1451 if ((delegation->type & fmode) != fmode) in can_open_delegated() 1458 if (!test_bit(NFS_DELEGATION_NEED_RECLAIM, &delegation->flags)) in can_open_delegated() 1464 nfs_mark_delegation_referenced(delegation); in can_open_delegated() 1731 const nfs4_stateid *delegation, in update_open_stateid() argument 1750 deleg_cur = rcu_dereference(nfsi->delegation); in update_open_stateid() 1755 if (rcu_dereference(nfsi->delegation) != deleg_cur || in update_open_stateid() 1760 if (delegation == NULL) in update_open_stateid() 1761 delegation = &deleg_cur->stateid; in update_open_stateid() [all …]
|
D | Makefile | 27 delegation.o nfs4idmap.o callback.o callback_xdr.o callback_proc.o \
|
D | delegation.h | 72 void nfs_mark_delegation_referenced(struct nfs_delegation *delegation);
|
D | inode.c | 2090 nfsi->delegation = NULL; in nfs4_init_once()
|
D | nfs4xdr.c | 1540 encode_claim_delegate_cur(xdr, arg->name, &arg->u.delegation); in encode_open() 1546 encode_claim_delegate_cur_fh(xdr, &arg->u.delegation); in encode_open() 5023 status = decode_delegation_stateid(xdr, &res->delegation); in decode_rw_delegation()
|