Searched refs:FMODE_NDELAY (Results 1 – 12 of 12) sorted by relevance
330 mode |= FMODE_NDELAY; in compat_blkdev_ioctl()332 mode &= ~FMODE_NDELAY; in compat_blkdev_ioctl()
211 if (ret && (mode & FMODE_NDELAY) == 0) {
1762 filp->f_mode |= FMODE_NDELAY; in blkdev_open()1879 mode |= FMODE_NDELAY; in block_ioctl()1881 mode &= ~FMODE_NDELAY; in block_ioctl()
2595 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()
663 if (mode & FMODE_NDELAY) in floppy_open()
981 if (err == 0 && (mode & FMODE_NDELAY) == 0 in floppy_open()
1862 if (mode & FMODE_NDELAY) in floppy_open()
4044 if (!(mode & FMODE_NDELAY)) { in floppy_open()
569 (mode & FMODE_NDELAY) != 0); in sr_block_ioctl()
1343 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()
1159 if ((mode & FMODE_NDELAY) && (cdi->options & CDO_USE_FFLAGS)) { in cdrom_open()1273 !(mode & FMODE_NDELAY); in cdrom_release()
116 #define FMODE_NDELAY ((__force fmode_t)0x40) macro