Home
last modified time | relevance | path

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

/Linux-v5.15/fs/nfs/
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 …]
Dcallback_proc.c33 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()
Dnfs4proc.c1526 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated() argument
1529 if (delegation == NULL) in can_open_delegated()
1531 if ((delegation->type & fmode) != fmode) in can_open_delegated()
1538 if (!test_bit(NFS_DELEGATION_NEED_RECLAIM, &delegation->flags)) in can_open_delegated()
1544 nfs_mark_delegation_referenced(delegation); in can_open_delegated()
1797 const nfs4_stateid *delegation, in update_open_stateid() argument
1821 if (rcu_dereference(nfsi->delegation) != deleg_cur || in update_open_stateid()
1826 if (delegation == NULL) in update_open_stateid()
1827 delegation = &deleg_cur->stateid; in update_open_stateid()
1828 else if (!nfs4_stateid_match_other(&deleg_cur->stateid, delegation)) in update_open_stateid()
[all …]
DMakefile27 delegation.o nfs4idmap.o callback.o callback_xdr.o callback_proc.o \
Ddelegation.h76 void nfs_mark_delegation_referenced(struct nfs_delegation *delegation);
Dinode.c2249 nfsi->delegation = NULL; in nfs4_init_once()
Dnfs4xdr.c1549 encode_claim_delegate_cur(xdr, arg->name, &arg->u.delegation); in encode_open()
1555 encode_claim_delegate_cur_fh(xdr, &arg->u.delegation); in encode_open()
5102 status = decode_delegation_stateid(xdr, &res->delegation); in decode_rw_delegation()
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-class-net-qmi20 through the delegation of the QMI protocol. Userspace
/Linux-v5.15/include/linux/
Dnfs_fs.h191 struct nfs_delegation __rcu *delegation; member
Dnfs_xdr.h470 nfs4_stateid delegation; /* CLAIM_DELEGATE_CUR */ member
495 nfs4_stateid delegation; member
/Linux-v5.15/Documentation/admin-guide/
Dcgroup-v2.rst181 Consider cgroup namespaces as delegation boundaries. This
490 The end results are equivalent for both delegation types. Once
535 destination cgroup C00 is above the points of delegation and U0 would
2637 cgroup v1 had an ambiguously defined delegation model which got abused
2658 individual applications through the ill-defined delegation mechanism
2751 in the hierarchy. This makes subtree delegation impossible. Second,
2759 effective low, which makes delegation of subtrees possible. It also
/Linux-v5.15/Documentation/bpf/
Dbpf_devel_QA.rst141 It is eventually up to the maintainers to do the delegation of
/Linux-v5.15/Documentation/process/
Dmaintainer-pgp-guide.rst876 PGP incorporates a trust delegation mechanism known as the "Web of