Home
last modified time | relevance | path

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

/linux-4.4.14/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.c26 struct nfs_delegation *delegation; in nfs4_callback_getattr() local
48 delegation = rcu_dereference(nfsi->delegation); in nfs4_callback_getattr()
49 if (delegation == NULL || (delegation->type & FMODE_WRITE) == 0) in nfs4_callback_getattr()
52 res->change_attr = delegation->change_attr; in nfs4_callback_getattr()
Ddelegation.h61 void nfs_mark_delegation_referenced(struct nfs_delegation *delegation);
Dnfs4proc.c1241 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated() argument
1244 if (delegation == NULL) in can_open_delegated()
1246 if ((delegation->type & fmode) != fmode) in can_open_delegated()
1248 if (test_bit(NFS_DELEGATION_RETURNING, &delegation->flags)) in can_open_delegated()
1255 if (!test_bit(NFS_DELEGATION_NEED_RECLAIM, &delegation->flags)) in can_open_delegated()
1260 nfs_mark_delegation_referenced(delegation); in can_open_delegated()
1401 …teid(struct nfs4_state *state, nfs4_stateid *open_stateid, nfs4_stateid *delegation, fmode_t fmode) in update_open_stateid() argument
1410 deleg_cur = rcu_dereference(nfsi->delegation); in update_open_stateid()
1415 if (rcu_dereference(nfsi->delegation) != deleg_cur || in update_open_stateid()
1420 if (delegation == NULL) in update_open_stateid()
[all …]
DMakefile25 delegation.o nfs4idmap.o callback.o callback_xdr.o callback_proc.o \
Dinode.c1909 nfsi->delegation = NULL; in nfs4_init_once()
Dnfs4xdr.c1516 encode_claim_delegate_cur(xdr, arg->name, &arg->u.delegation); in encode_open()
1522 encode_claim_delegate_cur_fh(xdr, &arg->u.delegation); in encode_open()
5019 status = decode_stateid(xdr, &res->delegation); in decode_rw_delegation()
/linux-4.4.14/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.4.14/include/linux/
Dnfs_fs.h182 struct nfs_delegation __rcu *delegation; member
Dnfs_xdr.h406 nfs4_stateid delegation; /* CLAIM_DELEGATE_CUR */ member
429 nfs4_stateid delegation; member
/linux-4.4.14/Documentation/cgroups/
Dunified-hierarchy.txt21 4-1. Model of delegation
250 4-1. Model of delegation
307 points of delegation and U0 would not have write access to its
524 are located in the hierarchy. This makes subtree delegation
532 ancestors are below their low boundaries, which makes delegation of