Home
last modified time | relevance | path

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

123

/linux/fs/nfs/
H A 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 …]
H A 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);
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 == 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()
H A 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 …]
H A Dnfs4super.c11 #include "delegation.h"
66 /* If we are holding a delegation, return and free it */ in nfs4_evict_inode()
H A DMakefile28 delegation.o nfs4idmap.o callback.o callback_xdr.o callback_proc.o \
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 Dnfs4renewd.c50 #include "delegation.h"
H A Dnfs4_fs.h164 NFS_DELEGATED_STATE, /* Current stateid is delegation */
192 nfs4_stateid stateid; /* Current stateid: may be delegation */
H A 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
H A Dread.c31 #include "delegation.h"
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A 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>;
H A Dsifive,plic-1.0.0.yaml44 T-HEAD PLIC implementation requires setting a delegation bit to allow access
/linux/fs/
H A 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()
H A Dnamei.c4484 * If vfs_unlink discovers a delegation, it will return -EWOULDBLOCK and
4486 * should then break the delegation on that inode and retry. Because
4487 * breaking a delegation may take a long time, the caller should drop
4725 * @delegated_inode: returns inode needing a delegation break
4729 * If vfs_link discovers a delegation on the to-be-linked file in need
4731 * inode in delegated_inode. The caller should then break the delegation
4732 * and retry. Because breaking a delegation may take a long time, the
4906 * If vfs_rename discovers a delegation in need of breaking at either
4909 * break the delegation and retry. Because breaking a delegation may
/linux/tools/testing/selftests/bpf/prog_tests/
H A 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/fs/nfsd/
H A Dnfs4state.c842 * Allocate a new open/delegation state counter. This is needed for
1066 * When we recall a delegation, we should be careful not to hand it
1070 * If a filehandle appear in either filter, a delegation is blocked.
1071 * When a delegation is recalled, the filehandle is stored in the "new"
1162 * delegation seqid's are never incremented. The 4.1 special in alloc_init_deleg()
1254 * nfs4_delegation_exists - Discover if this delegation already exists
1255 * @clp: a pointer to the nfs4_client we're granting a delegation to
1256 * @fp: a pointer to the nfs4_file we're granting a delegation on
1259 * On success: true iff an existing delegation is found
1281 * hash_delegation_locked - Add a delegation to the appropriate lists
[all …]
/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/kernel/bpf/
H A Dtoken.c158 return -ENOENT; /* no BPF token delegation is set up */ in bpf_token_create()
H A 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()
/linux/include/linux/
H A Dcgroup-defs.h85 * Consider namespaces as delegation boundaries. If this flag is
134 CFTYPE_NS_DELEGATABLE = (1 << 2), /* writeable beyond delegation boundaries */
H A Diversion.h230 * delegation, it must increment the value itself. This function does that.
/linux/fs/ceph/
H A 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()
1325 /* update delegation info? */ in ceph_fill_inode()

123