Home
last modified time | relevance | path

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

12345

/linux/fs/nfs/
A 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);
A Dnfs4_fs.h196 fmode_t state; /* State on the server (R,W, or RW) */
317 fmode_t fmode);
323 fmode_t fmode);
492 extern void nfs4_close_state(struct nfs4_state *, fmode_t);
493 extern void nfs4_close_sync(struct nfs4_state *, fmode_t);
494 extern void nfs4_state_set_mode_locked(struct nfs4_state *, fmode_t);
511 extern int nfs4_select_rw_stateid(struct nfs4_state *, fmode_t,
A 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, in nfs_inode_reclaim_delegation()
431 fmode_t type, in nfs_inode_set_delegation()
899 fmode_t flags) in nfs_mark_return_unused_delegation_types()
912 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 …]
/linux/block/
A Dioctl.c85 static int blkdev_reread_part(struct block_device *bdev, fmode_t mode) in blkdev_reread_part()
110 static int blk_ioctl_discard(struct block_device *bdev, fmode_t mode, in blk_ioctl_discard()
152 static int blk_ioctl_zeroout(struct block_device *bdev, fmode_t mode, in blk_ioctl_zeroout()
241 int blkdev_compat_ptr_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_compat_ptr_ioctl()
345 static int blkdev_flushbuf(struct block_device *bdev, fmode_t mode, in blkdev_flushbuf()
355 static int blkdev_roset(struct block_device *bdev, fmode_t mode, in blkdev_roset()
440 static int blkdev_bszset(struct block_device *bdev, fmode_t mode, in blkdev_bszset()
468 static int blkdev_common_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_common_ioctl()
557 fmode_t mode = file->f_mode; in blkdev_ioctl()
627 fmode_t mode = file->f_mode; in compat_blkdev_ioctl()
A Dbdev.c102 int truncate_bdev_range(struct block_device *bdev, fmode_t mode, in truncate_bdev_range()
665 static int blkdev_get_whole(struct block_device *bdev, fmode_t mode) in blkdev_get_whole()
689 static void blkdev_put_whole(struct block_device *bdev, fmode_t mode) in blkdev_put_whole()
697 static int blkdev_get_part(struct block_device *part, fmode_t mode) in blkdev_get_part()
724 static void blkdev_put_part(struct block_device *part, fmode_t mode) in blkdev_put_part()
790 struct block_device *blkdev_get_by_dev(dev_t dev, fmode_t mode, void *holder) in blkdev_get_by_dev()
880 struct block_device *blkdev_get_by_path(const char *path, fmode_t mode, in blkdev_get_by_path()
901 void blkdev_put(struct block_device *bdev, fmode_t mode) in blkdev_put()
A Dblk-zoned.c344 int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_report_zones_ioctl()
382 static int blkdev_truncate_zone_range(struct block_device *bdev, fmode_t mode, in blkdev_truncate_zone_range()
402 int blkdev_zone_mgmt_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_zone_mgmt_ioctl()
/linux/include/linux/
A Dblkdev.h133 extern int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode,
135 extern int blkdev_zone_mgmt_ioctl(struct block_device *bdev, fmode_t mode,
146 fmode_t mode, unsigned int cmd, in blkdev_report_zones_ioctl()
153 fmode_t mode, unsigned int cmd, in blkdev_zone_mgmt_ioctl()
1199 int (*open) (struct block_device *, fmode_t);
1200 void (*release) (struct gendisk *, fmode_t);
1202 int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
1229 extern int blkdev_compat_ptr_ioctl(struct block_device *, fmode_t,
1287 struct block_device *blkdev_get_by_path(const char *path, fmode_t mode,
1289 struct block_device *blkdev_get_by_dev(dev_t dev, fmode_t mode, void *holder);
[all …]
A Dfs.h115 #define FMODE_READ ((__force fmode_t)0x1)
117 #define FMODE_WRITE ((__force fmode_t)0x2)
119 #define FMODE_LSEEK ((__force fmode_t)0x4)
121 #define FMODE_PREAD ((__force fmode_t)0x8)
123 #define FMODE_PWRITE ((__force fmode_t)0x10)
125 #define FMODE_EXEC ((__force fmode_t)0x20)
127 #define FMODE_NDELAY ((__force fmode_t)0x40)
129 #define FMODE_EXCL ((__force fmode_t)0x80)
153 #define FMODE_PATH ((__force fmode_t)0x4000)
979 fmode_t f_mode;
[all …]
A Ddevice-mapper.h160 fmode_t mode;
170 int dm_get_device(struct dm_target *ti, const char *path, fmode_t mode,
513 int dm_table_create(struct dm_table **result, fmode_t mode,
557 fmode_t dm_table_get_mode(struct dm_table *t);
A Dcdrom.h106 fmode_t mode);
107 extern void cdrom_release(struct cdrom_device_info *cdi, fmode_t mode);
109 fmode_t mode, unsigned int cmd, unsigned long arg);
A Dbsg.h12 fmode_t mode, unsigned int timeout);
A Dnfs_fs.h86 fmode_t mode;
415 …fs_open_context *nfs_find_open_context(struct inode *inode, const struct cred *cred, fmode_t mode);
416 extern struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode, struc…
A Dposix-clock.h56 int (*open) (struct posix_clock *pc, fmode_t f_mode);
/linux/tools/perf/tests/
A Dbpf-script-test-prologue.c33 fmode_t f_mode = (fmode_t)_f_mode; in bpf_func__null_lseek()
/linux/include/scsi/
A Dscsi_ioctl.h48 int scsi_ioctl(struct scsi_device *sdev, struct gendisk *disk, fmode_t mode,
52 bool scsi_cmd_allowed(unsigned char *cmd, fmode_t mode);
/linux/drivers/block/rnbd/
A Drnbd-srv-dev.h18 fmode_t blk_open_flags;
34 struct rnbd_dev *rnbd_dev_open(const char *path, fmode_t flags,
A Drnbd-srv.h60 fmode_t open_flags;
/linux/fs/proc/
A Dfd.c99 static bool tid_fd_mode(struct task_struct *task, unsigned fd, fmode_t *mode) in tid_fd_mode()
112 fmode_t f_mode) in tid_fd_update_inode()
141 fmode_t f_mode; in tid_fd_revalidate()
181 fmode_t mode;
/linux/drivers/scsi/
A Dscsi_ioctl.c248 bool scsi_cmd_allowed(unsigned char *cmd, fmode_t mode) in scsi_cmd_allowed()
346 struct sg_io_hdr *hdr, fmode_t mode) in scsi_fill_sghdr_rq()
412 struct sg_io_hdr *hdr, fmode_t mode) in sg_io()
534 fmode_t mode, struct scsi_ioctl_command __user *sic) in sg_scsi_ioctl()
810 fmode_t mode, void __user *arg) in scsi_cdrom_send_packet()
866 fmode_t mode, void __user *argp) in scsi_ioctl_sg_io()
894 int scsi_ioctl(struct scsi_device *sdev, struct gendisk *disk, fmode_t mode, in scsi_ioctl()
/linux/fs/btrfs/
A Dvolumes.h73 fmode_t mode;
512 fmode_t flags, void *holder);
514 fmode_t flags, void *holder);
533 struct block_device **bdev, fmode_t *mode);
/linux/drivers/block/paride/
A 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);
287 static int pf_open(struct block_device *bdev, fmode_t mode) in pf_open()
330 static int pf_ioctl(struct block_device *bdev, fmode_t mode, unsigned int cmd, unsigned long arg) in pf_ioctl()
346 static void pf_release(struct gendisk *disk, fmode_t mode) in pf_release()
/linux/drivers/block/
A 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);
886 static int floppy_locked_ioctl(struct block_device *bdev, fmode_t mode, in floppy_locked_ioctl()
914 static int floppy_ioctl(struct block_device *bdev, fmode_t mode, in floppy_ioctl()
926 static int floppy_open(struct block_device *bdev, fmode_t mode) in floppy_open()
996 static int floppy_unlocked_open(struct block_device *bdev, fmode_t mode) in floppy_unlocked_open()
1007 static void floppy_release(struct gendisk *disk, fmode_t mode) in floppy_release()
A Dataflop.c444 static int fd_locked_ioctl(struct block_device *bdev, fmode_t mode, unsigned int
449 static int floppy_open(struct block_device *bdev, fmode_t mode);
450 static void floppy_release(struct gendisk *disk, fmode_t mode);
1582 static int fd_locked_ioctl(struct block_device *bdev, fmode_t mode, in fd_locked_ioctl()
1769 static int fd_ioctl(struct block_device *bdev, fmode_t mode, in fd_ioctl()
1916 static int floppy_open(struct block_device *bdev, fmode_t mode) in floppy_open()
1954 static int floppy_unlocked_open(struct block_device *bdev, fmode_t mode) in floppy_unlocked_open()
1965 static void floppy_release(struct gendisk *disk, fmode_t mode) in floppy_release()
A Dz2ram.c143 static int z2_open(struct block_device *bdev, fmode_t mode) in z2_open()
293 static void z2_release(struct gendisk *disk, fmode_t mode) in z2_release()
/linux/drivers/block/aoe/
A Daoeblk.c219 aoeblk_open(struct block_device *bdev, fmode_t mode) in aoeblk_open()
247 aoeblk_release(struct gendisk *disk, fmode_t mode) in aoeblk_release()
300 aoeblk_ioctl(struct block_device *bdev, fmode_t mode, uint cmd, ulong arg) in aoeblk_ioctl()

Completed in 77 milliseconds

12345