Home
last modified time | relevance | path

Searched full:delegation (Results 1 – 25 of 50) sorted by relevance

12

/linux/fs/nfs/
H A Ddelegation.c3 * 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 Dcallback_proc.c20 #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 Dnfs4proc.c60 #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->stateid); in can_open_delegated()
[all …]
H A Dnfs4super.c11 #include "delegation.h"
66 /* If we are holding a delegation, return and free it */ in nfs4_evict_inode()
H A Dnfs40proc.c49 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 Dnfs4file.c14 #include "delegation.h"
123 * If we're holding a write delegation, then check if we're required in nfs4_file_flush()
H A Dnfs40client.c6 #include "delegation.h"
H A Dnfs4state.c59 #include "delegation.h"
471 * return a delegation to the server. in nfs4_reset_state_owner()
995 /* returns true if delegation stateid found and copied */ in nfs4_select_rw_stateid()
1444 /* Guard against delegation returns and new lock/unlock calls */ in nfs4_reclaim_locks()
/linux/fs/nfsd/
H A Dstate.h126 /* nn->deleg_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 */
550 * REPLAY_ISIZE is sized for an OPEN response with delegation:
[all …]
/linux/arch/riscv/kernel/
H A Dtraps_misaligned.c593 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 Dtoken.c126 /* 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 Dnfs_fs.h136 * NFSv4 delegation
260 struct nfs_delegation __rcu *delegation; member
313 #define NFS_INO_REVAL_FORCED BIT(6) /* force revalidation ignoring a delegation */
348 #define NFS_INO_REQ_DIR_DELEG (13) /* Request a directory delegation */
H A Diversion.h230 * delegation, it must increment the value itself. This function does that.
/linux/tools/perf/pmu-events/arch/riscv/thead/c900-legacy/
H A Dmicroarch.json63 …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 Dsysfs-class-net-qmi20 through the delegation of the QMI protocol. Userspace
/linux/sound/usb/
H A Dmixer.h28 /* optional connector delegation map */
/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst35 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/include/uapi/linux/
H A Dfcntl.h88 struct delegation { struct
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dfcntl.h88 struct delegation { struct
/linux/kernel/bpf/
H A Dtoken.c158 return -ENOENT; /* no BPF token delegation is set up */ in bpf_token_create()
H A Dinode.c914 /* Setting delegation mount options requires privileges */ in bpf_parse_param()
1055 /* start out with no BPF token delegation enabled */ in bpf_init_fs_context()
/linux/security/apparmor/
H A Daf_unix.c43 /* 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 Dinode.c363 * 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()
1399 /* update delegation info? */ in ceph_fill_inode()
/linux/drivers/usb/gadget/udc/
H A Dgr_udc.c882 * delegation.
940 * delegation.
974 * delegation.
1106 status = 1; /* Positive status flags delegation */ in gr_ep0_setup()
/linux/fs/
H A Dnamei.c5456 * If vfs_unlink discovers a delegation, it will return -EWOULDBLOCK and
5458 * should then break the delegation on that inode and retry. Because
5459 * breaking a delegation may take a long time, the caller should drop
5704 * @delegated_inode: returns inode needing a delegation break
5708 * If vfs_link discovers a delegation on the to-be-linked file in need
5710 * inode in delegated_inode. The caller should then break the delegation
5711 * and retry. Because breaking a delegation may take a long time, the
5884 * If vfs_rename discovers a delegation in need of breaking at either
5887 * break the delegation and retry. Because breaking a delegation may

12