| /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 in nfs_mark_delegation_revoked() 76 nfs_put_delegation(struct nfs_delegation * delegation) nfs_put_delegation() argument 87 nfs_mark_delegation_referenced(struct nfs_delegation * delegation) nfs_mark_delegation_referenced() argument 93 nfs_mark_return_delegation(struct nfs_server * server,struct nfs_delegation * delegation) nfs_mark_return_delegation() argument 104 nfs4_is_valid_delegation(const struct nfs_delegation * delegation,fmode_t type) nfs4_is_valid_delegation() argument 116 struct nfs_delegation *delegation; nfs4_get_valid_delegation() local 131 struct nfs_delegation *delegation; nfs4_do_check_delegation() local 266 struct nfs_delegation *delegation; nfs_inode_reclaim_delegation() local 302 nfs_do_return_delegation(struct inode * inode,struct nfs_delegation * delegation,int issync) nfs_do_return_delegation() argument 319 nfs_delegation_grab_inode(struct nfs_delegation * delegation) nfs_delegation_grab_inode() argument 333 struct nfs_delegation *delegation; nfs_start_delegation_return() local 360 nfs_detach_delegations_locked(struct nfs_inode * nfsi,struct nfs_delegation * delegation,struct nfs_client * clp) nfs_detach_delegations_locked() argument 382 nfs_detach_delegation(struct nfs_inode * nfsi,struct nfs_delegation * delegation,struct nfs_server * server) nfs_detach_delegation() argument 399 nfs_update_delegation_cred(struct nfs_delegation * delegation,const struct cred * cred) nfs_update_delegation_cred() argument 412 nfs_update_inplace_delegation(struct nfs_server * server,struct nfs_delegation * delegation,const struct nfs_delegation * update) nfs_update_inplace_delegation() argument 448 struct nfs_delegation *delegation, *old_delegation; nfs_inode_set_delegation() local 568 nfs_end_delegation_return(struct inode * inode,struct nfs_delegation * delegation,bool issync) nfs_end_delegation_return() argument 617 struct nfs_delegation *delegation; nfs_return_one_delegation() local 708 nfs_delegation_add_lru(struct nfs_server * server,struct nfs_delegation * delegation) nfs_delegation_add_lru() argument 793 struct nfs_delegation *delegation; nfs_inode_evict_delegation() local 823 struct nfs_delegation *delegation; nfs4_inode_return_delegation() local 847 struct nfs_delegation *delegation; nfs4_inode_set_return_delegation_on_close() local 884 struct nfs_delegation *delegation; nfs4_inode_return_delegation_on_close() local 919 struct nfs_delegation *delegation; nfs4_inode_make_writeable() local 933 nfs_mark_return_if_closed_delegation(struct nfs_server * server,struct nfs_delegation * delegation) nfs_mark_return_if_closed_delegation() argument 954 struct nfs_delegation *delegation; nfs_server_mark_return_all_delegations() local 1013 struct nfs_delegation *delegation; nfs_mark_return_unused_delegation_types() local 1038 struct nfs_delegation *delegation; nfs_revoke_delegation() local 1073 struct nfs_delegation *delegation; nfs_delegation_mark_returned() local 1179 struct nfs_delegation *delegation; nfs_async_inode_return_delegation() local 1206 struct nfs_delegation *delegation; nfs_delegation_find_inode_server() local 1262 struct nfs_delegation *delegation; nfs_delegation_mark_reclaim_server() local 1293 struct nfs_delegation *delegation; nfs_server_reap_unclaimed_delegations() local 1344 nfs_mark_test_expired_delegation(struct nfs_server * server,struct nfs_delegation * delegation) nfs_mark_test_expired_delegation() argument 1357 struct nfs_delegation *delegation; nfs_inode_mark_test_expired_delegation() local 1369 struct nfs_delegation *delegation; nfs_delegation_mark_test_expired_server() local 1423 struct nfs_delegation *delegation; nfs_server_reap_expired_delegations() local 1488 struct nfs_delegation *delegation; nfs_inode_find_delegation_state_and_recover() local 1536 struct nfs_delegation *delegation; nfs4_refresh_delegation_stateid() local 1569 struct nfs_delegation *delegation; nfs4_copy_delegation_stateid() local 1602 struct nfs_delegation *delegation; nfs4_delegation_flush_on_close() local [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 in can_open_delegated() 1841 update_open_stateid(struct nfs4_state * state,const nfs4_stateid * open_stateid,const nfs4_stateid * delegation,fmode_t fmode) update_open_stateid() argument 1915 struct nfs_delegation *delegation; nfs4_return_incompatible_delegation() local 1969 nfs4_process_delegation(struct inode * inode,const struct cred * cred,enum open_claim_type4 claim,const struct nfs4_open_delegation * delegation) nfs4_process_delegation() argument 2243 struct nfs_delegation *delegation; _nfs4_do_open_reclaim() local 2879 struct nfs_delegation *delegation; nfs41_check_delegation_stateid() local 6869 _nfs4_proc_delegreturn(struct inode * inode,const struct cred * cred,const nfs4_stateid * stateid,struct nfs_delegation * delegation,int issync) _nfs4_proc_delegreturn() argument 6958 nfs4_proc_delegreturn(struct inode * inode,const struct cred * cred,const nfs4_stateid * stateid,struct nfs_delegation * delegation,int issync) nfs4_proc_delegreturn() argument [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"
|
| /linux/fs/nfsd/ |
| H A D | lockd.c | 63 * delegation to an NLM lock request. Options are: in nlm_fopen() 65 * retry. When delegation is returned, client's lock retry in nlm_fopen() 72 * to callback when the delegation is returned but might in nlm_fopen()
|
| H A D | state.h | 149 * nn->deleg_lock protects sc_status for hashed delegation stateids. 262 * Represents a directory delegation. The callback is for handling CB_NOTIFYs. 280 * Represents a delegation stateid. The nfs4_client holds references to these 281 * and they are put when it is being destroyed or when the delegation is 284 * o 1 reference as long as a delegation is still in force (taken when it's 291 * with that delegation without holding the cl_lock 293 * If the server attempts to recall a delegation and the client doesn't do so 294 * before a timeout, the server may also revoke the delegation. In that case, 297 * no record of the delegation, so the object is destroyed rather than listed. 305 struct list_head dl_recall_lru; /* delegation recalle [all...] |
| H A D | nfs4state.c | 873 * Allocate a new open/delegation state counter. This is needed for 1179 * When we recall a delegation, we should be careful not to hand it 1183 * If a filehandle appear in either filter, a delegation is blocked. 1184 * When a delegation is recalled, the filehandle is stored in the "new" 1278 * delegation seqid's are never incremented. The 4.1 special in __alloc_init_deleg() 1479 * nfs4_delegation_exists - Discover if this delegation already exists in nfs4_delegation_exists() 1480 * @clp: a pointer to the nfs4_client we're granting a delegation to in nfs4_delegation_exists() 1481 * @fp: a pointer to the nfs4_file we're granting a delegation on in nfs4_delegation_exists() 1484 * On success: true iff an existing delegation is found in nfs4_delegation_exists() 1507 * hash_delegation_locked - Add a delegation t in hash_delegation_locked() [all...] |
| H A D | netns.h | 123 /* protects del_recall_lru and delegation hash/unhash; 251 /* delegation scan requests the reaper has not retired yet */
|
| /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/include/linux/ |
| H A D | nfs_fs.h | 137 * NFSv4 delegation 258 struct nfs_delegation __rcu *delegation; member 311 #define NFS_INO_REVAL_FORCED BIT(6) /* force revalidation ignoring a delegation */ 347 #define NFS_INO_REQ_DIR_DELEG (13) /* Request a directory delegation */
|
| /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 | 30 /* 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 an [all...] |
| /linux/tools/perf/trace/beauty/include/uapi/linux/ |
| H A D | fcntl.h | 88 struct delegation { struct
|
| /linux/tools/sched_ext/ |
| H A D | scx_qmap.h | 181 struct qmap_cmask idle_cids; /* idle state of all cids regardless of delegation */
|
| /linux/kernel/bpf/ |
| H A D | token.c | 158 return -ENOENT; /* no BPF token delegation is set up */ in bpf_token_create()
|
| /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()
|
| /linux/include/linux/sunrpc/xdrgen/ |
| H A D | nfs4_1.h | 265 * delegation caching of times
|