Home
last modified time | relevance | path

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

12345

/Linux-v4.19/fs/nfs/
Ddelegation.h21 fmode_t type;
40 fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit);
42 fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit);
50 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags);
64 …struct nfs_open_context *ctx, struct nfs4_state *state, const nfs4_stateid *stateid, fmode_t type);
66 bool nfs4_copy_delegation_stateid(struct inode *inode, fmode_t flags, nfs4_stateid *dst, struct rpc…
70 int nfs4_have_delegation(struct inode *inode, fmode_t flags);
71 int nfs4_check_delegation(struct inode *inode, fmode_t flags);
Ddelegation.c48 fmode_t flags) in nfs4_is_valid_delegation()
58 nfs4_do_check_delegation(struct inode *inode, fmode_t flags, bool mark) in nfs4_do_check_delegation()
82 int nfs4_have_delegation(struct inode *inode, fmode_t flags) in nfs4_have_delegation()
91 int nfs4_check_delegation(struct inode *inode, fmode_t flags) in nfs4_check_delegation()
129 const nfs4_stateid *stateid, fmode_t type) in nfs_delegation_claim_opens()
181 fmode_t type, in nfs_inode_reclaim_delegation()
344 fmode_t type, in nfs_inode_set_delegation()
707 fmode_t flags) in nfs_mark_return_unused_delegation_types()
720 fmode_t flags) in nfs_client_mark_return_unused_delegation_types()
782 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags) in nfs_expire_unused_delegation_types()
[all …]
Dnfs4_fs.h190 fmode_t state; /* State on the server (R,W, or RW) */
308 fmode_t fmode);
473 extern void nfs4_close_state(struct nfs4_state *, fmode_t);
474 extern void nfs4_close_sync(struct nfs4_state *, fmode_t);
475 extern void nfs4_state_set_mode_locked(struct nfs4_state *, fmode_t);
492 extern int nfs4_select_rw_stateid(struct nfs4_state *, fmode_t,
/Linux-v4.19/tools/perf/tests/
Dbpf-script-test-prologue.c32 fmode_t f_mode = (fmode_t)_f_mode; in bpf_func__null_lseek()
/Linux-v4.19/block/
Dcompat_ioctl.c80 static int compat_hdio_ioctl(struct block_device *bdev, fmode_t mode, in compat_hdio_ioctl()
117 static int compat_cdrom_read_audio(struct block_device *bdev, fmode_t mode, in compat_cdrom_read_audio()
144 static int compat_cdrom_generic_command(struct block_device *bdev, fmode_t mode, in compat_cdrom_generic_command()
183 static int compat_blkpg_ioctl(struct block_device *bdev, fmode_t mode, in compat_blkpg_ioctl()
209 static int compat_blkdev_driver_ioctl(struct block_device *bdev, fmode_t mode, in compat_blkdev_driver_ioctl()
321 fmode_t mode = file->f_mode; in compat_blkdev_ioctl()
Dioctl.c200 static int blk_ioctl_discard(struct block_device *bdev, fmode_t mode, in blk_ioctl_discard()
233 static int blk_ioctl_zeroout(struct block_device *bdev, fmode_t mode, in blk_ioctl_zeroout()
297 int __blkdev_driver_ioctl(struct block_device *bdev, fmode_t mode, in __blkdev_driver_ioctl()
424 static int blkdev_flushbuf(struct block_device *bdev, fmode_t mode, in blkdev_flushbuf()
441 static int blkdev_roset(struct block_device *bdev, fmode_t mode, in blkdev_roset()
485 static int blkdev_bszset(struct block_device *bdev, fmode_t mode, in blkdev_bszset()
512 int blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd, in blkdev_ioctl()
Dscsi_ioctl.c210 int blk_verify_command(unsigned char *cmd, fmode_t mode) in blk_verify_command()
231 struct sg_io_hdr *hdr, fmode_t mode) in blk_fill_sghdr_rq()
293 struct sg_io_hdr *hdr, fmode_t mode) in sg_io()
418 int sg_scsi_ioctl(struct request_queue *q, struct gendisk *disk, fmode_t mode, in sg_scsi_ioctl()
559 int scsi_cmd_ioctl(struct request_queue *q, struct gendisk *bd_disk, fmode_t mode, in scsi_cmd_ioctl()
701 int scsi_cmd_blk_ioctl(struct block_device *bd, fmode_t mode, in scsi_cmd_blk_ioctl()
/Linux-v4.19/include/linux/
Dfs.h104 #define FMODE_READ ((__force fmode_t)0x1)
106 #define FMODE_WRITE ((__force fmode_t)0x2)
108 #define FMODE_LSEEK ((__force fmode_t)0x4)
110 #define FMODE_PREAD ((__force fmode_t)0x8)
112 #define FMODE_PWRITE ((__force fmode_t)0x10)
114 #define FMODE_EXEC ((__force fmode_t)0x20)
116 #define FMODE_NDELAY ((__force fmode_t)0x40)
118 #define FMODE_EXCL ((__force fmode_t)0x80)
121 #define FMODE_WRITE_IOCTL ((__force fmode_t)0x100)
123 #define FMODE_32BITHASH ((__force fmode_t)0x200)
[all …]
Dblkdev.h410 extern int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode,
412 extern int blkdev_reset_zones_ioctl(struct block_device *bdev, fmode_t mode,
418 fmode_t mode, unsigned int cmd, in blkdev_report_zones_ioctl()
425 fmode_t mode, unsigned int cmd, in blkdev_reset_zones_ioctl()
979 extern int scsi_cmd_blk_ioctl(struct block_device *, fmode_t,
981 extern int scsi_cmd_ioctl(struct request_queue *, struct gendisk *, fmode_t,
983 extern int sg_scsi_ioctl(struct request_queue *, struct gendisk *, fmode_t,
1427 extern int blk_verify_command(unsigned char *cmd, fmode_t mode);
1976 int (*open) (struct block_device *, fmode_t);
1977 void (*release) (struct gendisk *, fmode_t);
[all …]
Dcdrom.h99 fmode_t mode);
100 extern void cdrom_release(struct cdrom_device_info *cdi, fmode_t mode);
102 fmode_t mode, unsigned int cmd, unsigned long arg);
Ddevice-mapper.h145 fmode_t mode;
155 int dm_get_device(struct dm_target *ti, const char *path, fmode_t mode,
442 int dm_table_create(struct dm_table **result, fmode_t mode,
491 fmode_t dm_table_get_mode(struct dm_table *t);
Dbsg.h13 fmode_t mode);
Dposix-clock.h69 int (*open) (struct posix_clock *pc, fmode_t f_mode);
Dnfs_fs.h74 fmode_t mode;
391 … nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, fmode_t mode);
392 extern struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode, struc…
/Linux-v4.19/fs/proc/
Dfd.c84 static bool tid_fd_mode(struct task_struct *task, unsigned fd, fmode_t *mode) in tid_fd_mode()
102 fmode_t f_mode) in tid_fd_update_inode()
131 fmode_t f_mode; in tid_fd_revalidate()
178 fmode_t mode;
/Linux-v4.19/drivers/ide/
Dide-gd.c183 static int ide_gd_open(struct block_device *bdev, fmode_t mode)
241 static int ide_gd_unlocked_open(struct block_device *bdev, fmode_t mode)
253 static void ide_gd_release(struct gendisk *disk, fmode_t mode)
333 static int ide_gd_ioctl(struct block_device *bdev, fmode_t mode,
Dide-disk.h17 int ide_disk_ioctl(ide_drive_t *, struct block_device *, fmode_t, unsigned int,
Dide-floppy.h27 int ide_floppy_ioctl(ide_drive_t *, struct block_device *, fmode_t,
Dide-disk_ioctl.c19 int ide_disk_ioctl(ide_drive_t *drive, struct block_device *bdev, fmode_t mode, in ide_disk_ioctl()
Dide-floppy_ioctl.c255 fmode_t mode, unsigned int cmd, in ide_floppy_format_ioctl()
275 fmode_t mode, unsigned int cmd, unsigned long arg) in ide_floppy_ioctl()
/Linux-v4.19/drivers/block/paride/
Dpf.c208 static int pf_open(struct block_device *bdev, fmode_t mode);
210 static int pf_ioctl(struct block_device *bdev, fmode_t mode,
214 static void pf_release(struct gendisk *disk, fmode_t mode);
312 static int pf_open(struct block_device *bdev, fmode_t mode) in pf_open()
355 static int pf_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) in pf_ioctl()
371 static void pf_release(struct gendisk *disk, fmode_t mode) in pf_release()
/Linux-v4.19/drivers/block/
Dswim3.c252 static int floppy_ioctl(struct block_device *bdev, fmode_t mode,
254 static int floppy_open(struct block_device *bdev, fmode_t mode);
255 static void floppy_release(struct gendisk *disk, fmode_t mode);
903 static int floppy_locked_ioctl(struct block_device *bdev, fmode_t mode, in floppy_locked_ioctl()
931 static int floppy_ioctl(struct block_device *bdev, fmode_t mode, in floppy_ioctl()
943 static int floppy_open(struct block_device *bdev, fmode_t mode) in floppy_open()
1012 static int floppy_unlocked_open(struct block_device *bdev, fmode_t mode) in floppy_unlocked_open()
1023 static void floppy_release(struct gendisk *disk, fmode_t mode) in floppy_release()
/Linux-v4.19/drivers/ptp/
Dptp_private.h88 int ptp_open(struct posix_clock *pc, fmode_t fmode);
/Linux-v4.19/fs/btrfs/
Dvolumes.h65 fmode_t mode;
406 fmode_t flags, void *holder);
408 fmode_t flags, void *holder);
/Linux-v4.19/include/linux/mtd/
Dblktrans.h52 fmode_t file_mode;

12345