Home
last modified time | relevance | path

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

12345

/Linux-v5.4/fs/nfs/
Ddelegation.h21 fmode_t type;
41 fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit);
43 fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit);
51 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags);
68 bool nfs4_copy_delegation_stateid(struct inode *inode, fmode_t flags, nfs4_stateid *dst, const stru…
73 int nfs4_have_delegation(struct inode *inode, fmode_t flags);
74 int nfs4_check_delegation(struct inode *inode, fmode_t flags);
Ddelegation.c47 fmode_t flags) in nfs4_is_valid_delegation()
67 nfs4_do_check_delegation(struct inode *inode, fmode_t flags, bool mark) in nfs4_do_check_delegation()
91 int nfs4_have_delegation(struct inode *inode, fmode_t flags) in nfs4_have_delegation()
100 int nfs4_check_delegation(struct inode *inode, fmode_t flags) in nfs4_check_delegation()
138 const nfs4_stateid *stateid, fmode_t type) in nfs_delegation_claim_opens()
191 fmode_t type, in nfs_inode_reclaim_delegation()
356 fmode_t type, in nfs_inode_set_delegation()
719 fmode_t flags) in nfs_mark_return_unused_delegation_types()
732 fmode_t flags) in nfs_client_mark_return_unused_delegation_types()
794 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags) in nfs_expire_unused_delegation_types()
[all …]
Dnfs4_fs.h193 fmode_t state; /* State on the server (R,W, or RW) */
313 fmode_t fmode);
472 extern void nfs4_close_state(struct nfs4_state *, fmode_t);
473 extern void nfs4_close_sync(struct nfs4_state *, fmode_t);
474 extern void nfs4_state_set_mode_locked(struct nfs4_state *, fmode_t);
491 extern int nfs4_select_rw_stateid(struct nfs4_state *, fmode_t,
/Linux-v5.4/tools/perf/tests/
Dbpf-script-test-prologue.c33 fmode_t f_mode = (fmode_t)_f_mode; in bpf_func__null_lseek()
/Linux-v5.4/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.c201 static int blk_ioctl_discard(struct block_device *bdev, fmode_t mode, in blk_ioctl_discard()
234 static int blk_ioctl_zeroout(struct block_device *bdev, fmode_t mode, in blk_ioctl_zeroout()
298 int __blkdev_driver_ioctl(struct block_device *bdev, fmode_t mode, in __blkdev_driver_ioctl()
425 static int blkdev_flushbuf(struct block_device *bdev, fmode_t mode, in blkdev_flushbuf()
442 static int blkdev_roset(struct block_device *bdev, fmode_t mode, in blkdev_roset()
486 static int blkdev_bszset(struct block_device *bdev, fmode_t mode, in blkdev_bszset()
513 int blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd, in blkdev_ioctl()
Dscsi_ioctl.c196 int blk_verify_command(unsigned char *cmd, fmode_t mode) in blk_verify_command()
217 struct sg_io_hdr *hdr, fmode_t mode) in blk_fill_sghdr_rq()
279 struct sg_io_hdr *hdr, fmode_t mode) in sg_io()
404 int sg_scsi_ioctl(struct request_queue *q, struct gendisk *disk, fmode_t mode, in sg_scsi_ioctl()
545 int scsi_cmd_ioctl(struct request_queue *q, struct gendisk *bd_disk, fmode_t mode, in scsi_cmd_ioctl()
687 int scsi_cmd_blk_ioctl(struct block_device *bd, fmode_t mode, in scsi_cmd_blk_ioctl()
/Linux-v5.4/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_NDELAY ((__force fmode_t)0x40)
125 #define FMODE_EXCL ((__force fmode_t)0x80)
128 #define FMODE_WRITE_IOCTL ((__force fmode_t)0x100)
130 #define FMODE_32BITHASH ((__force fmode_t)0x200)
[all …]
Dblkdev.h367 extern int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode,
369 extern int blkdev_reset_zones_ioctl(struct block_device *bdev, fmode_t mode,
385 fmode_t mode, unsigned int cmd, in blkdev_report_zones_ioctl()
392 fmode_t mode, unsigned int cmd, in blkdev_reset_zones_ioctl()
867 extern int scsi_cmd_blk_ioctl(struct block_device *, fmode_t,
869 extern int scsi_cmd_ioctl(struct request_queue *, struct gendisk *, fmode_t,
871 extern int sg_scsi_ioctl(struct request_queue *, struct gendisk *, fmode_t,
1252 extern int blk_verify_command(unsigned char *cmd, fmode_t mode);
1697 int (*open) (struct block_device *, fmode_t);
1698 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.h150 fmode_t mode;
160 int dm_get_device(struct dm_target *ti, const char *path, fmode_t mode,
452 int dm_table_create(struct dm_table **result, fmode_t mode,
501 fmode_t dm_table_get_mode(struct dm_table *t);
Dbsg.h13 fmode_t mode);
Dposix-clock.h56 int (*open) (struct posix_clock *pc, fmode_t f_mode);
Dnfs_fs.h76 fmode_t mode;
395 …fs_open_context *nfs_find_open_context(struct inode *inode, const struct cred *cred, fmode_t mode);
396 extern struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode, struc…
/Linux-v5.4/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-v5.4/drivers/ide/
Dide-gd.c184 static int ide_gd_open(struct block_device *bdev, fmode_t mode)
242 static int ide_gd_unlocked_open(struct block_device *bdev, fmode_t mode)
254 static void ide_gd_release(struct gendisk *disk, fmode_t mode)
335 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-v5.4/drivers/block/paride/
Dpf.c208 static int pf_open(struct block_device *bdev, fmode_t mode);
211 static int pf_ioctl(struct block_device *bdev, fmode_t mode,
215 static void pf_release(struct gendisk *disk, fmode_t mode);
328 static int pf_open(struct block_device *bdev, fmode_t mode) in pf_open()
371 static int pf_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) in pf_ioctl()
387 static void pf_release(struct gendisk *disk, fmode_t mode) in pf_release()
/Linux-v5.4/drivers/block/
Dswim3.c249 static int floppy_ioctl(struct block_device *bdev, fmode_t mode,
251 static int floppy_open(struct block_device *bdev, fmode_t mode);
252 static void floppy_release(struct gendisk *disk, fmode_t mode);
868 static int floppy_locked_ioctl(struct block_device *bdev, fmode_t mode, in floppy_locked_ioctl()
896 static int floppy_ioctl(struct block_device *bdev, fmode_t mode, in floppy_ioctl()
908 static int floppy_open(struct block_device *bdev, fmode_t mode) in floppy_open()
977 static int floppy_unlocked_open(struct block_device *bdev, fmode_t mode) in floppy_unlocked_open()
988 static void floppy_release(struct gendisk *disk, fmode_t mode) in floppy_release()
/Linux-v5.4/drivers/ptp/
Dptp_private.h75 int ptp_open(struct posix_clock *pc, fmode_t fmode);
/Linux-v5.4/fs/btrfs/
Dvolumes.h81 fmode_t mode;
441 fmode_t flags, void *holder);
443 fmode_t flags, void *holder);
/Linux-v5.4/include/linux/mtd/
Dblktrans.h37 fmode_t file_mode;

12345