Lines Matching refs:direct_io
2292 int direct_io = iocb->ki_flags & IOCB_DIRECT ? 1 : 0; in ocfs2_file_write_iter() local
2301 if (!direct_io && nowait) in ocfs2_file_write_iter()
2318 rw_level = (!direct_io || full_coherency || append_write); in ocfs2_file_write_iter()
2334 if (direct_io && full_coherency) { in ocfs2_file_write_iter()
2368 if (direct_io && !is_sync_kiocb(iocb) && in ocfs2_file_write_iter()
2381 BUG_ON(written == -EIOCBQUEUED && !direct_io); in ocfs2_file_write_iter()
2399 if (((file->f_flags & O_DSYNC) && !direct_io) || in ocfs2_file_write_iter()
2440 int direct_io = iocb->ki_flags & IOCB_DIRECT ? 1 : 0; in ocfs2_file_read_iter() local
2456 if (!direct_io && nowait) in ocfs2_file_read_iter()
2463 if (direct_io) { in ocfs2_file_read_iter()
2501 BUG_ON(ret == -EIOCBQUEUED && !direct_io); in ocfs2_file_read_iter()