/linux/fs/nfs/ |
H A D | delegation.c | 3 * linux/fs/nfs/delegation.c 7 * NFS file delegation management 24 #include "delegation.h" 40 static void __nfs_free_delegation(struct nfs_delegation *delegation) in __nfs_free_delegation() argument 42 put_cred(delegation->cred); in __nfs_free_delegation() 43 delegation->cred = NULL; in __nfs_free_delegation() 44 kfree_rcu(delegation, rcu); in __nfs_free_delegation() 48 struct nfs_delegation *delegation) in nfs_mark_delegation_revoked() argument 50 if (!test_and_set_bit(NFS_DELEGATION_REVOKED, &delegation->flags)) { in nfs_mark_delegation_revoked() 51 delegation->stateid.type = NFS4_INVALID_STATEID_TYPE; in nfs_mark_delegation_revoked() [all …]
|
H A D | delegation.h | 3 * linux/fs/nfs/delegation.h 14 * NFSv4 delegation 74 /* NFSv4 delegation-related procedures */ 77 struct nfs_delegation *delegation, int issync); 84 void nfs_mark_delegation_referenced(struct nfs_delegation *delegation);
|
H A D | nfs4proc.c | 60 #include "delegation.h" 1394 /* Want no delegation if we're using O_DIRECT */ in nfs4_map_atomic_open_share() 1612 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated() argument 1615 if (delegation == NULL) in can_open_delegated() 1617 if ((delegation->type & fmode) != fmode) in can_open_delegated() 1624 if (!test_bit(NFS_DELEGATION_NEED_RECLAIM, &delegation->flags)) in can_open_delegated() 1630 nfs_mark_delegation_referenced(delegation); in can_open_delegated() 1885 const nfs4_stateid *delegation, in update_open_stateid() argument 1909 if (rcu_dereference(nfsi->delegation) != deleg_cur || in update_open_stateid() 1914 if (delegation == NULL) in update_open_stateid() [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 | Makefile | 28 delegation.o nfs4idmap.o callback.o callback_xdr.o callback_proc.o \
|
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 | nfs4trace.h | 17 #include "delegation.h" 1004 const struct nfs_delegation *delegation 1007 TP_ARGS(delegation), 1016 __entry->fhandle = nfs_fhandle_hash(NFS_FH(delegation->inode)); 1017 __entry->fmode = delegation->type; 1018 __entry->flags = delegation->flags; 1030 const struct nfs_delegation *delegation \ 1032 TP_ARGS(delegation)) 1533 { NFS4_DELEGATION_STATEID_TYPE, "DELEGATION" }, \
|
H A D | nfs4renewd.c | 50 #include "delegation.h"
|
H A D | nfs4_fs.h | 163 NFS_DELEGATED_STATE, /* Current stateid is delegation */ 191 nfs4_stateid stateid; /* Current stateid: may be delegation */
|
H A D | dir.c | 44 #include "delegation.h" 1389 * 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 1468 * nfs_clear_verifier_delegated - clear the dir verifier delegation tag 1473 * while holding a delegation. 1474 * 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 | 126 /* state_lock protects sc_status for delegation stateids. 193 * Represents a delegation stateid. The nfs4_client holds references to these 194 * and they are put when it is being destroyed or when the delegation is 197 * o 1 reference as long as a delegation is still in force (taken when it's 204 * with that delegation without holding the cl_lock 206 * If the server attempts to recall a delegation and the client doesn't do so 207 * before a timeout, the server may also revoke the delegation. In that case, 217 struct list_head dl_recall_lru; /* delegation recalled */ 259 /* client delegation callback info */ 638 * on a file from a particular client.'od' stands for 'open & delegation'
|
H A D | nfs4state.c | 830 * Allocate a new open/delegation state counter. This is needed for 1051 * When we recall a delegation, we should be careful not to hand it 1055 * If a filehandle appear in either filter, a delegation is blocked. 1056 * When a delegation is recalled, the filehandle is stored in the "new" 1147 * delegation seqid's are never incremented. The 4.1 special in alloc_init_deleg() 1281 * nfs4_delegation_exists - Discover if this delegation already exists 1282 * @clp: a pointer to the nfs4_client we're granting a delegation to 1283 * @fp: a pointer to the nfs4_file we're granting a delegation on 1286 * On success: true iff an existing delegation is found 1308 * hash_delegation_locked - Add a delegation to the appropriate lists [all …]
|
/linux/fs/ |
H A D | attr.c | 399 * If notify_change discovers a delegation in need of breaking, 401 * delegated_inode. The caller should then break the delegation and 402 * retry. Because breaking a delegation may take a long time, the 408 * the file open for write, as there can be no conflicting delegation in 536 * behalf of the holder of a write delegation. We want to avoid in notify_change() 537 * breaking the delegation in this case. in notify_change()
|
/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 | 120 /* set up token delegation mount options */ in materialize_bpffs_fd() 318 /* ensure unprivileged child cannot set delegation options */ in child() 347 /* try to fspick() BPF FS and try to add some delegation options */ in child() 354 /* ensure unprivileged child cannot reconfigure to set delegation options */ in child() 924 /* before we mount BPF FS with token delegation, struct_ops skeleton in userns_obj_priv_implicit_token() 984 /* before we mount BPF FS with token delegation, struct_ops skeleton in userns_obj_priv_implicit_token_envvar() 1004 /* 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 | 28 /* optional connector delegation map */
|
/linux/include/linux/ |
H A D | nfs_fs.h | 135 * NFSv4 delegation 259 struct nfs_delegation __rcu *delegation; member 312 #define NFS_INO_REVAL_FORCED BIT(6) /* force revalidation ignoring a delegation */
|
H A D | cgroup-defs.h | 82 * Consider namespaces as delegation boundaries. If this flag is 137 CFTYPE_NS_DELEGATABLE = (1 << 2), /* writeable beyond delegation boundaries */
|
/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 187 Consider cgroup namespaces as delegation boundaries. This 191 Delegation section for details. 536 Delegation section in Basic Operations 539 Model of Delegation argument 558 The end results are equivalent for both delegation types. Once 571 Delegation Containment argument 603 destination cgroup C00 is above the points of delegation and U0 would [all …]
|
/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 | 927 /* Setting delegation mount options requires privileges */ in bpf_parse_param() 1068 /* start out with no BPF token delegation enabled */ in bpf_init_fs_context()
|
/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()
|