Searched refs:fmode_t (Results 1 - 25 of 43) sorted by relevance

12

/linux-master/fs/nfs/
H A Ddelegation.h21 fmode_t type;
44 fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit);
46 fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit);
55 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags);
73 bool nfs4_copy_delegation_stateid(struct inode *inode, fmode_t flags, nfs4_stateid *dst, const struct cred **cred);
78 int nfs4_have_delegation(struct inode *inode, fmode_t flags);
79 int nfs4_check_delegation(struct inode *inode, fmode_t flags);
H A Dnfs4_fs.h198 fmode_t state; /* State on the server (R,W, or RW) */
322 fmode_t fmode);
330 fmode_t fmode);
498 extern void nfs4_close_state(struct nfs4_state *, fmode_t);
499 extern void nfs4_close_sync(struct nfs4_state *, fmode_t);
500 extern void nfs4_state_set_mode_locked(struct nfs4_state *, fmode_t);
517 extern int nfs4_select_rw_stateid(struct nfs4_state *, fmode_t,
H A Ddelegation.c87 fmode_t flags)
107 nfs4_do_check_delegation(struct inode *inode, fmode_t flags, bool mark)
131 int nfs4_have_delegation(struct inode *inode, fmode_t flags)
140 int nfs4_check_delegation(struct inode *inode, fmode_t flags)
178 const nfs4_stateid *stateid, fmode_t type)
227 fmode_t type, const nfs4_stateid *stateid,
425 fmode_t type,
894 fmode_t flags)
907 fmode_t flags)
1001 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flag
[all...]
H A Dinternal.h45 static inline fmode_t flags_to_mode(int flags)
47 fmode_t res = (__force fmode_t)flags & FMODE_EXEC;
H A Dnfs4proc.c1310 static fmode_t _nfs4_ctx_to_accessmode(const struct nfs_open_context *ctx)
1315 static fmode_t _nfs4_ctx_to_openmode(const struct nfs_open_context *ctx)
1317 fmode_t ret = ctx->mode & (FMODE_READ|FMODE_WRITE);
1324 fmode_t fmode, int openflags)
1377 struct nfs4_state_owner *sp, fmode_t fmode, int flags,
1506 fmode_t fmode)
1520 static int can_open_cached(struct nfs4_state *state, fmode_t mode,
1551 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode,
1573 static void update_open_stateflags(struct nfs4_state *state, fmode_t fmode)
1664 nfs4_stateid *stateid, fmode_t fmod
[all...]
H A Dnfs4state.c684 nfs4_state_set_mode_locked(struct nfs4_state *state, fmode_t fmode)
780 fmode_t fmode, gfp_t gfp_mask, int wait)
784 fmode_t newstate;
824 void nfs4_close_state(struct nfs4_state *state, fmode_t fmode)
829 void nfs4_close_sync(struct nfs4_state *state, fmode_t fmode)
1045 fmode_t fmode, const struct nfs_lock_context *l_ctx,
H A Dcallback_proc.c606 fmode_t flags = 0;
/linux-master/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)
/linux-master/include/linux/
H A Dposix-clock.h57 int (*open)(struct posix_clock_context *pccontext, fmode_t f_mode);
H A Dfs.h113 #define FMODE_READ ((__force fmode_t)0x1)
115 #define FMODE_WRITE ((__force fmode_t)0x2)
117 #define FMODE_LSEEK ((__force fmode_t)0x4)
119 #define FMODE_PREAD ((__force fmode_t)0x8)
121 #define FMODE_PWRITE ((__force fmode_t)0x10)
123 #define FMODE_EXEC ((__force fmode_t)0x20)
125 #define FMODE_WRITE_RESTRICTED ((__force fmode_t)0x40)
127 #define FMODE_32BITHASH ((__force fmode_t)0x200)
129 #define FMODE_64BITHASH ((__force fmode_t)0x400)
137 #define FMODE_NOCMTIME ((__force fmode_t)
[all...]
H A Dtypes.h159 typedef unsigned int __bitwise fmode_t; typedef
H A Dnfs_fs.h88 fmode_t mode;
441 extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, const struct cred *cred, fmode_t mode);
442 extern struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode, struct file *filp);
H A Dnfs_xdr.h460 fmode_t fmode;
471 fmode_t delegation_type; /* CLAIM_PREVIOUS */
493 fmode_t delegation_type;
530 fmode_t fmode;
1617 fmode_t rw_mode;
1810 int (*have_delegation)(struct inode *, fmode_t);
/linux-master/fs/proc/
H A Dfd.c111 static bool tid_fd_mode(struct task_struct *task, unsigned fd, fmode_t *mode)
126 fmode_t f_mode)
155 fmode_t f_mode;
195 fmode_t mode;
/linux-master/drivers/ptp/
H A Dptp_private.h136 int ptp_open(struct posix_clock_context *pccontext, fmode_t fmode);
H A Dptp_chardev.c105 int ptp_open(struct posix_clock_context *pccontext, fmode_t fmode)
/linux-master/sound/oss/dmasound/
H A Ddmasound.h127 int (*sq_open)(fmode_t); /* optional */
H A Ddmasound_core.c215 static fmode_t shared_resource_owner;
698 fmode_t mode)
707 static int sq_open2(struct sound_queue *sq, struct file *file, fmode_t mode,
923 static int shared_resources_are_mine(fmode_t md)
/linux-master/sound/isa/msnd/
H A Dmsnd.h239 fmode_t mode;
/linux-master/fs/
H A Dfile.c955 unsigned int fd, fmode_t mask)
1031 fmode_t mask)
1042 static inline struct file *__fget(unsigned int fd, fmode_t mask)
1131 static unsigned long __fget_light(unsigned int fd, fmode_t mask)
H A Dfile_table.c401 fmode_t mode = file->f_mode;
/linux-master/security/landlock/
H A Dsyscalls.c235 const fmode_t mode)
/linux-master/fs/hostfs/
H A Dhostfs_kern.c26 fmode_t mode;
298 fmode_t mode;
/linux-master/security/integrity/ima/
H A Dima_main.c124 fmode_t mode = file->f_mode;
159 fmode_t mode = file->f_mode;
/linux-master/drivers/char/
H A Dmem.c688 fmode_t fmode;

Completed in 358 milliseconds

12