Home
last modified time | relevance | path

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

/Linux-v5.10/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.c28 struct nfs_delegation *delegation; in nfs4_callback_getattr() local
50 delegation = nfs4_get_valid_delegation(inode); in nfs4_callback_getattr()
51 if (delegation == NULL || (delegation->type & FMODE_WRITE) == 0) in nfs4_callback_getattr()
54 res->change_attr = delegation->change_attr; in nfs4_callback_getattr()
Dnfs4proc.c1502 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated() argument
1505 if (delegation == NULL) in can_open_delegated()
1507 if ((delegation->type & fmode) != fmode) in can_open_delegated()
1514 if (!test_bit(NFS_DELEGATION_NEED_RECLAIM, &delegation->flags)) in can_open_delegated()
1520 nfs_mark_delegation_referenced(delegation); in can_open_delegated()
1773 const nfs4_stateid *delegation, in update_open_stateid() argument
1797 if (rcu_dereference(nfsi->delegation) != deleg_cur || in update_open_stateid()
1802 if (delegation == NULL) in update_open_stateid()
1803 delegation = &deleg_cur->stateid; in update_open_stateid()
1804 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.h75 void nfs_mark_delegation_referenced(struct nfs_delegation *delegation);
Dinode.c2126 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()
5052 status = decode_delegation_stateid(xdr, &res->delegation); in decode_rw_delegation()
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-class-net-qmi20 through the delegation of the QMI protocol. Userspace
/Linux-v5.10/include/linux/
Dnfs_fs.h180 struct nfs_delegation __rcu *delegation; member
Dnfs_xdr.h465 nfs4_stateid delegation; /* CLAIM_DELEGATE_CUR */ member
490 nfs4_stateid delegation; member
/Linux-v5.10/Documentation/admin-guide/
Dcgroup-v2.rst176 Consider cgroup namespaces as delegation boundaries. This
487 The end results are equivalent for both delegation types. Once
532 destination cgroup C00 is above the points of delegation and U0 would
2468 cgroup v1 had an ambiguously defined delegation model which got abused
2489 individual applications through the ill-defined delegation mechanism
2582 in the hierarchy. This makes subtree delegation impossible. Second,
2590 effective low, which makes delegation of subtrees possible. It also
/Linux-v5.10/Documentation/bpf/
Dbpf_devel_QA.rst141 It is eventually up to the maintainers to do the delegation of
/Linux-v5.10/Documentation/process/
Dmaintainer-pgp-guide.rst876 PGP incorporates a trust delegation mechanism known as the "Web of