| /linux-6.15/fs/nfs/ |
| H A D | delegation.h | 21 fmode_t type; 45 fmode_t type, const nfs4_stateid *stateid, 48 fmode_t type, const nfs4_stateid *stateid, 59 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags); 79 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 D | nfs4_fs.h | 199 fmode_t state; /* State on the server (R,W, or RW) */ 323 fmode_t fmode); 331 fmode_t fmode); 499 extern void nfs4_close_state(struct nfs4_state *, fmode_t); 500 extern void nfs4_close_sync(struct nfs4_state *, fmode_t); 501 extern void nfs4_state_set_mode_locked(struct nfs4_state *, fmode_t); 518 extern int nfs4_select_rw_stateid(struct nfs4_state *, fmode_t,
|
| H A D | delegation.c | 87 fmode_t type) in nfs4_is_valid_delegation() 106 static int nfs4_do_check_delegation(struct inode *inode, fmode_t type, in nfs4_do_check_delegation() 135 int nfs4_have_delegation(struct inode *inode, fmode_t type, int flags) in nfs4_have_delegation() 144 int nfs4_check_delegation(struct inode *inode, fmode_t type) in nfs4_check_delegation() 182 const nfs4_stateid *stateid, fmode_t type) in nfs_delegation_claim_opens() 232 fmode_t type, const nfs4_stateid *stateid, in nfs_inode_reclaim_delegation() 443 fmode_t type, const nfs4_stateid *stateid, in nfs_inode_set_delegation() 966 fmode_t flags) in nfs_mark_return_unused_delegation_types() 979 fmode_t flags) in nfs_client_mark_return_unused_delegation_types() 1078 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags) in nfs_expire_unused_delegation_types() [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() 465 const fmode_t); 481 const fmode_t mode) in nfs_local_open_fh()
|
| H A D | nfs4state.c | 679 nfs4_state_set_mode_locked(struct nfs4_state *state, fmode_t fmode) in nfs4_state_set_mode_locked() 775 fmode_t fmode, gfp_t gfp_mask, int wait) in __nfs4_close() 779 fmode_t newstate; in __nfs4_close() 819 void nfs4_close_state(struct nfs4_state *state, fmode_t fmode) in nfs4_close_state() 824 void nfs4_close_sync(struct nfs4_state *state, fmode_t fmode) in nfs4_close_sync() 1034 fmode_t fmode, const struct nfs_lock_context *l_ctx, in nfs4_select_rw_stateid()
|
| H A D | nfs4proc.c | 1380 fmode_t fmode, int openflags) in nfs4_map_atomic_open_share() 1559 fmode_t fmode) in nfs4_mode_match_open_stateid() 1717 nfs4_stateid *stateid, fmode_t fmode) in nfs_clear_open_stateid_locked() 1750 nfs4_stateid *stateid, fmode_t fmode) in nfs_clear_open_stateid() 1822 fmode_t fmode, in nfs_state_set_open_stateid() 1855 fmode_t fmode) in nfs_state_set_delegation() 1878 fmode_t fmode) in update_open_stateid() 1969 fmode_t fmode = opendata->o_arg.fmode; in nfs4_try_open_cached() 2225 fmode_t fmode) in nfs4_open_recover_helper() 5539 fmode_t fmode) in nfs4_set_rw_stateid() [all …]
|
| /linux-6.15/include/linux/ |
| H A D | nfslocalio.h | 56 const fmode_t) __must_hold(rcu); 67 const fmode_t); 80 const fmode_t);
|
| H A D | fs.h | 118 #define FMODE_READ ((__force fmode_t)(1 << 0)) 120 #define FMODE_WRITE ((__force fmode_t)(1 << 1)) 122 #define FMODE_LSEEK ((__force fmode_t)(1 << 2)) 124 #define FMODE_PREAD ((__force fmode_t)(1 << 3)) 126 #define FMODE_PWRITE ((__force fmode_t)(1 << 4)) 128 #define FMODE_EXEC ((__force fmode_t)(1 << 5)) 150 #define FMODE_RANDOM ((__force fmode_t)(1 << 12)) 155 #define FMODE_PATH ((__force fmode_t)(1 << 14)) 160 #define FMODE_WRITER ((__force fmode_t)(1 << 16)) 166 #define FMODE_OPENED ((__force fmode_t)(1 << 19)) [all …]
|
| 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; 459 …fs_open_context *nfs_find_open_context(struct inode *inode, const struct cred *cred, fmode_t mode); 460 extern struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode, struc…
|
| H A D | types.h | 161 typedef unsigned int __bitwise fmode_t; typedef
|
| H A D | nfs_xdr.h | 456 fmode_t type; 476 fmode_t fmode; 543 fmode_t fmode; 1646 fmode_t rw_mode; 1839 int (*have_delegation)(struct inode *, fmode_t, int);
|
| /linux-6.15/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() 198 fmode_t mode;
|
| /linux-6.15/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-6.15/drivers/ptp/ |
| H A D | ptp_private.h | 136 int ptp_open(struct posix_clock_context *pccontext, fmode_t fmode);
|
| /linux-6.15/fs/nfsd/ |
| H A D | localio.c | 63 const struct nfs_fh *nfs_fh, const fmode_t fmode) in nfsd_open_local_fh()
|
| /linux-6.15/sound/oss/dmasound/ |
| H A D | dmasound_core.c | 216 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, in sq_open2() 923 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-6.15/fs/ |
| H A D | anon_inodes.c | 171 void *priv, int flags, fmode_t f_mode) in anon_inode_getfile_fmode()
|
| H A D | file.c | 975 unsigned int fd, fmode_t mask) in __fget_files_rcu() 1051 fmode_t mask) in __fget_files() 1062 static inline struct file *__fget(unsigned int fd, fmode_t mask) in __fget() 1138 static inline struct fd __fget_light(unsigned int fd, fmode_t mask) in __fget_light()
|
| /linux-6.15/sound/isa/msnd/ |
| H A D | msnd.h | 239 fmode_t mode;
|
| /linux-6.15/fs/nfs_common/ |
| H A D | nfslocalio.c | 240 const fmode_t fmode) in nfs_open_local_fh()
|
| /linux-6.15/security/landlock/ |
| H A D | syscalls.c | 264 const fmode_t mode) in get_ruleset_from_fd()
|
| /linux-6.15/security/integrity/ima/ |
| H A D | ima_main.c | 125 fmode_t mode = file->f_mode; in ima_rdwr_violation_check() 166 fmode_t mode = file->f_mode; in ima_check_last_writer()
|