Home
last modified time | relevance | path

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

/Linux-v4.19/fs/nfs/
Ddelegation.c27 static void nfs_free_delegation(struct nfs_delegation *delegation) in nfs_free_delegation() argument
29 if (delegation->cred) { in nfs_free_delegation()
30 put_rpccred(delegation->cred); in nfs_free_delegation()
31 delegation->cred = NULL; in nfs_free_delegation()
33 kfree_rcu(delegation, rcu); in nfs_free_delegation()
41 void nfs_mark_delegation_referenced(struct nfs_delegation *delegation) in nfs_mark_delegation_referenced() argument
43 set_bit(NFS_DELEGATION_REFERENCED, &delegation->flags); in nfs_mark_delegation_referenced()
47 nfs4_is_valid_delegation(const struct nfs_delegation *delegation, in nfs4_is_valid_delegation() argument
50 if (delegation != NULL && (delegation->type & flags) == flags && in nfs4_is_valid_delegation()
51 !test_bit(NFS_DELEGATION_REVOKED, &delegation->flags) && in nfs4_is_valid_delegation()
[all …]
Dcallback_proc.c28 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()
Dnfs4proc.c1375 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated() argument
1378 if (delegation == NULL) in can_open_delegated()
1380 if ((delegation->type & fmode) != fmode) in can_open_delegated()
1382 if (test_bit(NFS_DELEGATION_RETURNING, &delegation->flags)) in can_open_delegated()
1389 if (!test_bit(NFS_DELEGATION_NEED_RECLAIM, &delegation->flags)) in can_open_delegated()
1395 nfs_mark_delegation_referenced(delegation); in can_open_delegated()
1650 const nfs4_stateid *delegation, in update_open_stateid() argument
1669 deleg_cur = rcu_dereference(nfsi->delegation); in update_open_stateid()
1674 if (rcu_dereference(nfsi->delegation) != deleg_cur || in update_open_stateid()
1679 if (delegation == NULL) in update_open_stateid()
[all …]
DMakefile26 delegation.o nfs4idmap.o callback.o callback_xdr.o callback_proc.o \
Ddelegation.h69 void nfs_mark_delegation_referenced(struct nfs_delegation *delegation);
Dinode.c2088 nfsi->delegation = NULL; in nfs4_init_once()
Dnfs4xdr.c1537 encode_claim_delegate_cur(xdr, arg->name, &arg->u.delegation); in encode_open()
1543 encode_claim_delegate_cur_fh(xdr, &arg->u.delegation); in encode_open()
5171 status = decode_delegation_stateid(xdr, &res->delegation); in decode_rw_delegation()
/Linux-v4.19/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 reacquire 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 reacquire the delegation before using
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-class-net-qmi20 through the delegation of the QMI protocol. Userspace
/Linux-v4.19/include/linux/
Dnfs_fs.h173 struct nfs_delegation __rcu *delegation; member
Dnfs_xdr.h428 nfs4_stateid delegation; /* CLAIM_DELEGATE_CUR */ member
453 nfs4_stateid delegation; member
/Linux-v4.19/Documentation/admin-guide/
Dcgroup-v2.rst172 Consider cgroup namespaces as delegation boundaries. This
463 The end results are equivalent for both delegation types. Once
508 destination cgroup C00 is above the points of delegation and U0 would
1969 cgroup v1 had an ambiguously defined delegation model which got abused
1990 individual applications through the ill-defined delegation mechanism
2083 in the hierarchy. This makes subtree delegation impossible. Second,
2091 which makes delegation of subtrees possible.
/Linux-v4.19/Documentation/bpf/
Dbpf_devel_QA.rst146 It is eventually up to the maintainers to do the delegation of
/Linux-v4.19/Documentation/process/
Dmaintainer-pgp-guide.rst873 PGP incorporates a trust delegation mechanism known as the "Web of