Lines Matching refs:direct_io
2370 int direct_io = iocb->ki_flags & IOCB_DIRECT ? 1 : 0; in ocfs2_file_write_iter() local
2379 if (!direct_io && nowait) in ocfs2_file_write_iter()
2396 rw_level = (!direct_io || full_coherency || append_write); in ocfs2_file_write_iter()
2412 if (direct_io && full_coherency) { in ocfs2_file_write_iter()
2446 if (direct_io && !is_sync_kiocb(iocb) && in ocfs2_file_write_iter()
2459 BUG_ON(written == -EIOCBQUEUED && !direct_io); in ocfs2_file_write_iter()
2477 if (((file->f_flags & O_DSYNC) && !direct_io) || in ocfs2_file_write_iter()
2518 int direct_io = iocb->ki_flags & IOCB_DIRECT ? 1 : 0; in ocfs2_file_read_iter() local
2534 if (!direct_io && nowait) in ocfs2_file_read_iter()
2541 if (direct_io) { in ocfs2_file_read_iter()
2579 BUG_ON(ret == -EIOCBQUEUED && !direct_io); in ocfs2_file_read_iter()