Home
last modified time | relevance | path

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

/Linux-v5.4/fs/nfs/
Ddelegation.c28 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 …]
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.c1436 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated() argument
1439 if (delegation == NULL) in can_open_delegated()
1441 if ((delegation->type & fmode) != fmode) in can_open_delegated()
1448 if (!test_bit(NFS_DELEGATION_NEED_RECLAIM, &delegation->flags)) in can_open_delegated()
1454 nfs_mark_delegation_referenced(delegation); in can_open_delegated()
1721 const nfs4_stateid *delegation, in update_open_stateid() argument
1740 deleg_cur = rcu_dereference(nfsi->delegation); in update_open_stateid()
1745 if (rcu_dereference(nfsi->delegation) != deleg_cur || in update_open_stateid()
1750 if (delegation == NULL) in update_open_stateid()
1751 delegation = &deleg_cur->stateid; in update_open_stateid()
[all …]
DMakefile27 delegation.o nfs4idmap.o callback.o callback_xdr.o callback_proc.o \
Ddelegation.h72 void nfs_mark_delegation_referenced(struct nfs_delegation *delegation);
Dinode.c2090 nfsi->delegation = NULL; in nfs4_init_once()
Dnfs4xdr.c1540 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()
/Linux-v5.4/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-v5.4/Documentation/ABI/testing/
Dsysfs-class-net-qmi20 through the delegation of the QMI protocol. Userspace
/Linux-v5.4/include/linux/
Dnfs_fs.h175 struct nfs_delegation __rcu *delegation; member
Dnfs_xdr.h463 nfs4_stateid delegation; /* CLAIM_DELEGATE_CUR */ member
488 nfs4_stateid delegation; member
/Linux-v5.4/Documentation/admin-guide/
Dcgroup-v2.rst174 Consider cgroup namespaces as delegation boundaries. This
474 The end results are equivalent for both delegation types. Once
519 destination cgroup C00 is above the points of delegation and U0 would
2370 cgroup v1 had an ambiguously defined delegation model which got abused
2391 individual applications through the ill-defined delegation mechanism
2484 in the hierarchy. This makes subtree delegation impossible. Second,
2492 effective low, which makes delegation of subtrees possible. It also
/Linux-v5.4/Documentation/bpf/
Dbpf_devel_QA.rst146 It is eventually up to the maintainers to do the delegation of
/Linux-v5.4/Documentation/process/
Dmaintainer-pgp-guide.rst876 PGP incorporates a trust delegation mechanism known as the "Web of