Home
last modified time | relevance | path

Searched refs:fmode_t (Results 1 – 25 of 50) sorted by relevance

12

/linux/fs/nfs/
H A Ddelegation.h22 fmode_t type;
44 fmode_t type, const nfs4_stateid *stateid,
47 fmode_t type, const nfs4_stateid *stateid,
58 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags);
78 bool nfs4_copy_delegation_stateid(struct inode *inode, fmode_t flags, nfs4_stateid *dst, const stru…
84 int nfs4_have_delegation(struct inode *inode, fmode_t type, int flags);
85 int nfs4_check_delegation(struct inode *inode, fmode_t type);
H A Dnfs4_fs.h203 fmode_t state; /* State on the server (R,W, or RW) */
352 fmode_t fmode);
360 fmode_t fmode);
505 extern void nfs4_close_state(struct nfs4_state *, fmode_t);
506 extern void nfs4_close_sync(struct nfs4_state *, fmode_t);
507 extern void nfs4_state_set_mode_locked(struct nfs4_state *, fmode_t);
524 extern int nfs4_select_rw_stateid(struct nfs4_state *, fmode_t,
H A Ddelegation.c105 fmode_t type) in nfs4_is_valid_delegation()
128 static int nfs4_do_check_delegation(struct inode *inode, fmode_t type, in nfs4_do_check_delegation()
157 int nfs4_have_delegation(struct inode *inode, fmode_t type, int flags) in nfs4_have_delegation()
168 int nfs4_check_delegation(struct inode *inode, fmode_t type) in nfs4_check_delegation()
206 const nfs4_stateid *stateid, fmode_t type) in nfs_delegation_claim_opens()
256 fmode_t type, const nfs4_stateid *stateid, in nfs_inode_reclaim_delegation()
435 fmode_t type, const nfs4_stateid *stateid, in nfs_inode_set_delegation()
994 fmode_t flags) in nfs_mark_return_unused_delegation_types()
1006 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags) in nfs_expire_unused_delegation_types()
1548 bool nfs4_copy_delegation_stateid(struct inode *inode, fmode_t flags, in nfs4_copy_delegation_stateid()
H A Dinternal.h47 static inline fmode_t flags_to_mode(int flags) in flags_to_mode()
49 fmode_t res = (__force fmode_t)flags & FMODE_EXEC; in flags_to_mode()
470 const fmode_t);
486 const fmode_t mode) in nfs_local_open_fh()
H A Dnfs4state.c627 nfs4_state_set_mode_locked(struct nfs4_state *state, fmode_t fmode) in nfs4_state_set_mode_locked()
723 fmode_t fmode, gfp_t gfp_mask, int wait) in __nfs4_close()
727 fmode_t newstate; in __nfs4_close()
767 void nfs4_close_state(struct nfs4_state *state, fmode_t fmode) in nfs4_close_state()
772 void nfs4_close_sync(struct nfs4_state *state, fmode_t fmode) in nfs4_close_sync()
982 fmode_t fmode, const struct nfs_lock_context *l_ctx, in nfs4_select_rw_stateid()
H A Dnfs4proc.c1279 static fmode_t _nfs4_ctx_to_accessmode(const struct nfs_open_context *ctx) in _nfs4_ctx_to_accessmode()
1284 static fmode_t _nfs4_ctx_to_openmode(const struct nfs_open_context *ctx) in _nfs4_ctx_to_openmode()
1286 fmode_t ret = ctx->mode & (FMODE_READ|FMODE_WRITE); in _nfs4_ctx_to_openmode()
1292 nfs4_fmode_to_share_access(fmode_t fmode) in nfs4_fmode_to_share_access()
1311 fmode_t fmode, int openflags) in nfs4_map_atomic_open_share()
1361 struct nfs4_state_owner *sp, fmode_t fmode, int flags, in nfs4_opendata_alloc()
1490 fmode_t fmode) in nfs4_mode_match_open_stateid()
1504 static int can_open_cached(struct nfs4_state *state, fmode_t mode, in can_open_cached()
1535 static bool can_open_delegated(const struct inode *inode, fmode_t fmode, in can_open_delegated()
1569 static void update_open_stateflags(struct nfs4_state *state, fmode_t fmode) in update_open_stateflags()
[all …]
/linux/include/linux/
H A Dfs.h110 #define FMODE_READ ((__force fmode_t)(1 << 0))
112 #define FMODE_WRITE ((__force fmode_t)(1 << 1))
114 #define FMODE_LSEEK ((__force fmode_t)(1 << 2))
116 #define FMODE_PREAD ((__force fmode_t)(1 << 3))
118 #define FMODE_PWRITE ((__force fmode_t)(1 << 4))
120 #define FMODE_EXEC ((__force fmode_t)(1 << 5))
122 #define FMODE_WRITE_RESTRICTED ((__force fmode_t)(1 << 6))
124 #define FMODE_CAN_ATOMIC_WRITE ((__force fmode_t)(1 << 7))
129 #define FMODE_32BITHASH ((__force fmode_t)(1 << 9))
131 #define FMODE_64BITHASH ((__force fmode_t)(1 << 10))
[all …]
H A Dnfslocalio.h64 const fmode_t);
78 const fmode_t);
H A Danon_inodes.h22 void *priv, int flags, fmode_t f_mode);
H A Dposix-clock.h57 int (*open)(struct posix_clock_context *pccontext, fmode_t f_mode);
H A Dnfs_fs.h105 fmode_t mode;
468 …fs_open_context *nfs_find_open_context(struct inode *inode, const struct cred *cred, fmode_t mode);
469 extern struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode, struc…
H A Dtypes.h165 typedef unsigned int __bitwise fmode_t; typedef
H A Dnfs_xdr.h460 fmode_t type;
480 fmode_t fmode;
547 fmode_t fmode;
1653 fmode_t rw_mode;
1848 int (*have_delegation)(struct inode *, fmode_t, int);
/linux/fs/proc/
H A Dfd.c115 static bool tid_fd_mode(struct task_struct *task, unsigned fd, fmode_t *mode) in tid_fd_mode()
128 fmode_t f_mode) in tid_fd_update_inode()
158 fmode_t f_mode; in tid_fd_revalidate()
198 fmode_t mode;
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_libbpf_get_fd_by_id_opts.c27 int BPF_PROG(check_access, struct bpf_map *map, fmode_t fmode) in BPF_PROG()
/linux/drivers/ptp/
H A Dptp_private.h154 int ptp_open(struct posix_clock_context *pccontext, fmode_t fmode);
/linux/sound/oss/dmasound/
H A Ddmasound_core.c213 static fmode_t shared_resource_owner;
695 fmode_t mode)
704 static int sq_open2(struct sound_queue *sq, struct file *file, fmode_t mode, in sq_open2()
920 static int shared_resources_are_mine(fmode_t md) in shared_resources_are_mine()
H A Ddmasound.h127 int (*sq_open)(fmode_t); /* optional */
/linux/fs/nfsd/
H A Dlocalio.c50 const fmode_t fmode) in nfsd_open_local_fh()
/linux/fs/
H A Dfile.c1019 unsigned int fd, fmode_t mask) in __fget_files_rcu()
1095 fmode_t mask) in __fget_files()
1106 static inline struct file *__fget(unsigned int fd, fmode_t mask) in __fget()
1182 static inline struct fd __fget_light(unsigned int fd, fmode_t mask) in __fget_light()
H A Danon_inodes.c228 void *priv, int flags, fmode_t f_mode) in anon_inode_getfile_fmode()
/linux/sound/isa/msnd/
H A Dmsnd.h238 fmode_t mode;
/linux/fs/nfs_common/
H A Dnfslocalio.c269 const fmode_t fmode) in nfs_open_local_fh()
/linux/security/landlock/
H A Dsyscalls.c267 const fmode_t mode) in get_ruleset_from_fd()
/linux/Documentation/filesystems/
H A Dlocking.rst435 int (*open) (struct block_device *, fmode_t);
436 int (*release) (struct gendisk *, fmode_t);
437 int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
438 int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);

12