Home
last modified time | relevance | path

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

12345

/linux-6.1.9/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.h197 fmode_t state; /* State on the server (R,W, or RW) */
320 fmode_t fmode);
328 fmode_t fmode);
496 extern void nfs4_close_state(struct nfs4_state *, fmode_t);
497 extern void nfs4_close_sync(struct nfs4_state *, fmode_t);
498 extern void nfs4_state_set_mode_locked(struct nfs4_state *, fmode_t);
515 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 …]
/linux-6.1.9/block/
Dioctl.c85 static int blk_ioctl_discard(struct block_device *bdev, fmode_t mode, in blk_ioctl_discard()
123 static int blk_ioctl_secure_erase(struct block_device *bdev, fmode_t mode, in blk_ioctl_secure_erase()
154 static int blk_ioctl_zeroout(struct block_device *bdev, fmode_t mode, in blk_ioctl_zeroout()
243 int blkdev_compat_ptr_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_compat_ptr_ioctl()
347 static int blkdev_flushbuf(struct block_device *bdev, fmode_t mode, in blkdev_flushbuf()
357 static int blkdev_roset(struct block_device *bdev, fmode_t mode, in blkdev_roset()
442 static int blkdev_bszset(struct block_device *bdev, fmode_t mode, in blkdev_bszset()
470 static int blkdev_common_ioctl(struct file *file, fmode_t mode, unsigned cmd, in blkdev_common_ioctl()
564 fmode_t mode = file->f_mode; in blkdev_ioctl()
634 fmode_t mode = file->f_mode; in compat_blkdev_ioctl()
Dbdev.c96 int truncate_bdev_range(struct block_device *bdev, fmode_t mode, in truncate_bdev_range()
666 static int blkdev_get_whole(struct block_device *bdev, fmode_t mode) in blkdev_get_whole()
690 static void blkdev_put_whole(struct block_device *bdev, fmode_t mode) in blkdev_put_whole()
698 static int blkdev_get_part(struct block_device *part, fmode_t mode) in blkdev_get_part()
725 static void blkdev_put_part(struct block_device *part, fmode_t mode) in blkdev_put_part()
786 struct block_device *blkdev_get_by_dev(dev_t dev, fmode_t mode, void *holder) in blkdev_get_by_dev()
876 struct block_device *blkdev_get_by_path(const char *path, fmode_t mode, in blkdev_get_by_path()
897 void blkdev_put(struct block_device *bdev, fmode_t mode) in blkdev_put()
Dblk-zoned.c332 int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_report_zones_ioctl()
370 static int blkdev_truncate_zone_range(struct block_device *bdev, fmode_t mode, in blkdev_truncate_zone_range()
390 int blkdev_zone_mgmt_ioctl(struct block_device *bdev, fmode_t mode, in blkdev_zone_mgmt_ioctl()
/linux-6.1.9/tools/perf/tests/
Dbpf-script-test-prologue.c33 fmode_t f_mode = (fmode_t)_f_mode; in bpf_func__null_lseek()
/linux-6.1.9/include/scsi/
Dscsi_ioctl.h48 int scsi_ioctl(struct scsi_device *sdev, fmode_t mode, int cmd,
52 bool scsi_cmd_allowed(unsigned char *cmd, fmode_t mode);
/linux-6.1.9/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.h340 extern int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode,
342 extern int blkdev_zone_mgmt_ioctl(struct block_device *bdev, fmode_t mode,
353 fmode_t mode, unsigned int cmd, in blkdev_report_zones_ioctl()
360 fmode_t mode, unsigned int cmd, in blkdev_zone_mgmt_ioctl()
1401 int (*open) (struct block_device *, fmode_t);
1402 void (*release) (struct gendisk *, fmode_t);
1404 int (*ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
1405 int (*compat_ioctl) (struct block_device *, fmode_t, unsigned, unsigned long);
1432 extern int blkdev_compat_ptr_ioctl(struct block_device *, fmode_t,
1491 struct block_device *blkdev_get_by_path(const char *path, fmode_t mode,
[all …]
Dcdrom.h105 fmode_t mode);
106 extern void cdrom_release(struct cdrom_device_info *cdi, fmode_t mode);
108 fmode_t mode, unsigned int cmd, unsigned long arg);
Ddevice-mapper.h168 fmode_t mode;
178 int dm_get_device(struct dm_target *ti, const char *path, fmode_t mode,
527 int dm_table_create(struct dm_table **result, fmode_t mode,
570 fmode_t dm_table_get_mode(struct dm_table *t);
Dbsg.h12 fmode_t mode, unsigned int timeout);
Dposix-clock.h56 int (*open) (struct posix_clock *pc, fmode_t f_mode);
Dnfs_fs.h83 fmode_t mode;
412 …fs_open_context *nfs_find_open_context(struct inode *inode, const struct cred *cred, fmode_t mode);
413 extern struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode, struc…
/linux-6.1.9/fs/proc/
Dfd.c109 static bool tid_fd_mode(struct task_struct *task, unsigned fd, fmode_t *mode) in tid_fd_mode()
122 fmode_t f_mode) in tid_fd_update_inode()
151 fmode_t f_mode; in tid_fd_revalidate()
191 fmode_t mode;
/linux-6.1.9/drivers/scsi/
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()
407 static int sg_io(struct scsi_device *sdev, struct sg_io_hdr *hdr, fmode_t mode) in sg_io()
501 static int sg_scsi_ioctl(struct request_queue *q, fmode_t mode, in sg_scsi_ioctl()
776 static int scsi_cdrom_send_packet(struct scsi_device *sdev, fmode_t mode, in scsi_cdrom_send_packet()
832 static int scsi_ioctl_sg_io(struct scsi_device *sdev, fmode_t mode, in scsi_ioctl_sg_io()
860 int scsi_ioctl(struct scsi_device *sdev, fmode_t mode, int cmd, in scsi_ioctl()
/linux-6.1.9/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);
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-6.1.9/fs/btrfs/
Dvolumes.h107 fmode_t mode;
627 fmode_t flags, void *holder);
629 fmode_t flags, void *holder);
648 struct block_device **bdev, fmode_t *mode);
/linux-6.1.9/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);
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()
Dataflop.c445 static int fd_locked_ioctl(struct block_device *bdev, fmode_t mode, unsigned int
450 static int floppy_open(struct block_device *bdev, fmode_t mode);
451 static void floppy_release(struct gendisk *disk, fmode_t mode);
1584 static int fd_locked_ioctl(struct block_device *bdev, fmode_t mode, in fd_locked_ioctl()
1771 static int fd_ioctl(struct block_device *bdev, fmode_t mode, in fd_ioctl()
1918 static int floppy_open(struct block_device *bdev, fmode_t mode) in floppy_open()
1956 static int floppy_unlocked_open(struct block_device *bdev, fmode_t mode) in floppy_unlocked_open()
1967 static void floppy_release(struct gendisk *disk, fmode_t mode) in floppy_release()
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-6.1.9/drivers/block/rnbd/
Drnbd-srv.h55 fmode_t open_flags;
/linux-6.1.9/include/linux/mtd/
Dblktrans.h37 fmode_t file_mode;
/linux-6.1.9/drivers/block/aoe/
Daoeblk.c207 aoeblk_open(struct block_device *bdev, fmode_t mode) in aoeblk_open()
235 aoeblk_release(struct gendisk *disk, fmode_t mode) in aoeblk_release()
288 aoeblk_ioctl(struct block_device *bdev, fmode_t mode, uint cmd, ulong arg) in aoeblk_ioctl()

12345