| /kernel/linux/linux-6.6/fs/nfs/ |
| D | delegation.c | 3 * linux/fs/nfs/delegation.c 7 * NFS file delegation management 24 #include "delegation.h" 33 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() [all …]
|
| D | delegation.h | 3 * linux/fs/nfs/delegation.h 14 * NFSv4 delegation 68 /* NFSv4 delegation-related procedures */ 76 void nfs_mark_delegation_referenced(struct nfs_delegation *delegation);
|
| D | callback_proc.c | 20 #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() 101 /* Set up a helper thread to actually return the delegation */ in nfs4_callback_recall()
|
| D | nfs4proc.c | 60 #include "delegation.h" 1319 /* Want no delegation if we're using O_DIRECT */ in nfs4_map_atomic_open_share() 1530 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated() argument 1533 if (delegation == NULL) in can_open_delegated() 1535 if ((delegation->type & fmode) != fmode) in can_open_delegated() 1542 if (!test_bit(NFS_DELEGATION_NEED_RECLAIM, &delegation->flags)) in can_open_delegated() 1548 nfs_mark_delegation_referenced(delegation); in can_open_delegated() 1803 const nfs4_stateid *delegation, in update_open_stateid() argument 1827 if (rcu_dereference(nfsi->delegation) != deleg_cur || in update_open_stateid() 1832 if (delegation == NULL) in update_open_stateid() [all …]
|
| D | nfs4super.c | 11 #include "delegation.h" 66 /* If we are holding a delegation, return and free it */ in nfs4_evict_inode()
|
| D | Makefile | 27 delegation.o nfs4idmap.o callback.o callback_xdr.o callback_proc.o \
|
| D | nfs4file.c | 13 #include "delegation.h" 122 * If we're holding a write delegation, then check if we're required in nfs4_file_flush()
|
| /kernel/linux/linux-5.10/fs/nfs/ |
| D | delegation.c | 3 * linux/fs/nfs/delegation.c 7 * NFS file delegation management 24 #include "delegation.h" 33 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() [all …]
|
| D | delegation.h | 3 * linux/fs/nfs/delegation.h 14 * NFSv4 delegation 68 /* NFSv4 delegation-related procedures */ 76 void nfs_mark_delegation_referenced(struct nfs_delegation *delegation);
|
| D | callback_proc.c | 15 #include "delegation.h" 28 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() 96 /* Set up a helper thread to actually return the delegation */ in nfs4_callback_recall()
|
| D | nfs4proc.c | 60 #include "delegation.h" 1299 /* Want no delegation if we're using O_DIRECT */ in nfs4_map_atomic_open_share() 1521 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated() argument 1524 if (delegation == NULL) in can_open_delegated() 1526 if ((delegation->type & fmode) != fmode) in can_open_delegated() 1533 if (!test_bit(NFS_DELEGATION_NEED_RECLAIM, &delegation->flags)) in can_open_delegated() 1539 nfs_mark_delegation_referenced(delegation); in can_open_delegated() 1793 const nfs4_stateid *delegation, in update_open_stateid() argument 1817 if (rcu_dereference(nfsi->delegation) != deleg_cur || in update_open_stateid() 1822 if (delegation == NULL) in update_open_stateid() [all …]
|
| D | nfs4super.c | 11 #include "delegation.h" 66 /* If we are holding a delegation, return and free it */ in nfs4_evict_inode()
|
| D | Makefile | 27 delegation.o nfs4idmap.o callback.o callback_xdr.o callback_proc.o \
|
| /kernel/linux/linux-5.10/fs/nfsd/ |
| D | state.h | 121 * Represents a delegation stateid. The nfs4_client holds references to these 122 * and they are put when it is being destroyed or when the delegation is 125 * o 1 reference as long as a delegation is still in force (taken when it's 132 * with that delegation without holding the cl_lock 134 * If the server attempts to recall a delegation and the client doesn't do so 135 * before a timeout, the server may also revoke the delegation. In that case, 145 struct list_head dl_recall_lru; /* delegation recalled */ 157 /* client delegation callback info */ 492 * on a file from a particular client.'od' stands for 'open & delegation'
|
| /kernel/linux/linux-6.6/fs/nfsd/ |
| D | state.h | 121 * Represents a delegation stateid. The nfs4_client holds references to these 122 * and they are put when it is being destroyed or when the delegation is 125 * o 1 reference as long as a delegation is still in force (taken when it's 132 * with that delegation without holding the cl_lock 134 * If the server attempts to recall a delegation and the client doesn't do so 135 * before a timeout, the server may also revoke the delegation. In that case, 145 struct list_head dl_recall_lru; /* delegation recalled */ 158 /* client delegation callback info */ 527 * on a file from a particular client.'od' stands for 'open & delegation'
|
| D | nfs4state.c | 858 * Allocate a new open/delegation state counter. This is needed for 1088 * When we recall a delegation, we should be careful not to hand it 1092 * If a filehandle appear in either filter, a delegation is blocked. 1093 * When a delegation is recalled, the filehandle is stored in the "new" 1182 * delegation seqid's are never incremented. The 4.1 special in alloc_init_deleg() 1274 * nfs4_delegation_exists - Discover if this delegation already exists 1275 * @clp: a pointer to the nfs4_client we're granting a delegation to 1276 * @fp: a pointer to the nfs4_file we're granting a delegation on 1279 * On success: true iff an existing delegation is found 1301 * hash_delegation_locked - Add a delegation to the appropriate lists [all …]
|
| /kernel/linux/linux-5.10/fs/ |
| D | attr.c | 269 * If notify_change discovers a delegation in need of breaking, 271 * delegated_inode. The caller should then break the delegation and 272 * retry. Because breaking a delegation may take a long time, the 278 * the file open for write, as there can be no conflicting delegation in
|
| /kernel/linux/linux-6.6/fs/ |
| D | attr.c | 363 * If notify_change discovers a delegation in need of breaking, 365 * delegated_inode. The caller should then break the delegation and 366 * retry. Because breaking a delegation may take a long time, the 372 * the file open for write, as there can be no conflicting delegation in
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-class-net-qmi | 20 through the delegation of the QMI protocol. Userspace
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-class-net-qmi | 20 through the delegation of the QMI protocol. Userspace
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/ |
| D | cgroup-v2.rst | 29 2-5. Delegation 30 2-5-1. Model of Delegation 31 2-5-2. Delegation Containment 176 Consider cgroup namespaces as delegation boundaries. This 180 Delegation section for details. 467 Delegation section in Basic Operations 470 Model of Delegation argument 487 The end results are equivalent for both delegation types. Once 500 Delegation Containment argument 532 destination cgroup C00 is above the points of delegation and U0 would [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | nfs_fs.h | 100 * NFSv4 delegation 181 struct nfs_delegation __rcu *delegation; member 234 #define NFS_INO_REVAL_FORCED BIT(6) /* force revalidation ignoring a delegation */
|
| /kernel/linux/linux-6.6/sound/usb/ |
| D | mixer.h | 28 /* optional connector delegation map */
|
| /kernel/linux/linux-5.10/sound/usb/ |
| D | mixer.h | 28 /* optional connector delegation map */
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | nfs_fs.h | 117 * NFSv4 delegation 235 struct nfs_delegation __rcu *delegation; member 288 #define NFS_INO_REVAL_FORCED BIT(6) /* force revalidation ignoring a delegation */
|