Home
last modified time | relevance | path

Searched refs:FMODE_NDELAY (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/block/
Dcompat_ioctl.c330 mode |= FMODE_NDELAY; in compat_blkdev_ioctl()
332 mode &= ~FMODE_NDELAY; in compat_blkdev_ioctl()
/Linux-v4.19/drivers/ide/
Dide-gd.c211 if (ret && (mode & FMODE_NDELAY) == 0) {
/Linux-v4.19/fs/
Dblock_dev.c1762 filp->f_mode |= FMODE_NDELAY; in blkdev_open()
1879 mode |= FMODE_NDELAY; in block_ioctl()
1881 mode &= ~FMODE_NDELAY; in block_ioctl()
/Linux-v4.19/drivers/block/
Dpktcdvd.c2595 ret = blkdev_get(bdev, FMODE_READ | FMODE_NDELAY, NULL); in pkt_new_dev()
2600 blkdev_put(bdev, FMODE_READ | FMODE_NDELAY); in pkt_new_dev()
2625 blkdev_put(bdev, FMODE_READ | FMODE_NDELAY); in pkt_new_dev()
2825 blkdev_put(pd->bdev, FMODE_READ | FMODE_NDELAY); in pkt_remove_dev()
Dswim.c663 if (mode & FMODE_NDELAY) in floppy_open()
Dswim3.c981 if (err == 0 && (mode & FMODE_NDELAY) == 0 in floppy_open()
Dataflop.c1862 if (mode & FMODE_NDELAY) in floppy_open()
Dfloppy.c4044 if (!(mode & FMODE_NDELAY)) { in floppy_open()
/Linux-v4.19/drivers/scsi/
Dsr.c569 (mode & FMODE_NDELAY) != 0); in sr_block_ioctl()
Dsd.c1343 if (sdev->removable && !sdkp->media_present && !(mode & FMODE_NDELAY)) in sd_open()
1471 (mode & FMODE_NDELAY) != 0); in sd_ioctl()
1686 (mode & FMODE_NDELAY) != 0); in sd_compat_ioctl()
/Linux-v4.19/drivers/cdrom/
Dcdrom.c1159 if ((mode & FMODE_NDELAY) && (cdi->options & CDO_USE_FFLAGS)) { in cdrom_open()
1273 !(mode & FMODE_NDELAY); in cdrom_release()
/Linux-v4.19/include/linux/
Dfs.h116 #define FMODE_NDELAY ((__force fmode_t)0x40) macro