Lines Matching defs:mode
440 /// Returns the operation's fsync mode: data and metadata or data only?
441 pub fn mode(&self) -> AioFsyncMode {
450 /// * `mode`: Whether to sync file metadata too, or just data.
458 mode: AioFsyncMode,
463 // To save some memory, store mode in an unused field of the AioCb.
467 aiocb.aiocb.0.aio_lio_opcode = mode as libc::c_int;
486 let mode = mem::replace(&mut aiocb.aio_lio_opcode, 0);
488 Errno::result(unsafe { libc::aio_fsync(mode, p) }).map(|_| {
702 // In vectored mode, aio_nbytes stores the length of the iovec array,
931 // In vectored mode, aio_nbytes stores the length of the iovec array,
1074 /// This mode is useful for otherwise-synchronous programs that want to execute
1176 mode: LioMode,
1185 libc::lio_listio(mode as i32, p, list.len() as i32, sigevp)