Home
last modified time | relevance | path

Searched refs:delegation (Results 1 – 13 of 13) 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.c1538 struct nfs_delegation *delegation; in can_open_delegated() local
1541 delegation = nfs4_get_valid_delegation(inode); in can_open_delegated()
1542 if (!delegation) in can_open_delegated()
1544 if ((delegation->type & fmode) != fmode) in can_open_delegated()
1549 if (test_bit(NFS_DELEGATION_NEED_RECLAIM, &delegation->flags)) in can_open_delegated()
1554 nfs_mark_delegation_referenced(delegation); in can_open_delegated()
1557 nfs4_stateid_copy(stateid, &delegation->stateid); in can_open_delegated()
1565 nfs_put_delegation(delegation); in can_open_delegated()
1827 const nfs4_stateid *delegation, in update_open_stateid() argument
1856 if (delegation == NULL) in update_open_stateid()
[all …]
H A Dnfs40proc.c49 if (rcu_access_pointer(NFS_I(state->inode)->delegation) != NULL) in nfs40_clear_delegation_stateid()
H A Dinode.c2552 nfsi->delegation = NULL; in nfs4_init_once()
/linux/include/linux/
H A Dfilelock.h163 int fcntl_setdeleg(unsigned int fd, struct file *filp, struct delegation *deleg);
164 int fcntl_getdeleg(struct file *filp, struct delegation *deleg);
291 static inline int fcntl_setdeleg(unsigned int fd, struct file *filp, struct delegation *deleg) in fcntl_setdeleg()
296 static inline int fcntl_getdeleg(struct file *filp, struct delegation *deleg) in fcntl_getdeleg()
H A Dnfs_fs.h259 struct nfs_delegation __rcu *delegation; member
/linux/include/uapi/linux/
H A Dfcntl.h88 struct delegation { struct
/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/fs/
H A Dfcntl.c448 struct delegation deleg; in do_fcntl()
H A Dlocks.c1799 int fcntl_getdeleg(struct file *filp, struct delegation *deleg) in fcntl_getdeleg()
2124 int fcntl_setdeleg(unsigned int fd, struct file *filp, struct delegation *deleg) in fcntl_setdeleg()
/linux/Documentation/bpf/
H A Dbpf_devel_QA.rst170 It is eventually up to the maintainers to do the delegation of