Home
last modified time | relevance | path

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

/linux/fs/nfs/
H A Ddelegation.c45 static void __nfs_free_delegation(struct nfs_delegation *delegation) in __nfs_free_delegation() argument
47 put_cred(delegation->cred); in __nfs_free_delegation()
48 delegation->cred = NULL; in __nfs_free_delegation()
49 kfree_rcu(delegation, rcu); in __nfs_free_delegation()
53 struct nfs_delegation *delegation) in nfs_mark_delegation_revoked() argument
57 if (test_and_set_bit(NFS_DELEGATION_REVOKED, &delegation->flags)) in nfs_mark_delegation_revoked()
60 delegation->stateid.type = NFS4_INVALID_STATEID_TYPE; in nfs_mark_delegation_revoked()
62 if (!test_bit(NFS_DELEGATION_RETURNING, &delegation->flags)) in nfs_mark_delegation_revoked()
63 nfs_clear_verifier_delegated(delegation->inode); in nfs_mark_delegation_revoked()
66 if (!list_empty(&delegation->entry)) { in nfs_mark_delegation_revoked()
[all …]
H A 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) in nfs4_callback_getattr()
58 if ((delegation->type & FMODE_WRITE) == 0) { in nfs4_callback_getattr()
59 nfs_put_delegation(delegation); in nfs4_callback_getattr()
62 res->change_attr = delegation->change_attr; in nfs4_callback_getattr()
63 nfs_put_delegation(delegation); in nfs4_callback_getattr()
H A Dnfs4proc.c1552 struct nfs_delegation *delegation; in can_open_delegated() local
1555 delegation = nfs4_get_valid_delegation(inode); in can_open_delegated()
1556 if (!delegation) in can_open_delegated()
1558 if ((delegation->type & fmode) != fmode) in can_open_delegated()
1563 if (test_bit(NFS_DELEGATION_NEED_RECLAIM, &delegation->flags)) in can_open_delegated()
1568 nfs_mark_delegation_referenced(delegation); in can_open_delegated()
1571 nfs4_stateid_copy(stateid, &delegation->stateid); in can_open_delegated()
1579 nfs_put_delegation(delegation); in can_open_delegated()
1841 const nfs4_stateid *delegation, in update_open_stateid() argument
1870 if (delegation == NULL) in update_open_stateid()
[all …]
H A Dnfs4trace.h999 const struct nfs_delegation *delegation
1002 TP_ARGS(delegation),
1011 __entry->fhandle = nfs_fhandle_hash(NFS_FH(delegation->inode));
1012 __entry->fmode = delegation->type;
1013 __entry->flags = delegation->flags;
1025 const struct nfs_delegation *delegation \
1027 TP_ARGS(delegation))
H A Dnfs40proc.c49 if (rcu_access_pointer(NFS_I(state->inode)->delegation) != NULL) in nfs40_clear_delegation_stateid()
H A Dinode.c2551 nfsi->delegation = NULL; in nfs4_init_once()
H A Dnfs4xdr.c1553 encode_claim_delegate_cur(xdr, arg->name, &arg->u.delegation); in encode_open()
1559 encode_claim_delegate_cur_fh(xdr, &arg->u.delegation); in encode_open()
5366 return decode_delegation(xdr, &res->delegation); in decode_open()
/linux/include/uapi/linux/
H A Dfcntl.h88 struct delegation { struct
89 d_flagsdelegation global() argument
90 d_typedelegation global() argument
91 __paddelegation global() argument
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dfcntl.h88 struct delegation { struct
/linux/Documentation/ABI/testing/
H A Dsysfs-class-net-qmi20 through the delegation of the QMI protocol. Userspace
/linux/tools/testing/selftests/drivers/net/
H A Dshaper.py714 def delegation(cfg, nl_shaper) -> None: function
1360 delegation,
/linux/include/linux/
H A Dnfs_xdr.h498 nfs4_stateid delegation; /* CLAIM_DELEGATE_CUR */ member
524 struct nfs4_open_delegation delegation; member
/linux/arch/riscv/
H A DKconfig961 bool "Request firmware delegation of unaligned access exceptions"
965 Use SBI FWFT to request delegation of load address misaligned and
/linux/Documentation/bpf/
H A Dbpf_devel_QA.rst170 It is eventually up to the maintainers to do the delegation of