Home
last modified time | relevance | path

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

/linux/fs/nfs/
H A Ddelegation.c33 static void __nfs_free_delegation(struct nfs_delegation *delegation) in __nfs_free_delegation() argument
35 put_cred(delegation->cred); in __nfs_free_delegation()
36 delegation->cred = NULL; in __nfs_free_delegation()
37 kfree_rcu(delegation, rcu); in __nfs_free_delegation()
40 static void nfs_mark_delegation_revoked(struct nfs_delegation *delegation) in nfs_mark_delegation_revoked() argument
42 if (!test_and_set_bit(NFS_DELEGATION_REVOKED, &delegation->flags)) { in nfs_mark_delegation_revoked()
43 delegation->stateid.type = NFS4_INVALID_STATEID_TYPE; in nfs_mark_delegation_revoked()
45 if (!test_bit(NFS_DELEGATION_RETURNING, &delegation->flags)) in nfs_mark_delegation_revoked()
46 nfs_clear_verifier_delegated(delegation->inode); in nfs_mark_delegation_revoked()
50 static struct nfs_delegation *nfs_get_delegation(struct nfs_delegation *delegation) in nfs_get_delegation() argument
[all …]
H A Ddelegation.h76 struct nfs_delegation *delegation, int issync);
83 void nfs_mark_delegation_referenced(struct nfs_delegation *delegation);
H A Dcallback_proc.c20 #include "delegation.h"
33 struct nfs_delegation *delegation; in nfs4_callback_getattr() local
55 delegation = nfs4_get_valid_delegation(inode); in nfs4_callback_getattr()
56 if (delegation == NULL || (delegation->type & FMODE_WRITE) == 0) in nfs4_callback_getattr()
59 res->change_attr = delegation->change_attr; in nfs4_callback_getattr()
105 /* Set up a helper thread to actually return the delegation */ in nfs4_callback_recall()
H A Dnfs4proc.c1588 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated() argument
1591 if (delegation == NULL) in can_open_delegated()
1593 if ((delegation->type & fmode) != fmode) in can_open_delegated()
1600 if (!test_bit(NFS_DELEGATION_NEED_RECLAIM, &delegation->flags)) in can_open_delegated()
1606 nfs_mark_delegation_referenced(delegation); in can_open_delegated()
1860 const nfs4_stateid *delegation, in update_open_stateid() argument
1884 if (rcu_dereference(nfsi->delegation) != deleg_cur || in update_open_stateid()
1889 if (delegation == NULL) in update_open_stateid()
1890 delegation = &deleg_cur->stateid; in update_open_stateid()
1891 else if (!nfs4_stateid_match_other(&deleg_cur->stateid, delegation)) in update_open_stateid()
[all …]
H A DMakefile28 delegation.o nfs4idmap.o callback.o callback_xdr.o callback_proc.o \
H A Dinode.c47 #include "delegation.h"
2208 /* Save the delegation state before clearing cache_validity */ in nfs_update_inode()
2451 nfsi->delegation = NULL; in nfs4_init_once()
H A Dnfs4xdr.c1547 encode_claim_delegate_cur(xdr, arg->name, &arg->u.delegation); in encode_open()
1553 encode_claim_delegate_cur_fh(xdr, &arg->u.delegation); in encode_open()
5297 return decode_delegation(xdr, &res->delegation); in decode_open()
/linux/Documentation/ABI/testing/
H A Dsysfs-class-net-qmi20 through the delegation of the QMI protocol. Userspace
/linux/include/linux/
H A Dnfs_xdr.h486 nfs4_stateid delegation; /* CLAIM_DELEGATE_CUR */ member
512 struct nfs4_open_delegation delegation; member
/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst182 Consider cgroup namespaces as delegation boundaries. This
544 The end results are equivalent for both delegation types. Once
589 destination cgroup C00 is above the points of delegation and U0 would
3112 cgroup v1 had an ambiguously defined delegation model which got abused
3133 individual applications through the ill-defined delegation mechanism
3226 in the hierarchy. This makes subtree delegation impossible. Second,
3234 effective low, which makes delegation of subtrees possible. It also
/linux/Documentation/bpf/
H A Dbpf_devel_QA.rst170 It is eventually up to the maintainers to do the delegation of
/linux/Documentation/process/
H A Dmaintainer-pgp-guide.rst880 PGP incorporates a trust delegation mechanism known as the "Web of