Home
last modified time | relevance | path

Searched refs:file_to_blk_mode (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/block/
Dfops.c580 blk_mode_t file_to_blk_mode(struct file *file) in file_to_blk_mode() function
616 mode = file_to_blk_mode(filp); in blkdev_open()
817 error = truncate_bdev_range(bdev, file_to_blk_mode(file), start, end); in blkdev_fallocate()
826 error = truncate_bdev_range(bdev, file_to_blk_mode(file), start, end); in blkdev_fallocate()
Dioctl.c650 blk_mode_t mode = file_to_blk_mode(file); in blkdev_ioctl()
711 blk_mode_t mode = file_to_blk_mode(file); in compat_blkdev_ioctl()
795 if (!(file_to_blk_mode(cmd->file) & BLK_OPEN_WRITE)) in blkdev_cmd_discard()
Dblk.h608 blk_mode_t file_to_blk_mode(struct file *file);