| /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 259 struct nfs_delegation *delegation; nfs_inode_reclaim_delegation() local 295 nfs_do_return_delegation(struct inode * inode,struct nfs_delegation * delegation,int issync) nfs_do_return_delegation() argument 312 nfs_delegation_grab_inode(struct nfs_delegation * delegation) nfs_delegation_grab_inode() argument 326 struct nfs_delegation *delegation; nfs_start_delegation_return() local 353 nfs_detach_delegations_locked(struct nfs_inode * nfsi,struct nfs_delegation * delegation,struct nfs_client * clp) nfs_detach_delegations_locked() argument 375 nfs_detach_delegation(struct nfs_inode * nfsi,struct nfs_delegation * delegation,struct nfs_server * server) nfs_detach_delegation() argument 392 nfs_update_delegation_cred(struct nfs_delegation * delegation,const struct cred * cred) nfs_update_delegation_cred() argument 405 nfs_update_inplace_delegation(struct nfs_server * server,struct nfs_delegation * delegation,const struct nfs_delegation * update) nfs_update_inplace_delegation() argument 441 struct nfs_delegation *delegation, *old_delegation; nfs_inode_set_delegation() local 551 nfs_end_delegation_return(struct inode * inode,struct nfs_delegation * delegation,bool issync) nfs_end_delegation_return() argument 600 struct nfs_delegation *delegation; nfs_return_one_delegation() local 691 nfs_delegation_add_lru(struct nfs_server * server,struct nfs_delegation * delegation) nfs_delegation_add_lru() argument 776 struct nfs_delegation *delegation; nfs_inode_evict_delegation() local 806 struct nfs_delegation *delegation; nfs4_inode_return_delegation() local 830 struct nfs_delegation *delegation; nfs4_inode_set_return_delegation_on_close() local 867 struct nfs_delegation *delegation; nfs4_inode_return_delegation_on_close() local 902 struct nfs_delegation *delegation; nfs4_inode_make_writeable() local 916 nfs_mark_return_if_closed_delegation(struct nfs_server * server,struct nfs_delegation * delegation) nfs_mark_return_if_closed_delegation() argument 937 struct nfs_delegation *delegation; nfs_server_mark_return_all_delegations() local 996 struct nfs_delegation *delegation; nfs_mark_return_unused_delegation_types() local 1021 struct nfs_delegation *delegation; nfs_revoke_delegation() local 1056 struct nfs_delegation *delegation; nfs_delegation_mark_returned() local 1162 struct nfs_delegation *delegation; nfs_async_inode_return_delegation() local 1189 struct nfs_delegation *delegation; nfs_delegation_find_inode_server() local 1245 struct nfs_delegation *delegation; nfs_delegation_mark_reclaim_server() local 1276 struct nfs_delegation *delegation; nfs_server_reap_unclaimed_delegations() local 1327 nfs_mark_test_expired_delegation(struct nfs_server * server,struct nfs_delegation * delegation) nfs_mark_test_expired_delegation() argument 1340 struct nfs_delegation *delegation; nfs_inode_mark_test_expired_delegation() local 1352 struct nfs_delegation *delegation; nfs_delegation_mark_test_expired_server() local 1406 struct nfs_delegation *delegation; nfs_server_reap_expired_delegations() local 1471 struct nfs_delegation *delegation; nfs_inode_find_delegation_state_and_recover() local 1519 struct nfs_delegation *delegation; nfs4_refresh_delegation_stateid() local 1552 struct nfs_delegation *delegation; nfs4_copy_delegation_stateid() local 1585 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" 1317 /* Want no delegation if we're using O_DIRECT */ in nfs4_map_atomic_open_share() 1538 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() 1555 /* Save the delegation stateid */ in can_open_delegated() 1557 nfs4_stateid_copy(stateid, &delegation in can_open_delegated() 1827 update_open_stateid(struct nfs4_state * state,const nfs4_stateid * open_stateid,const nfs4_stateid * delegation,fmode_t fmode) update_open_stateid() argument 1901 struct nfs_delegation *delegation; nfs4_return_incompatible_delegation() local 1955 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 2229 struct nfs_delegation *delegation; _nfs4_do_open_reclaim() local 2865 struct nfs_delegation *delegation; nfs41_check_delegation_stateid() local 6813 _nfs4_proc_delegreturn(struct inode * inode,const struct cred * cred,const nfs4_stateid * stateid,struct nfs_delegation * delegation,int issync) _nfs4_proc_delegreturn() argument 6902 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" 123 * If we're holding a write delegation, then check if we're required in nfs4_file_flush()
|
| H A D | nfs40client.c | 6 #include "delegation.h"
|
| /linux/fs/nfsd/ |
| H A D | state.h | 126 /* nn->deleg_lock protects sc_status for delegation stateids. 194 * Represents a delegation stateid. The nfs4_client holds references to these 195 * and they are put when it is being destroyed or when the delegation is 198 * o 1 reference as long as a delegation is still in force (taken when it's 205 * with that delegation without holding the cl_lock 207 * If the server attempts to recall a delegation and the client doesn't do so 208 * before a timeout, the server may also revoke the delegation. In that case, 218 struct list_head dl_recall_lru; /* delegation recalled */ 260 /* client delegation callback info */ 551 * REPLAY_ISIZE is sized for an OPEN response with delegation [all...] |
| H A D | nfs4state.c | 825 * Allocate a new open/delegation state counter. This is needed for 1046 * When we recall a delegation, we should be careful not to hand it 1050 * If a filehandle appear in either filter, a delegation is blocked. 1051 * When a delegation is recalled, the filehandle is stored in the "new" 1142 * delegation seqid's are never incremented. The 4.1 special in alloc_init_deleg() 1267 * nfs4_delegation_exists - Discover if this delegation already exists 1268 * @clp: a pointer to the nfs4_client we're granting a delegation to 1269 * @fp: a pointer to the nfs4_file we're granting a delegation on 1272 * On success: true iff an existing delegation is found 1295 * hash_delegation_locked - Add a delegation t [all...] |
| /linux/arch/riscv/kernel/ |
| H A D | traps_misaligned.c | 593 pr_crit("Misaligned trap delegation non homogeneous (expected delegated)"); in cpu_online_sbi_unaligned_setup() 609 pr_info("SBI misaligned access exception delegation ok\n"); in unaligned_access_init() 612 * the delegation is successful, then in unaligned_access_init() 641 * Either we successfully requested misaligned traps delegation for all in misaligned_traps_can_delegate()
|
| /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 | 136 * NFSv4 delegation 255 struct nfs_delegation __rcu *delegation; 308 #define NFS_INO_REVAL_FORCED BIT(6) /* force revalidation ignoring a delegation */ 343 #define NFS_INO_REQ_DIR_DELEG (13) /* Request a directory delegation */ 260 struct nfs_delegation __rcu *delegation; global() member
|
| H A D | iversion.h | 230 * delegation, it must increment the value itself. This function does that.
|
| /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 | 28 /* 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/testing/selftests/drivers/net/ |
| H A D | shaper.py | 287 def delegation(cfg, nl_shaper) -> None: function 473 delegation,
|
| /linux/include/uapi/linux/ |
| H A D | fcntl.h | 88 struct delegation { struct
|
| /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()
|
| H A D | inode.c | 1103 /* Setting delegation mount options requires privileges */ 1257 /* start out with no BPF token delegation enabled */
|
| /linux/security/apparmor/ |
| H A D | af_unix.c | 43 /* if !u->path.dentry socket is being shutdown - implicit delegation in unix_fs_perm() 44 * until obj delegation is supported in unix_fs_perm()
|
| /linux/fs/ceph/ |
| H A D | inode.c | 363 * specified, copy the frag delegation info to the caller if 420 * Process dirfrag (delegation) info from the mds. Include leaf 447 /* no delegation info needed. */ in ceph_fill_dirfrag() 468 /* find/add this frag to store mds delegation info */ in ceph_fill_dirfrag() 472 with bad/inaccurate delegation info */ in ceph_fill_dirfrag() 1400 /* update delegation info? */ in ceph_fill_inode()
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | gr_udc.c | 882 * delegation. 940 * delegation. 974 * delegation. 1106 status = 1; /* Positive status flags delegation */ in gr_ep0_setup()
|