| /linux/fs/nfs/ |
| H A D | delegation.c | 3 * linux/fs/nfs/delegation.c 7 * NFS file delegation management 24 #include "delegation.h" 45 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() [all …]
|
| H A 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) 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() 110 /* Set up a helper thread to actually return the delegation */ in nfs4_callback_recall()
|
| H A D | nfs4proc.c | 60 #include "delegation.h" 1331 /* Want no delegation if we're using O_DIRECT */ in nfs4_map_atomic_open_share() 1552 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() 1569 /* Save the delegation stateid */ in can_open_delegated() 1571 nfs4_stateid_copy(stateid, &delegation->stateid); in can_open_delegated() [all …]
|
| H A D | nfs4super.c | 11 #include "delegation.h" 66 /* If we are holding a delegation, return and free it */ in nfs4_evict_inode()
|
| H A D | nfs40proc.c | 49 if (rcu_access_pointer(NFS_I(state->inode)->delegation) != NULL) in nfs40_clear_delegation_stateid() 55 /* NFSv4.0 doesn't allow for delegation recovery on open expire */ in nfs40_open_expired()
|
| H A D | nfs4file.c | 14 #include "delegation.h" 125 * If we're holding a write delegation, then check if we're required in nfs4_file_flush()
|
| H A D | nfs4trace.h | 17 #include "delegation.h" 999 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)) 1580 { NFS4_DELEGATION_STATEID_TYPE, "DELEGATION" }, \
|
| H A D | nfs40client.c | 6 #include "delegation.h"
|
| H A D | dir.c | 43 #include "delegation.h" 1388 * was revalidated while holding a delegation on its inode. 1453 * a delegation, we also tag the dentry as having been revalidated 1454 * while holding a delegation so that we know we don't have to 1511 * nfs_clear_verifier_delegated - clear the dir verifier delegation tag 1516 * while holding a delegation. 1517 * This function is intended for use when the delegation is being
|
| /linux/fs/nfsd/ |
| H A D | lockd.c | 62 * delegation to an NLM lock request. Options are: in nlm_fopen() 64 * retry. When delegation is returned, client's lock retry in nlm_fopen() 71 * to callback when the delegation is returned but might in nlm_fopen()
|
| H A D | state.h | 129 /* nn->deleg_lock protects sc_status for delegation stateids. 240 * Represents a directory delegation. The callback is for handling CB_NOTIFYs. 257 * Represents a delegation stateid. The nfs4_client holds references to these 258 * and they are put when it is being destroyed or when the delegation is 261 * o 1 reference as long as a delegation is still in force (taken when it's 268 * with that delegation without holding the cl_lock 270 * If the server attempts to recall a delegation and the client doesn't do so 271 * before a timeout, the server may also revoke the delegation. In that case, 281 struct list_head dl_recall_lru; /* delegation recalled */ 332 /* client delegation callback info */ [all …]
|
| H A D | nfs4state.c | 869 * Allocate a new open/delegation state counter. This is needed for 1171 * When we recall a delegation, we should be careful not to hand it 1175 * If a filehandle appear in either filter, a delegation is blocked. 1176 * When a delegation is recalled, the filehandle is stored in the "new" 1268 * delegation seqid's are never incremented. The 4.1 special in __alloc_init_deleg() 1459 * nfs4_delegation_exists - Discover if this delegation already exists 1460 * @clp: a pointer to the nfs4_client we're granting a delegation to 1461 * @fp: a pointer to the nfs4_file we're granting a delegation on 1464 * On success: true iff an existing delegation is found 1487 * hash_delegation_locked - Add a delegation to the appropriate lists [all …]
|
| H A D | netns.h | 123 /* protects del_recall_lru and delegation hash/unhash;
|
| /linux/fs/ |
| H A D | attr.c | 409 * If notify_change discovers a delegation in need of breaking, 411 * delegated_inode. The caller should then break the delegation and 412 * retry. Because breaking a delegation may take a long time, the 418 * the file open for write, as there can be no conflicting delegation in 546 * behalf of the holder of a write delegation. We want to avoid in notify_change() 547 * breaking the delegation in this case. in notify_change()
|
| /linux/Documentation/sunrpc/xdr/ |
| H A D | nfs4_1.x | 171 NFS4ERR_DIRDELEG_UNAVAIL=10084,/* delegation not avail. */ 172 NFS4ERR_REJECT_DELEG = 10085,/* cb rejected delegation */ 310 * attributes for the delegation times being 321 % * delegation caching of times
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | token.c | 126 /* set up token delegation mount options */ in materialize_bpffs_fd() 324 /* ensure unprivileged child cannot set delegation options */ in child() 353 /* try to fspick() BPF FS and try to add some delegation options */ in child() 360 /* ensure unprivileged child cannot reconfigure to set delegation options */ in child() 930 /* before we mount BPF FS with token delegation, struct_ops skeleton in userns_obj_priv_implicit_token() 990 /* before we mount BPF FS with token delegation, struct_ops skeleton in userns_obj_priv_implicit_token_envvar() 1010 /* even though we have BPF FS with delegation, it's not at default in userns_obj_priv_implicit_token_envvar()
|
| /linux/tools/perf/pmu-events/arch/riscv/thead/c900-legacy/ |
| H A D | microarch.json | 63 …any of the following:\n- CPU is M-mode and MIE == 0\n- CPU is S-mode and delegation and SIE == 0\n"
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-net-qmi | 20 through the delegation of the QMI protocol. Userspace
|
| /linux/sound/usb/ |
| H A D | mixer.h | 29 /* optional connector delegation map */
|
| /linux/Documentation/admin-guide/ |
| H A D | cgroup-v2.rst | 35 2-5. Delegation 36 2-5-1. Model of Delegation 37 2-5-2. Delegation Containment 188 Consider cgroup namespaces as delegation boundaries. This 192 Delegation section for details. 537 Delegation section in Basic Operations 540 Model of Delegation argument 559 The end results are equivalent for both delegation types. Once 572 Delegation Containment argument 604 destination cgroup C00 is above the points of delegation and U0 would [all …]
|
| /linux/tools/sched_ext/ |
| H A D | scx_qmap.h | 168 struct qmap_cmask idle_cids; /* idle state of all cids regardless of delegation */
|
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | fcntl.h | 88 struct delegation { struct
|
| /linux/kernel/bpf/ |
| H A D | token.c | 158 return -ENOENT; /* no BPF token delegation is set up */ in bpf_token_create()
|
| /linux/include/linux/sunrpc/xdrgen/ |
| H A D | nfs4_1.h | 265 * delegation caching of times
|
| /linux/security/apparmor/ |
| H A D | af_unix.c | 44 /* if !u->path.dentry socket is being shutdown - implicit delegation in unix_fs_perm() 45 * until obj delegation is supported in unix_fs_perm()
|