Home
last modified time | relevance | path

Searched refs:delegation (Results 1 – 12 of 12) sorted by relevance

/linux-4.1.27/fs/nfs/
Ddelegation.c25 static void nfs_free_delegation(struct nfs_delegation *delegation) in nfs_free_delegation() argument
27 if (delegation->cred) { in nfs_free_delegation()
28 put_rpccred(delegation->cred); in nfs_free_delegation()
29 delegation->cred = NULL; in nfs_free_delegation()
31 kfree_rcu(delegation, rcu); in nfs_free_delegation()
39 void nfs_mark_delegation_referenced(struct nfs_delegation *delegation) in nfs_mark_delegation_referenced() argument
41 set_bit(NFS_DELEGATION_REFERENCED, &delegation->flags); in nfs_mark_delegation_referenced()
47 struct nfs_delegation *delegation; in nfs4_do_check_delegation() local
52 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs4_do_check_delegation()
53 if (delegation != NULL && (delegation->type & flags) == flags && in nfs4_do_check_delegation()
[all …]
Dcallback_proc.c28 struct nfs_delegation *delegation; in nfs4_callback_getattr() local
47 delegation = rcu_dereference(nfsi->delegation); in nfs4_callback_getattr()
48 if (delegation == NULL || (delegation->type & FMODE_WRITE) == 0) in nfs4_callback_getattr()
51 res->change_attr = delegation->change_attr; in nfs4_callback_getattr()
Dcallback.h122 extern int nfs41_validate_delegation_stateid(struct nfs_delegation *delegation,
199 extern int nfs4_validate_delegation_stateid(struct nfs_delegation *delegation,
Dnfs4proc.c1149 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode) in can_open_delegated() argument
1151 if (delegation == NULL) in can_open_delegated()
1153 if ((delegation->type & fmode) != fmode) in can_open_delegated()
1155 if (test_bit(NFS_DELEGATION_NEED_RECLAIM, &delegation->flags)) in can_open_delegated()
1157 if (test_bit(NFS_DELEGATION_RETURNING, &delegation->flags)) in can_open_delegated()
1159 nfs_mark_delegation_referenced(delegation); in can_open_delegated()
1300 …teid(struct nfs4_state *state, nfs4_stateid *open_stateid, nfs4_stateid *delegation, fmode_t fmode) in update_open_stateid() argument
1309 deleg_cur = rcu_dereference(nfsi->delegation); in update_open_stateid()
1314 if (rcu_dereference(nfsi->delegation) != deleg_cur || in update_open_stateid()
1319 if (delegation == NULL) in update_open_stateid()
[all …]
Ddelegation.h61 void nfs_mark_delegation_referenced(struct nfs_delegation *delegation);
DMakefile25 delegation.o nfs4idmap.o callback.o callback_xdr.o callback_proc.o \
Dinode.c1895 nfsi->delegation = NULL; in nfs4_init_once()
Dnfs4xdr.c1501 encode_claim_delegate_cur(xdr, arg->name, &arg->u.delegation); in encode_open()
1507 encode_claim_delegate_cur_fh(xdr, &arg->u.delegation); in encode_open()
4933 status = decode_stateid(xdr, &res->delegation); in decode_rw_delegation()
/linux-4.1.27/Documentation/filesystems/nfs/
Dfault_injection.txt50 A delegation is used to assure the client that a file, or part of a file,
51 has not changed since the delegation was awarded. Clearing this list will
52 force the client to reaquire its delegation before accessing the file
57 access a file. This test will notify the client that its delegation has
58 been revoked, forcing the client to reaquire the delegation before using
/linux-4.1.27/include/linux/
Dnfs_fs.h182 struct nfs_delegation __rcu *delegation; member
Dnfs_xdr.h342 nfs4_stateid delegation; /* CLAIM_DELEGATE_CUR */ member
365 nfs4_stateid delegation; member
/linux-4.1.27/Documentation/cgroups/
Dunified-hierarchy.txt338 are located in the hierarchy. This makes subtree delegation
346 ancestors are below their low boundaries, which makes delegation of