Home
last modified time | relevance | path

Searched refs:direct_io (Results 1 – 6 of 6) sorted by relevance

/fs/ocfs2/
Dfile.c2367 int direct_io = iocb->ki_flags & IOCB_DIRECT ? 1 : 0; in ocfs2_file_write_iter() local
2376 if (!direct_io && nowait) in ocfs2_file_write_iter()
2393 rw_level = (!direct_io || full_coherency || append_write); in ocfs2_file_write_iter()
2409 if (direct_io && full_coherency) { in ocfs2_file_write_iter()
2443 if (direct_io && !is_sync_kiocb(iocb) && in ocfs2_file_write_iter()
2456 BUG_ON(written == -EIOCBQUEUED && !direct_io); in ocfs2_file_write_iter()
2474 if (((file->f_flags & O_DSYNC) && !direct_io) || in ocfs2_file_write_iter()
2515 int direct_io = iocb->ki_flags & IOCB_DIRECT ? 1 : 0; in ocfs2_file_read_iter() local
2531 if (!direct_io && nowait) in ocfs2_file_read_iter()
2538 if (direct_io) { in ocfs2_file_read_iter()
[all …]
/fs/smb/client/
Dfs_context.c259 ctx->direct_io = false; in cifs_parse_cache_flavor()
265 ctx->direct_io = false; in cifs_parse_cache_flavor()
271 ctx->direct_io = true; in cifs_parse_cache_flavor()
277 ctx->direct_io = false; in cifs_parse_cache_flavor()
283 ctx->direct_io = false; in cifs_parse_cache_flavor()
1746 if (ctx->direct_io) in smb3_update_mnt_flags()
Dfs_context.h205 bool direct_io:1; member
Dfile.c3284 if (ctx->direct_io) { in cifs_write_from_iter()
3451 if (ctx->direct_io) in collect_uncached_write_data()
3534 ctx->direct_io = true; in __cifs_writev()
4001 if (ctx->direct_io) in cifs_send_async_read()
4025 if (ctx->direct_io) { in cifs_send_async_read()
4165 if (!ctx->direct_io) in collect_uncached_read_data()
4174 if (ctx->direct_io) { in collect_uncached_read_data()
4198 else if (!ctx->direct_io) in collect_uncached_read_data()
4211 if (!ctx->direct_io) in collect_uncached_read_data()
4278 ctx->direct_io = true; in __cifs_readv()
Dcifsglob.h1405 bool direct_io; member
Dconnect.c3256 if (ctx->direct_io) in cifs_setup_cifs_sb()