Home
last modified time | relevance | path

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

123

/linux-6.12.1/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
72 /* NFSv4 delegation-related procedures */
75 struct nfs_delegation *delegation, int issync);
82 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"
1361 /* Want no delegation if we're using O_DIRECT */ in nfs4_map_atomic_open_share()
1579 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated() argument
1582 if (delegation == NULL) in can_open_delegated()
1584 if ((delegation->type & fmode) != fmode) in can_open_delegated()
1591 if (!test_bit(NFS_DELEGATION_NEED_RECLAIM, &delegation->flags)) in can_open_delegated()
1597 nfs_mark_delegation_referenced(delegation); in can_open_delegated()
1851 const nfs4_stateid *delegation, in update_open_stateid() argument
1875 if (rcu_dereference(nfsi->delegation) != deleg_cur || in update_open_stateid()
1880 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.12.1/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.12.1/fs/nfsd/
Dstate.h104 /* state_lock protects sc_status for delegation stateids.
159 * Represents a delegation stateid. The nfs4_client holds references to these
160 * and they are put when it is being destroyed or when the delegation is
163 * o 1 reference as long as a delegation is still in force (taken when it's
170 * with that delegation without holding the cl_lock
172 * If the server attempts to recall a delegation and the client doesn't do so
173 * before a timeout, the server may also revoke the delegation. In that case,
183 struct list_head dl_recall_lru; /* delegation recalled */
199 /* client delegation callback info */
570 * on a file from a particular client.'od' stands for 'open & delegation'
Dnfs4state.c849 * Allocate a new open/delegation state counter. This is needed for
1073 * When we recall a delegation, we should be careful not to hand it
1077 * If a filehandle appear in either filter, a delegation is blocked.
1078 * When a delegation is recalled, the filehandle is stored in the "new"
1169 * delegation seqid's are never incremented. The 4.1 special in alloc_init_deleg()
1262 * nfs4_delegation_exists - Discover if this delegation already exists
1263 * @clp: a pointer to the nfs4_client we're granting a delegation to
1264 * @fp: a pointer to the nfs4_file we're granting a delegation on
1267 * On success: true iff an existing delegation is found
1289 * hash_delegation_locked - Add a delegation to the appropriate lists
[all …]
/linux-6.12.1/fs/
Dattr.c359 * If notify_change discovers a delegation in need of breaking,
361 * delegated_inode. The caller should then break the delegation and
362 * retry. Because breaking a delegation may take a long time, the
368 * the file open for write, as there can be no conflicting delegation in
493 * behalf of the holder of a write delegation. We want to avoid in notify_change()
494 * breaking the delegation in this case. in notify_change()
/linux-6.12.1/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()
840 /* before we mount BPF FS with token delegation, struct_ops skeleton in userns_obj_priv_implicit_token()
899 /* before we mount BPF FS with token delegation, struct_ops skeleton in userns_obj_priv_implicit_token_envvar()
919 /* even though we have BPF FS with delegation, it's not at default in userns_obj_priv_implicit_token_envvar()
/linux-6.12.1/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.12.1/Documentation/ABI/testing/
Dsysfs-class-net-qmi20 through the delegation of the QMI protocol. Userspace
/linux-6.12.1/sound/usb/
Dmixer.h28 /* optional connector delegation map */
/linux-6.12.1/include/linux/
Dnfs_fs.h117 * NFSv4 delegation
235 struct nfs_delegation __rcu *delegation; member
288 #define NFS_INO_REVAL_FORCED BIT(6) /* force revalidation ignoring a delegation */
Dcgroup-defs.h85 * Consider namespaces as delegation boundaries. If this flag is
134 CFTYPE_NS_DELEGATABLE = (1 << 2), /* writeable beyond delegation boundaries */
Diversion.h230 * delegation, it must increment the value itself. This function does that.
/linux-6.12.1/Documentation/admin-guide/
Dcgroup-v2.rst31 2-5. Delegation
32 2-5-1. Model of Delegation
33 2-5-2. Delegation Containment
181 Consider cgroup namespaces as delegation boundaries. This
185 Delegation section for details.
521 Delegation section in Basic Operations
524 Model of Delegation argument
543 The end results are equivalent for both delegation types. Once
556 Delegation Containment argument
588 destination cgroup C00 is above the points of delegation and U0 would
[all …]
/linux-6.12.1/kernel/bpf/
Dtoken.c159 return -ENOENT; /* no BPF token delegation is set up */ in bpf_token_create()
Dinode.c927 /* Setting delegation mount options requires privileges */ in bpf_parse_param()
1068 /* start out with no BPF token delegation enabled */ in bpf_init_fs_context()

123