/openbmc/linux/fs/nfs/ |
H A 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);
|
H A 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,
|
H A 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() 894 fmode_t flags) in nfs_mark_return_unused_delegation_types() 907 fmode_t flags) in nfs_client_mark_return_unused_delegation_types() 1006 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 | 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()
|
H A 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()
|
H A D | nfs4proc.c | 1299 fmode_t fmode, int openflags) in nfs4_map_atomic_open_share() 1481 fmode_t fmode) in nfs4_mode_match_open_stateid() 1639 nfs4_stateid *stateid, fmode_t fmode) in nfs_clear_open_stateid_locked() 1672 nfs4_stateid *stateid, fmode_t fmode) in nfs_clear_open_stateid() 1743 fmode_t fmode, in nfs_state_set_open_stateid() 1776 fmode_t fmode) in nfs_state_set_delegation() 1799 fmode_t fmode) in update_open_stateid() 2136 fmode_t fmode) in nfs4_open_recover_helper() 2200 fmode_t delegation_type = 0; in _nfs4_do_open_reclaim() 5380 fmode_t fmode) in nfs4_set_rw_stateid() [all …]
|
/openbmc/linux/include/linux/ |
H A 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) 133 #define FMODE_NOCMTIME ((__force fmode_t)0x800) 136 #define FMODE_RANDOM ((__force fmode_t)0x1000) 142 #define FMODE_PATH ((__force fmode_t)0x4000) 147 #define FMODE_WRITER ((__force fmode_t)0x10000) [all …]
|
H A D | posix-clock.h | 56 int (*open) (struct posix_clock *pc, fmode_t f_mode);
|
H A 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…
|
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);
|
H A D | types.h | 156 typedef unsigned int __bitwise fmode_t; typedef
|
/openbmc/linux/fs/proc/ |
H A D | fd.c | 117 static bool tid_fd_mode(struct task_struct *task, unsigned fd, fmode_t *mode) in tid_fd_mode() 130 fmode_t f_mode) in tid_fd_update_inode() 159 fmode_t f_mode; in tid_fd_revalidate() 199 fmode_t mode;
|
/openbmc/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()
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_private.h | 127 int ptp_open(struct posix_clock *pc, fmode_t fmode);
|
H A D | ptp_chardev.c | 105 int ptp_open(struct posix_clock *pc, fmode_t fmode) in ptp_open()
|
/openbmc/linux/sound/oss/dmasound/ |
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, 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 */
|
/openbmc/linux/fs/ |
H A D | file.c | 826 unsigned int fd, fmode_t mask) in __fget_files_rcu() 880 fmode_t mask) in __fget_files() 891 static inline struct file *__fget(unsigned int fd, fmode_t mask) in __fget() 973 static unsigned long __fget_light(unsigned int fd, fmode_t mask) in __fget_light()
|
H A D | file_table.c | 363 fmode_t mode = file->f_mode; in __fput()
|
/openbmc/linux/sound/isa/msnd/ |
H A D | msnd.h | 239 fmode_t mode;
|
/openbmc/linux/security/landlock/ |
H A D | syscalls.c | 221 const fmode_t mode) in get_ruleset_from_fd()
|
/openbmc/linux/security/integrity/ima/ |
H A D | ima_main.c | 124 fmode_t mode = file->f_mode; in ima_rdwr_violation_check() 159 fmode_t mode = file->f_mode; in ima_check_last_writer()
|
/openbmc/linux/fs/hostfs/ |
H A D | hostfs_kern.c | 26 fmode_t mode; 298 fmode_t mode; in hostfs_open()
|
/openbmc/linux/Documentation/filesystems/ |
H A D | locking.rst | 484 int (*open) (struct block_device *, fmode_t); 485 int (*release) (struct gendisk *, fmode_t); 486 int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long); 487 int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
|
/openbmc/linux/drivers/char/ |
H A D | mem.c | 697 fmode_t fmode;
|