Home
last modified time | relevance | path

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

123

/linux-6.8/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
69 /* NFSv4 delegation-related procedures */
77 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()
101 /* Set up a helper thread to actually return the delegation */ in nfs4_callback_recall()
Dnfs4proc.c60 #include "delegation.h"
1340 /* Want no delegation if we're using O_DIRECT */ in nfs4_map_atomic_open_share()
1551 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated() argument
1554 if (delegation == NULL) in can_open_delegated()
1556 if ((delegation->type & fmode) != fmode) in can_open_delegated()
1563 if (!test_bit(NFS_DELEGATION_NEED_RECLAIM, &delegation->flags)) in can_open_delegated()
1569 nfs_mark_delegation_referenced(delegation); in can_open_delegated()
1823 const nfs4_stateid *delegation, in update_open_stateid() argument
1847 if (rcu_dereference(nfsi->delegation) != deleg_cur || in update_open_stateid()
1852 if (delegation == NULL) in update_open_stateid()
[all …]
Dnfs4super.c11 #include "delegation.h"
66 /* If we are holding a delegation, return and free it */ in nfs4_evict_inode()
DMakefile27 delegation.o nfs4idmap.o callback.o callback_xdr.o callback_proc.o \
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"
1385 * was revalidated while holding a delegation on its inode.
1449 * a delegation, we also tag the dentry as having been revalidated
1450 * while holding a delegation so that we know we don't have to
1464 * nfs_clear_verifier_delegated - clear the dir verifier delegation tag
1469 * while holding a delegation.
1470 * This function is intended for use when the delegation is being
/linux-6.8/fs/nfsd/
Dstate.h121 * Represents a delegation stateid. The nfs4_client holds references to these
122 * and they are put when it is being destroyed or when the delegation is
125 * o 1 reference as long as a delegation is still in force (taken when it's
132 * with that delegation without holding the cl_lock
134 * If the server attempts to recall a delegation and the client doesn't do so
135 * before a timeout, the server may also revoke the delegation. In that case,
145 struct list_head dl_recall_lru; /* delegation recalled */
158 /* client delegation callback info */
525 * on a file from a particular client.'od' stands for 'open & delegation'
Dnfs4state.c858 * Allocate a new open/delegation state counter. This is needed for
1082 * When we recall a delegation, we should be careful not to hand it
1086 * If a filehandle appear in either filter, a delegation is blocked.
1087 * When a delegation is recalled, the filehandle is stored in the "new"
1177 * delegation seqid's are never incremented. The 4.1 special in alloc_init_deleg()
1269 * nfs4_delegation_exists - Discover if this delegation already exists
1270 * @clp: a pointer to the nfs4_client we're granting a delegation to
1271 * @fp: a pointer to the nfs4_file we're granting a delegation on
1274 * On success: true iff an existing delegation is found
1296 * hash_delegation_locked - Add a delegation to the appropriate lists
[all …]
/linux-6.8/fs/
Dattr.c363 * If notify_change discovers a delegation in need of breaking,
365 * delegated_inode. The caller should then break the delegation and
366 * retry. Because breaking a delegation may take a long time, the
372 * the file open for write, as there can be no conflicting delegation in
Dnamei.c4299 * If vfs_unlink discovers a delegation, it will return -EWOULDBLOCK and
4301 * should then break the delegation on that inode and retry. Because
4302 * breaking a delegation may take a long time, the caller should drop
4540 * @delegated_inode: returns inode needing a delegation break
4544 * If vfs_link discovers a delegation on the to-be-linked file in need
4546 * inode in delegated_inode. The caller should then break the delegation
4547 * and retry. Because breaking a delegation may take a long time, the
4722 * If vfs_rename discovers a delegation in need of breaking at either
4725 * break the delegation and retry. Because breaking a delegation may
/linux-6.8/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.8/Documentation/ABI/testing/
Dsysfs-class-net-qmi20 through the delegation of the QMI protocol. Userspace
/linux-6.8/sound/usb/
Dmixer.h28 /* optional connector delegation map */
/linux-6.8/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.
514 Delegation section in Basic Operations
517 Model of Delegation argument
534 The end results are equivalent for both delegation types. Once
547 Delegation Containment argument
579 destination cgroup C00 is above the points of delegation and U0 would
[all …]
/linux-6.8/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
129 CFTYPE_NS_DELEGATABLE = (1 << 2), /* writeable beyond delegation boundaries */
Dfilelock.h9 #define FL_DELEG 4 /* NFSv4 delegation */
Diversion.h230 * delegation, it must increment the value itself. This function does that.
/linux-6.8/Documentation/devicetree/bindings/interrupt-controller/
Dsifive,plic-1.0.0.yaml44 T-HEAD PLIC implementation requires setting a delegation bit to allow access
/linux-6.8/fs/ceph/
Dinode.c317 * specified, copy the frag delegation info to the caller if
374 * Process dirfrag (delegation) info from the mds. Include leaf
401 /* no delegation info needed. */ in ceph_fill_dirfrag()
422 /* find/add this frag to store mds delegation info */ in ceph_fill_dirfrag()
426 with bad/inaccurate delegation info */ in ceph_fill_dirfrag()
1324 /* update delegation info? */ in ceph_fill_inode()
/linux-6.8/drivers/usb/gadget/udc/
Dgr_udc.c882 * delegation.
940 * delegation.
974 * delegation.
1106 status = 1; /* Positive status flags delegation */ in gr_ep0_setup()

123