Home
last modified time | relevance | path

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

12

/linux/include/linux/
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 Dtypes.h165 typedef unsigned int __bitwise fmode_t; typedef
H A Dnfs_xdr.h468 fmode_t type;
488 fmode_t fmode;
555 fmode_t fmode;
1663 fmode_t rw_mode;
1857 int (*have_delegation)(struct inode *, fmode_t, int);
/linux/fs/nfs/
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()
213 const nfs4_stateid *stateid, fmode_t type) in nfs_delegation_claim_opens()
263 fmode_t type, const nfs4_stateid *stateid, in nfs_inode_reclaim_delegation()
442 fmode_t type, const nfs4_stateid *stateid, in nfs_inode_set_delegation()
1011 fmode_t flags) in nfs_mark_return_unused_delegation_types()
1023 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags) in nfs_expire_unused_delegation_types()
1565 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()
477 const fmode_t);
493 const fmode_t mode) in nfs_local_open_fh()
H A Dnfs4state.c653 nfs4_state_set_mode_locked(struct nfs4_state *state, fmode_t fmode) in nfs4_state_set_mode_locked()
749 fmode_t fmode, gfp_t gfp_mask, int wait) in __nfs4_close()
753 fmode_t newstate; in __nfs4_close()
793 void nfs4_close_state(struct nfs4_state *state, fmode_t fmode) in nfs4_close_state()
798 void nfs4_close_sync(struct nfs4_state *state, fmode_t fmode) in nfs4_close_sync()
1008 fmode_t fmode, const struct nfs_lock_context *l_ctx, in nfs4_select_rw_stateid()
H A Dnfs4proc.c1293 static fmode_t _nfs4_ctx_to_accessmode(const struct nfs_open_context *ctx) in _nfs4_ctx_to_accessmode()
1298 static fmode_t _nfs4_ctx_to_openmode(const struct nfs_open_context *ctx) in _nfs4_ctx_to_openmode()
1300 fmode_t ret = ctx->mode & (FMODE_READ|FMODE_WRITE); in _nfs4_ctx_to_openmode()
1306 nfs4_fmode_to_share_access(fmode_t fmode) in nfs4_fmode_to_share_access()
1325 fmode_t fmode, int openflags) in nfs4_map_atomic_open_share()
1375 struct nfs4_state_owner *sp, fmode_t fmode, int flags, in nfs4_opendata_alloc()
1504 fmode_t fmode) in nfs4_mode_match_open_stateid()
1518 static int can_open_cached(struct nfs4_state *state, fmode_t mode, in can_open_cached()
1549 static bool can_open_delegated(const struct inode *inode, fmode_t fmode, in can_open_delegated()
1583 static void update_open_stateflags(struct nfs4_state *state, fmode_t fmode) in update_open_stateflags()
[all …]
H A Dlocalio.c240 const fmode_t mode) in __nfs_local_open_fh()
272 const fmode_t mode) in nfs_local_open_fh()
H A Dcallback_proc.c616 fmode_t flags = 0; in nfs4_callback_recallany()
H A Dinode.c1196 fmode_t f_mode, in alloc_nfs_open_context()
1299 …nfs_open_context *nfs_find_open_context(struct inode *inode, const struct cred *cred, fmode_t mode) in nfs_find_open_context()
H A Dnfs4trace.h950 fmode_t fmode
981 fmode_t fmode \
/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/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 */
H A Ddmasound_atari.c147 static int AtaSqOpen(fmode_t mode);
1467 static int AtaSqOpen(fmode_t mode) in AtaSqOpen()
/linux/fs/nfsd/
H A Dlocalio.c50 const fmode_t fmode) in nfsd_open_local_fh()
/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.c309 const fmode_t mode) in get_path_from_fd()
/linux/security/integrity/ima/
H A Dima_main.c145 fmode_t mode = file->f_mode; in ima_rdwr_violation_check()
209 fmode_t mode = file->f_mode; in ima_check_last_writer()
/linux/security/integrity/evm/
H A Devm_main.c1133 fmode_t mode = file->f_mode; in init_evm()
/linux/io_uring/
H A Drw.c839 static int io_rw_init_file(struct io_kiocb *req, fmode_t mode, int rw_type) in io_rw_init_file()
/linux/fs/
H A Dsplice.c50 fmode_t fmode = READ_ONCE(file->f_mode); in pipe_clear_nowait()

12