Home
last modified time | relevance | path

Searched refs:lock_no_preempt (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.9/kernel/src/filesystem/vfs/
Dsyscall.rs300 let file = file.lock_no_preempt(); in ioctl()
324 return file.lock_no_preempt().read(buf.len(), buf); in read()
344 return file.lock_no_preempt().write(buf.len(), buf); in write()
363 return file.lock_no_preempt().lseek(seek); in lseek()
385 return file.lock_no_preempt().pread(offset, len, buf); in pread()
407 return file.lock_no_preempt().pwrite(offset, len, buf); in pwrite()
527 let res = file.lock_no_preempt().readdir(dirent).map(|x| x as usize); in getdents()
615 .lock_no_preempt() in dup()
669 .lock_no_preempt() in do_dup2()
743 return Ok(file.lock_no_preempt().mode().bits() as usize); in fcntl()
[all …]
/DragonOS-0.1.9/kernel/src/libs/
Dspinlock.rs83 pub fn lock_no_preempt(&self) -> SpinLockGuard<T> { in lock_no_preempt() method
/DragonOS-0.1.9/kernel/src/net/socket/
Dmod.rs301 return self.0.lock_no_preempt(); in inner_no_preempt()
342 return self.0.lock_no_preempt().read(&mut buf[0..len]).0; in read_at()
352 return self.0.lock_no_preempt().write(&buf[0..len], None); in write_at()