Home
last modified time | relevance | path

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

123

/linux-6.14.4/fs/nfs/
Ddelegation.c3 * linux/fs/nfs/delegation.c
7 * NFS file delegation management
24 #include "delegation.h"
33 static void __nfs_free_delegation(struct nfs_delegation *delegation) in __nfs_free_delegation() argument
35 put_cred(delegation->cred); in __nfs_free_delegation()
36 delegation->cred = NULL; in __nfs_free_delegation()
37 kfree_rcu(delegation, rcu); in __nfs_free_delegation()
40 static void nfs_mark_delegation_revoked(struct nfs_delegation *delegation) in nfs_mark_delegation_revoked() argument
42 if (!test_and_set_bit(NFS_DELEGATION_REVOKED, &delegation->flags)) { in nfs_mark_delegation_revoked()
43 delegation->stateid.type = NFS4_INVALID_STATEID_TYPE; in nfs_mark_delegation_revoked()
[all …]
Ddelegation.h3 * linux/fs/nfs/delegation.h
14 * NFSv4 delegation
73 /* NFSv4 delegation-related procedures */
76 struct nfs_delegation *delegation, int issync);
83 void nfs_mark_delegation_referenced(struct nfs_delegation *delegation);
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 == NULL || (delegation->type & FMODE_WRITE) == 0) in nfs4_callback_getattr()
59 res->change_attr = delegation->change_attr; in nfs4_callback_getattr()
105 /* Set up a helper thread to actually return the delegation */ in nfs4_callback_recall()
Dnfs4proc.c60 #include "delegation.h"
1370 /* Want no delegation if we're using O_DIRECT */ in nfs4_map_atomic_open_share()
1588 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated() argument
1591 if (delegation == NULL) in can_open_delegated()
1593 if ((delegation->type & fmode) != fmode) in can_open_delegated()
1600 if (!test_bit(NFS_DELEGATION_NEED_RECLAIM, &delegation->flags)) in can_open_delegated()
1606 nfs_mark_delegation_referenced(delegation); in can_open_delegated()
1860 const nfs4_stateid *delegation, in update_open_stateid() argument
1884 if (rcu_dereference(nfsi->delegation) != deleg_cur || in update_open_stateid()
1889 if (delegation == NULL) in update_open_stateid()
[all …]
DMakefile28 delegation.o nfs4idmap.o callback.o callback_xdr.o callback_proc.o \
Dnfs4super.c11 #include "delegation.h"
66 /* If we are holding a delegation, return and free it */ in nfs4_evict_inode()
Dnfs4file.c14 #include "delegation.h"
123 * If we're holding a write delegation, then check if we're required in nfs4_file_flush()
Dnfs4renewd.c50 #include "delegation.h"
Dnfs4_fs.h164 NFS_DELEGATED_STATE, /* Current stateid is delegation */
192 nfs4_stateid stateid; /* Current stateid: may be delegation */
Ddir.c44 #include "delegation.h"
1387 * was revalidated while holding a delegation on its inode.
1451 * a delegation, we also tag the dentry as having been revalidated
1452 * while holding a delegation so that we know we don't have to
1466 * nfs_clear_verifier_delegated - clear the dir verifier delegation tag
1471 * while holding a delegation.
1472 * This function is intended for use when the delegation is being
/linux-6.14.4/Documentation/devicetree/bindings/interrupt-controller/
Driscv,aplic.yaml78 riscv,delegation:
88 A interrupt delegation list where each entry is a triple consisting
91 Firmware must configure interrupt delegation registers based on
92 interrupt delegation list.
95 riscv,delegation: [ "riscv,children" ]
127 riscv,delegation = <&aplic1 1 63>;
161 riscv,delegation = <&aplic3 1 63>;
Dsifive,plic-1.0.0.yaml44 T-HEAD PLIC implementation requires setting a delegation bit to allow access
/linux-6.14.4/fs/nfsd/
Dstate.h104 /* state_lock protects sc_status for delegation stateids.
175 * Represents a delegation stateid. The nfs4_client holds references to these
176 * and they are put when it is being destroyed or when the delegation is
179 * o 1 reference as long as a delegation is still in force (taken when it's
186 * with that delegation without holding the cl_lock
188 * If the server attempts to recall a delegation and the client doesn't do so
189 * before a timeout, the server may also revoke the delegation. In that case,
199 struct list_head dl_recall_lru; /* delegation recalled */
231 /* client delegation callback info */
610 * on a file from a particular client.'od' stands for 'open & delegation'
Dnfs4state.c842 * Allocate a new open/delegation state counter. This is needed for
1072 * When we recall a delegation, we should be careful not to hand it
1076 * If a filehandle appear in either filter, a delegation is blocked.
1077 * When a delegation is recalled, the filehandle is stored in the "new"
1168 * delegation seqid's are never incremented. The 4.1 special in alloc_init_deleg()
1260 * nfs4_delegation_exists - Discover if this delegation already exists
1261 * @clp: a pointer to the nfs4_client we're granting a delegation to
1262 * @fp: a pointer to the nfs4_file we're granting a delegation on
1265 * On success: true iff an existing delegation is found
1287 * hash_delegation_locked - Add a delegation to the appropriate lists
[all …]
/linux-6.14.4/fs/
Dattr.c291 * In the case of an update for a write delegation, we must respect in setattr_copy_mgtime()
408 * If notify_change discovers a delegation in need of breaking,
410 * delegated_inode. The caller should then break the delegation and
411 * retry. Because breaking a delegation may take a long time, the
417 * the file open for write, as there can be no conflicting delegation in
542 * behalf of the holder of a write delegation. We want to avoid in notify_change()
543 * breaking the delegation in this case. in notify_change()
/linux-6.14.4/Documentation/sunrpc/xdr/
Dnfs4_1.x147 * attributes for the delegation times being
158 % * delegation caching of times
/linux-6.14.4/tools/testing/selftests/bpf/prog_tests/
Dtoken.c119 /* set up token delegation mount options */ in materialize_bpffs_fd()
321 /* ensure unprivileged child cannot set delegation options */ in child()
344 /* try to fspick() BPF FS and try to add some delegation options */ in child()
351 /* ensure unprivileged child cannot reconfigure to set delegation options */ in child()
844 /* before we mount BPF FS with token delegation, struct_ops skeleton in userns_obj_priv_implicit_token()
904 /* before we mount BPF FS with token delegation, struct_ops skeleton in userns_obj_priv_implicit_token_envvar()
924 /* even though we have BPF FS with delegation, it's not at default in userns_obj_priv_implicit_token_envvar()
/linux-6.14.4/tools/perf/pmu-events/arch/riscv/thead/c900-legacy/
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-6.14.4/Documentation/ABI/testing/
Dsysfs-class-net-qmi20 through the delegation of the QMI protocol. Userspace
/linux-6.14.4/sound/usb/
Dmixer.h28 /* optional connector delegation map */
/linux-6.14.4/include/linux/
Dnfs_fs.h135 * NFSv4 delegation
253 struct nfs_delegation __rcu *delegation; member
306 #define NFS_INO_REVAL_FORCED BIT(6) /* force revalidation ignoring a delegation */
Dcgroup-defs.h82 * Consider namespaces as delegation boundaries. If this flag is
131 CFTYPE_NS_DELEGATABLE = (1 << 2), /* writeable beyond delegation boundaries */
/linux-6.14.4/Documentation/admin-guide/
Dcgroup-v2.rst31 2-5. Delegation
32 2-5-1. Model of Delegation
33 2-5-2. Delegation Containment
182 Consider cgroup namespaces as delegation boundaries. This
186 Delegation section for details.
522 Delegation section in Basic Operations
525 Model of Delegation argument
544 The end results are equivalent for both delegation types. Once
557 Delegation Containment argument
589 destination cgroup C00 is above the points of delegation and U0 would
[all …]
/linux-6.14.4/tools/testing/selftests/drivers/net/
Dshaper.py284 def delegation(cfg, nl_shaper) -> None: function
455 delegation,
/linux-6.14.4/kernel/bpf/
Dtoken.c158 return -ENOENT; /* no BPF token delegation is set up */ in bpf_token_create()

123