Home
last modified time | relevance | path

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

123456

/Linux-v5.10/fs/nfs/
Ddelegation.h21 fmode_t type;
42 fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit);
44 fmode_t type, const nfs4_stateid *stateid, unsigned long pagemod_limit);
53 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags);
71 bool nfs4_copy_delegation_stateid(struct inode *inode, fmode_t flags, nfs4_stateid *dst, const stru…
76 int nfs4_have_delegation(struct inode *inode, fmode_t flags);
77 int nfs4_check_delegation(struct inode *inode, fmode_t flags);
Dnfs4_fs.h195 fmode_t state; /* State on the server (R,W, or RW) */
316 fmode_t fmode);
323 fmode_t fmode);
491 extern void nfs4_close_state(struct nfs4_state *, fmode_t);
492 extern void nfs4_close_sync(struct nfs4_state *, fmode_t);
493 extern void nfs4_state_set_mode_locked(struct nfs4_state *, fmode_t);
510 extern int nfs4_select_rw_stateid(struct nfs4_state *, fmode_t,
Ddelegation.c80 fmode_t flags) in nfs4_is_valid_delegation()
100 nfs4_do_check_delegation(struct inode *inode, fmode_t flags, bool mark) in nfs4_do_check_delegation()
124 int nfs4_have_delegation(struct inode *inode, fmode_t flags) in nfs4_have_delegation()
133 int nfs4_check_delegation(struct inode *inode, fmode_t flags) in nfs4_check_delegation()
171 const nfs4_stateid *stateid, fmode_t type) in nfs_delegation_claim_opens()
224 fmode_t type, in nfs_inode_reclaim_delegation()
422 fmode_t type, in nfs_inode_set_delegation()
837 fmode_t flags) in nfs_mark_return_unused_delegation_types()
850 fmode_t flags) in nfs_client_mark_return_unused_delegation_types()
944 void nfs_expire_unused_delegation_types(struct nfs_client *clp, fmode_t flags) in nfs_expire_unused_delegation_types()
[all …]
/Linux-v5.10/drivers/ide/
Dide-floppy.h27 int ide_floppy_ioctl(ide_drive_t *, struct block_device *, fmode_t,
29 int ide_floppy_compat_ioctl(ide_drive_t *, struct block_device *, fmode_t,
Dide-gd.c184 static int ide_gd_open(struct block_device *bdev, fmode_t mode)
246 static int ide_gd_unlocked_open(struct block_device *bdev, fmode_t mode)
258 static void ide_gd_release(struct gendisk *disk, fmode_t mode)
301 static int ide_gd_ioctl(struct block_device *bdev, fmode_t mode,
311 static int ide_gd_compat_ioctl(struct block_device *bdev, fmode_t mode,
Dide-floppy_ioctl.c256 fmode_t mode, unsigned int cmd, in ide_floppy_format_ioctl()
276 fmode_t mode, unsigned int cmd, unsigned long arg) in ide_floppy_ioctl()
309 fmode_t mode, unsigned int cmd, unsigned long arg) in ide_floppy_compat_ioctl()
Dide-disk.h17 int ide_disk_ioctl(ide_drive_t *, struct block_device *, fmode_t, unsigned int,
Dide-disk_ioctl.c19 int ide_disk_ioctl(ide_drive_t *drive, struct block_device *bdev, fmode_t mode, in ide_disk_ioctl()
/Linux-v5.10/block/
Dioctl.c109 static int blk_ioctl_discard(struct block_device *bdev, fmode_t mode, in blk_ioctl_discard()
145 static int blk_ioctl_zeroout(struct block_device *bdev, fmode_t mode, in blk_ioctl_zeroout()
222 int __blkdev_driver_ioctl(struct block_device *bdev, fmode_t mode, in __blkdev_driver_ioctl()
245 int blkdev_compat_ptr_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_compat_ptr_ioctl()
369 static int blkdev_flushbuf(struct block_device *bdev, fmode_t mode, in blkdev_flushbuf()
386 static int blkdev_roset(struct block_device *bdev, fmode_t mode, in blkdev_roset()
469 static int blkdev_bszset(struct block_device *bdev, fmode_t mode, in blkdev_bszset()
497 static int blkdev_common_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_common_ioctl()
580 int blkdev_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd, in blkdev_ioctl()
645 fmode_t mode = file->f_mode; in compat_blkdev_ioctl()
Dscsi_ioctl.c200 int blk_verify_command(unsigned char *cmd, fmode_t mode) in blk_verify_command()
221 struct sg_io_hdr *hdr, fmode_t mode) in blk_fill_sghdr_rq()
283 struct sg_io_hdr *hdr, fmode_t mode) in sg_io()
407 int sg_scsi_ioctl(struct request_queue *q, struct gendisk *disk, fmode_t mode, in sg_scsi_ioctl()
712 fmode_t mode, void __user *arg) in scsi_cdrom_send_packet()
767 int scsi_cmd_ioctl(struct request_queue *q, struct gendisk *bd_disk, fmode_t mode, in scsi_cmd_ioctl()
858 int scsi_cmd_blk_ioctl(struct block_device *bd, fmode_t mode, in scsi_cmd_blk_ioctl()
/Linux-v5.10/tools/perf/tests/
Dbpf-script-test-prologue.c33 fmode_t f_mode = (fmode_t)_f_mode; in bpf_func__null_lseek()
/Linux-v5.10/include/linux/
Dblkdev.h371 extern int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode,
373 extern int blkdev_zone_mgmt_ioctl(struct block_device *bdev, fmode_t mode,
384 fmode_t mode, unsigned int cmd, in blkdev_report_zones_ioctl()
391 fmode_t mode, unsigned int cmd, in blkdev_zone_mgmt_ioctl()
923 extern int scsi_cmd_blk_ioctl(struct block_device *, fmode_t,
925 extern int scsi_cmd_ioctl(struct request_queue *, struct gendisk *, fmode_t,
927 extern int sg_scsi_ioctl(struct request_queue *, struct gendisk *, fmode_t,
1366 extern int blk_verify_command(unsigned char *cmd, fmode_t mode);
1846 int (*open) (struct block_device *, fmode_t);
1847 void (*release) (struct gendisk *, fmode_t);
[all …]
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 …]
Ddevice-mapper.h152 fmode_t mode;
162 int dm_get_device(struct dm_target *ti, const char *path, fmode_t mode,
471 int dm_table_create(struct dm_table **result, fmode_t mode,
515 fmode_t dm_table_get_mode(struct dm_table *t);
Dcdrom.h103 fmode_t mode);
104 extern void cdrom_release(struct cdrom_device_info *cdi, fmode_t mode);
106 fmode_t mode, unsigned int cmd, unsigned long arg);
Dbsg.h13 fmode_t mode);
Dposix-clock.h56 int (*open) (struct posix_clock *pc, fmode_t f_mode);
Dnfs_fs.h76 fmode_t mode;
394 …fs_open_context *nfs_find_open_context(struct inode *inode, const struct cred *cred, fmode_t mode);
395 extern struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode, struc…
/Linux-v5.10/drivers/block/rnbd/
Drnbd-srv-dev.h18 fmode_t blk_open_flags;
34 struct rnbd_dev *rnbd_dev_open(const char *path, fmode_t flags,
Drnbd-srv.h59 fmode_t open_flags;
/Linux-v5.10/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.10/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);
329 static int pf_open(struct block_device *bdev, fmode_t mode) in pf_open()
372 static int pf_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) in pf_ioctl()
388 static void pf_release(struct gendisk *disk, fmode_t mode) in pf_release()
/Linux-v5.10/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()
978 static int floppy_unlocked_open(struct block_device *bdev, fmode_t mode) in floppy_unlocked_open()
989 static void floppy_release(struct gendisk *disk, fmode_t mode) in floppy_release()
/Linux-v5.10/drivers/ptp/
Dptp_private.h75 int ptp_open(struct posix_clock *pc, fmode_t fmode);
/Linux-v5.10/fs/btrfs/
Dvolumes.h69 fmode_t mode;
434 fmode_t flags, void *holder);
436 fmode_t flags, void *holder);

123456