Searched refs:direct_io (Results 1 – 6 of 6) sorted by relevance
2370 int direct_io = iocb->ki_flags & IOCB_DIRECT ? 1 : 0; in ocfs2_file_write_iter() local2379 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() local2534 if (!direct_io && nowait) in ocfs2_file_read_iter()2541 if (direct_io) { in ocfs2_file_read_iter()[all …]
255 ctx->direct_io = false; in cifs_parse_cache_flavor()261 ctx->direct_io = false; in cifs_parse_cache_flavor()267 ctx->direct_io = true; in cifs_parse_cache_flavor()273 ctx->direct_io = false; in cifs_parse_cache_flavor()279 ctx->direct_io = false; in cifs_parse_cache_flavor()1712 if (ctx->direct_io) in smb3_update_mnt_flags()
202 bool direct_io:1; member
3016 if (ctx->direct_io) { in cifs_write_from_iter()3181 if (ctx->direct_io) in collect_uncached_write_data()3264 ctx->direct_io = true; in __cifs_writev()3731 if (ctx->direct_io) in cifs_send_async_read()3755 if (ctx->direct_io) { in cifs_send_async_read()3896 if (!ctx->direct_io) in collect_uncached_read_data()3905 if (ctx->direct_io) { in collect_uncached_read_data()3929 else if (!ctx->direct_io) in collect_uncached_read_data()3942 if (!ctx->direct_io) in collect_uncached_read_data()4009 ctx->direct_io = true; in __cifs_readv()
1311 bool direct_io; member
2927 if (ctx->direct_io) in cifs_setup_cifs_sb()