| /linux/include/linux/ |
| H A D | fs.h | 109 #define FMODE_READ ((__force fmode_t)(1 << 0)) 111 #define FMODE_WRITE ((__force fmode_t)(1 << 1)) 113 #define FMODE_LSEEK ((__force fmode_t)(1 << 2)) 115 #define FMODE_PREAD ((__force fmode_t)(1 << 3)) 117 #define FMODE_PWRITE ((__force fmode_t)(1 << 4)) 119 #define FMODE_EXEC ((__force fmode_t)(1 << 5)) 121 #define FMODE_WRITE_RESTRICTED ((__force fmode_t)(1 << 6)) 123 #define FMODE_CAN_ATOMIC_WRITE ((__force fmode_t)(1 << 7)) 128 #define FMODE_32BITHASH ((__force fmode_t)(1 << 9)) 130 #define FMODE_64BITHASH ((__force fmode_t)( [all...] |
| H A D | nfslocalio.h | 81 const fmode_t); in nfs_to_nfsd_net_put() 95 const fmode_t); in nfs_to_nfsd_file_put_local()
|
| H A D | anon_inodes.h | 22 void *priv, int flags, fmode_t f_mode);
|
| H A D | posix-clock.h | 57 int (*open)(struct posix_clock_context *pccontext, fmode_t f_mode);
|
| H A D | nfs_fs.h | 105 fmode_t mode; 458 …fs_open_context *nfs_find_open_context(struct inode *inode, const struct cred *cred, fmode_t mode); 459 extern struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode, struc…
|
| H A D | types.h | 165 typedef unsigned int __bitwise fmode_t; typedef
|
| H A D | nfs_xdr.h | 468 fmode_t type; 488 fmode_t fmode; 555 fmode_t fmode; 1663 fmode_t rw_mode; 1859 int (*have_delegation)(struct inode *, fmode_t, int);
|
| /linux/fs/proc/ |
| H A D | fd.c | 115 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() 193 fmode_t mode;
|
| /linux/fs/nfs/ |
| H A D | delegation.c | 105 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() 1010 fmode_t flags) in nfs_mark_return_unused_delegation_types() 1022 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags) 1564 bool nfs4_copy_delegation_stateid(struct inode *inode, fmode_t flag [all...] |
| H A D | internal.h | 47 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() 480 const fmode_t); 496 const fmode_t mode) in nfs_local_open_fh()
|
| H A D | nfs4state.c | 653 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() 1038 fmode_t fmode, const struct nfs_lock_context *l_ctx,
|
| H A D | nfs4proc.c | 1293 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 fmod [all...] |
| H A D | localio.c | 347 const fmode_t mode) in nfs_is_local_dio_possible() 379 const fmode_t mode) in nfs_is_local_dio_possible()
|
| /linux/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) in BPF_PROG()
|
| /linux/sound/oss/dmasound/ |
| H A D | dmasound_core.c | 213 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 D | dmasound.h | 127 int (*sq_open)(fmode_t); /* optional */
|
| /linux/fs/nfsd/ |
| H A D | localio.c | 34 * @fmode: fmode_t to use for open 48 const fmode_t fmode) in nfsd_open_local_fh()
|
| /linux/fs/ |
| H A D | anon_inodes.c | 226 void *priv, int flags, fmode_t f_mode) in anon_inode_getfile_fmode()
|
| H A D | file.c | 1167 unsigned int fd, fmode_t mask) in __fget_files_rcu() 1243 fmode_t mask) in __fget_files() 1254 static inline struct file *__fget(unsigned int fd, fmode_t mask) in __fget() 1329 static inline struct fd __fget_light(unsigned int fd, fmode_t mask) in __fget_light()
|
| /linux/sound/isa/msnd/ |
| H A D | msnd.h | 238 fmode_t mode;
|
| /linux/fs/nfs_common/ |
| H A D | nfslocalio.c | 338 const fmode_t fmode) in nfs_close_local_fh()
|
| /linux/Documentation/filesystems/ |
| H A D | locking.rst | 419 int (*open) (struct block_device *, fmode_t); 420 int (*release) (struct gendisk *, fmode_t); 421 int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long); 422 int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
|
| /linux/security/landlock/ |
| H A D | syscalls.c | 333 const fmode_t mode) in get_path_from_fd()
|
| /linux/security/integrity/ima/ |
| H A D | ima_main.c | 145 fmode_t mode = file->f_mode; in ima_rdwr_violation_check() 209 fmode_t mode = file->f_mode; in ima_check_last_writer()
|
| /linux/fs/hostfs/ |
| H A D | hostfs_kern.c | 32 fmode_t mode; 299 fmode_t mode; in hostfs_open()
|