Home
last modified time | relevance | path

Searched refs:fmode_t (Results 1 – 25 of 43) sorted by relevance

12

/Linux-v6.6/fs/nfs/
Ddelegation.h21 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);
Dnfs4_fs.h199 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,
Ddelegation.c87 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 …]
Dinternal.h45 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()
Dnfs4state.c685 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()
Dnfs4proc.c1283 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/
Dfs.h111 #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 …]
Dposix-clock.h56 int (*open) (struct posix_clock *pc, fmode_t f_mode);
Dnfs_fs.h88 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…
Dnfs_xdr.h460 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);
Dtypes.h156 typedef unsigned int __bitwise fmode_t; typedef
/Linux-v6.6/fs/proc/
Dfd.c111 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/
Dtest_libbpf_get_fd_by_id_opts.c27 int BPF_PROG(check_access, struct bpf_map *map, fmode_t fmode) in BPF_PROG()
/Linux-v6.6/drivers/ptp/
Dptp_private.h123 int ptp_open(struct posix_clock *pc, fmode_t fmode);
Dptp_chardev.c104 int ptp_open(struct posix_clock *pc, fmode_t fmode) in ptp_open()
/Linux-v6.6/sound/oss/dmasound/
Ddmasound_core.c215 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()
Ddmasound.h127 int (*sq_open)(fmode_t); /* optional */
/Linux-v6.6/fs/
Dfile.c857 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()
Dfile_table.c363 fmode_t mode = file->f_mode; in __fput()
/Linux-v6.6/sound/isa/msnd/
Dmsnd.h239 fmode_t mode;
/Linux-v6.6/security/landlock/
Dsyscalls.c209 const fmode_t mode) in get_ruleset_from_fd()
/Linux-v6.6/security/integrity/ima/
Dima_main.c123 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/
Dhostfs_kern.c26 fmode_t mode;
298 fmode_t mode; in hostfs_open()
/Linux-v6.6/Documentation/filesystems/
Dlocking.rst481 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/
Dmem.c696 fmode_t fmode;

12