/linux-master/fs/nfs/ |
H A D | delegation.h | 21 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 D | nfs4_fs.h | 198 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 D | delegation.c | 87 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 D | internal.h | 45 static inline fmode_t flags_to_mode(int flags) 47 fmode_t res = (__force fmode_t)flags & FMODE_EXEC;
|
H A D | nfs4proc.c | 1310 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 D | nfs4state.c | 684 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 D | callback_proc.c | 606 fmode_t flags = 0;
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_libbpf_get_fd_by_id_opts.c | 27 int BPF_PROG(check_access, struct bpf_map *map, fmode_t fmode)
|
/linux-master/include/linux/ |
H A D | posix-clock.h | 57 int (*open)(struct posix_clock_context *pccontext, fmode_t f_mode);
|
H A D | fs.h | 113 #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 D | types.h | 159 typedef unsigned int __bitwise fmode_t; typedef
|
H A D | nfs_fs.h | 88 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 D | nfs_xdr.h | 460 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 D | fd.c | 111 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 D | ptp_private.h | 136 int ptp_open(struct posix_clock_context *pccontext, fmode_t fmode);
|
H A D | ptp_chardev.c | 105 int ptp_open(struct posix_clock_context *pccontext, fmode_t fmode)
|
/linux-master/sound/oss/dmasound/ |
H A D | dmasound.h | 127 int (*sq_open)(fmode_t); /* optional */
|
H A D | dmasound_core.c | 215 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 D | msnd.h | 239 fmode_t mode;
|
/linux-master/fs/ |
H A D | file.c | 955 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 D | file_table.c | 401 fmode_t mode = file->f_mode;
|
/linux-master/security/landlock/ |
H A D | syscalls.c | 235 const fmode_t mode)
|
/linux-master/fs/hostfs/ |
H A D | hostfs_kern.c | 26 fmode_t mode; 298 fmode_t mode;
|
/linux-master/security/integrity/ima/ |
H A D | ima_main.c | 124 fmode_t mode = file->f_mode; 159 fmode_t mode = file->f_mode;
|
/linux-master/drivers/char/ |
H A D | mem.c | 688 fmode_t fmode;
|