/Linux-v6.6/fs/nfs/ |
D | delegation.h | 21 fmode_t type; 43 fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit); 45 fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit); 54 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags); 72 bool nfs4_copy_delegation_stateid(struct inode *inode, fmode_t flags, nfs4_stateid *dst, const stru… 77 int nfs4_have_delegation(struct inode *inode, fmode_t flags); 78 int nfs4_check_delegation(struct inode *inode, fmode_t flags);
|
D | nfs4_fs.h | 199 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,
|
D | delegation.c | 87 fmode_t flags) in nfs4_is_valid_delegation() 107 nfs4_do_check_delegation(struct inode *inode, fmode_t flags, bool mark) in nfs4_do_check_delegation() 131 int nfs4_have_delegation(struct inode *inode, fmode_t flags) in nfs4_have_delegation() 140 int nfs4_check_delegation(struct inode *inode, fmode_t flags) in nfs4_check_delegation() 178 const nfs4_stateid *stateid, fmode_t type) in nfs_delegation_claim_opens() 231 fmode_t type, const nfs4_stateid *stateid, in nfs_inode_reclaim_delegation() 429 fmode_t type, in nfs_inode_set_delegation() 897 fmode_t flags) in nfs_mark_return_unused_delegation_types() 910 fmode_t flags) in nfs_client_mark_return_unused_delegation_types() 1004 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags) in nfs_expire_unused_delegation_types() [all …]
|
D | internal.h | 45 static inline fmode_t flags_to_mode(int flags) in flags_to_mode() 47 fmode_t res = (__force fmode_t)flags & FMODE_EXEC; in flags_to_mode()
|
D | nfs4state.c | 685 nfs4_state_set_mode_locked(struct nfs4_state *state, fmode_t fmode) in nfs4_state_set_mode_locked() 781 fmode_t fmode, gfp_t gfp_mask, int wait) in __nfs4_close() 785 fmode_t newstate; in __nfs4_close() 825 void nfs4_close_state(struct nfs4_state *state, fmode_t fmode) in nfs4_close_state() 830 void nfs4_close_sync(struct nfs4_state *state, fmode_t fmode) in nfs4_close_sync() 1046 fmode_t fmode, const struct nfs_lock_context *l_ctx, in nfs4_select_rw_stateid()
|
D | nfs4proc.c | 1283 static fmode_t _nfs4_ctx_to_accessmode(const struct nfs_open_context *ctx) in _nfs4_ctx_to_accessmode() 1288 static fmode_t _nfs4_ctx_to_openmode(const struct nfs_open_context *ctx) in _nfs4_ctx_to_openmode() 1290 fmode_t ret = ctx->mode & (FMODE_READ|FMODE_WRITE); in _nfs4_ctx_to_openmode() 1297 fmode_t fmode, int openflags) in nfs4_map_atomic_open_share() 1350 struct nfs4_state_owner *sp, fmode_t fmode, int flags, in nfs4_opendata_alloc() 1479 fmode_t fmode) in nfs4_mode_match_open_stateid() 1493 static int can_open_cached(struct nfs4_state *state, fmode_t mode, in can_open_cached() 1524 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated() 1546 static void update_open_stateflags(struct nfs4_state *state, fmode_t fmode) in update_open_stateflags() 1637 nfs4_stateid *stateid, fmode_t fmode) in nfs_clear_open_stateid_locked() [all …]
|
/Linux-v6.6/include/linux/ |
D | fs.h | 111 #define FMODE_READ ((__force fmode_t)0x1) 113 #define FMODE_WRITE ((__force fmode_t)0x2) 115 #define FMODE_LSEEK ((__force fmode_t)0x4) 117 #define FMODE_PREAD ((__force fmode_t)0x8) 119 #define FMODE_PWRITE ((__force fmode_t)0x10) 121 #define FMODE_EXEC ((__force fmode_t)0x20) 123 #define FMODE_32BITHASH ((__force fmode_t)0x200) 125 #define FMODE_64BITHASH ((__force fmode_t)0x400) 133 #define FMODE_NOCMTIME ((__force fmode_t)0x800) 136 #define FMODE_RANDOM ((__force fmode_t)0x1000) [all …]
|
D | posix-clock.h | 56 int (*open) (struct posix_clock *pc, fmode_t f_mode);
|
D | nfs_fs.h | 88 fmode_t mode; 441 …fs_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, struc…
|
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);
|
D | types.h | 156 typedef unsigned int __bitwise fmode_t; typedef
|
/Linux-v6.6/fs/proc/ |
D | fd.c | 111 static bool tid_fd_mode(struct task_struct *task, unsigned fd, fmode_t *mode) in tid_fd_mode() 124 fmode_t f_mode) in tid_fd_update_inode() 153 fmode_t f_mode; in tid_fd_revalidate() 193 fmode_t mode;
|
/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
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-v6.6/drivers/ptp/ |
D | ptp_private.h | 123 int ptp_open(struct posix_clock *pc, fmode_t fmode);
|
D | ptp_chardev.c | 104 int ptp_open(struct posix_clock *pc, fmode_t fmode) in ptp_open()
|
/Linux-v6.6/sound/oss/dmasound/ |
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, in sq_open2() 923 static int shared_resources_are_mine(fmode_t md) in shared_resources_are_mine()
|
D | dmasound.h | 127 int (*sq_open)(fmode_t); /* optional */
|
/Linux-v6.6/fs/ |
D | file.c | 857 unsigned int fd, fmode_t mask) in __fget_files_rcu() 911 fmode_t mask) in __fget_files() 922 static inline struct file *__fget(unsigned int fd, fmode_t mask) in __fget() 1004 static unsigned long __fget_light(unsigned int fd, fmode_t mask) in __fget_light()
|
D | file_table.c | 363 fmode_t mode = file->f_mode; in __fput()
|
/Linux-v6.6/sound/isa/msnd/ |
D | msnd.h | 239 fmode_t mode;
|
/Linux-v6.6/security/landlock/ |
D | syscalls.c | 209 const fmode_t mode) in get_ruleset_from_fd()
|
/Linux-v6.6/security/integrity/ima/ |
D | ima_main.c | 123 fmode_t mode = file->f_mode; in ima_rdwr_violation_check() 158 fmode_t mode = file->f_mode; in ima_check_last_writer()
|
/Linux-v6.6/fs/hostfs/ |
D | hostfs_kern.c | 26 fmode_t mode; 298 fmode_t mode; in hostfs_open()
|
/Linux-v6.6/Documentation/filesystems/ |
D | locking.rst | 481 int (*open) (struct block_device *, fmode_t); 482 int (*release) (struct gendisk *, fmode_t); 483 int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long); 484 int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
|
/Linux-v6.6/drivers/char/ |
D | mem.c | 696 fmode_t fmode;
|