Home
last modified time | relevance | path

Searched refs:reader (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/ipc/
H A Dpipe.rs60 reader: u32, field
94 if self.reader == 0 { in poll()
152 reader: 0, in new()
179 return !inode.buf_full() || inode.reader == 0; in writeable()
287 guard.reader += 1; in open()
329 assert!(guard.reader > 0); in close()
330 guard.reader -= 1; in close()
332 if guard.reader == 0 { in close()
363 if inode.reader == 0 { in write_at()
/DragonOS/kernel/src/driver/tty/
H A Dtty_device.rs383 let reader = UserBufferReader::new( in ioctl() localVariable
389 let user_winsize = reader.read_one_from_user::<WindowSize>(0)?; in ioctl()
/DragonOS/kernel/src/libs/futex/
H A Dfutex.rs612 let reader = in arch_futex_atomic_op_inuser() localVariable
615 let oldval = reader.read_one_from_user::<u32>(0)?; in arch_futex_atomic_op_inuser()
/DragonOS/kernel/src/syscall/
H A Dmod.rs740 let reader = UserBufferReader::new( in handle() localVariable
746 timespec = Some(*reader.read_one_from_user::<PosixTimeSpec>(0)?); in handle()