Searched refs:block (Results 1 – 9 of 9) sorted by relevance
/DragonOS-0.1.8/kernel/src/libs/ |
D | notifier.rs | 30 block: Arc<dyn NotifierBlock<T>>, in register() 38 if Arc::as_ptr(&block) == Arc::as_ptr(b) { in register() 41 Arc::as_ptr(&block) in register() 46 if block.priority() > b.priority() { in register() 51 if block.priority() == b.priority() && unique_priority { in register() 59 self.0.insert(index, block); in register() 64 pub fn unregister(&mut self, block: Arc<dyn NotifierBlock<T>>) -> Result<(), SystemError> { in unregister() 67 .drain_filter(|b| Arc::as_ptr(&block) == Arc::as_ptr(b)); in unregister() 106 pub fn register(&mut self, block: Arc<dyn NotifierBlock<T>>) -> Result<(), SystemError> { in register() 108 return notifier_chain_guard.register(block, false); in register() [all …]
|
/DragonOS-0.1.8/kernel/src/driver/tty/ |
D | mod.rs | 105 pub fn input(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in input() 107 let val = self.write_stdin(buf, block)?; in input() 122 pub fn output(&self, buf: &mut [u8], block: bool) -> Result<usize, TtyError> { in output() 123 return self.read_output(buf, block); in output() 133 pub fn stdout(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in stdout() 134 return self.write_output(buf, block); in stdout() 144 pub fn stderr(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in stderr() 145 return self.write_output(buf, block); in stderr() 155 pub fn read_stdin(&self, buf: &mut [u8], block: bool) -> Result<usize, TtyError> { in read_stdin() 164 if block { in read_stdin() [all …]
|
/DragonOS-0.1.8/kernel/src/mm/allocator/ |
D | slab.rs | 39 while let Some(block) = block_list.pop() { in grow() 40 self.free_block_list.push(block); in grow() 47 Some(block) => return Some(block.addr() as *mut u8), in allocate() 87 let block = self.head.take().map(|node| { in pop() localVariable 92 return block; in pop()
|
/DragonOS-0.1.8/kernel/src/io/ |
D | Makefile | 4 kernel_io_subdirs:=block
|
D | mod.rs | 1 pub mod block; module
|
/DragonOS-0.1.8/docs/kernel/process_management/ |
D | pcb.md | 3 PCB的全称为process control block, 它是每个进程/线程的核心控制结构。定义于`kernel/src/process/proc-types.h`中。
|
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/ |
D | errno.md | 183 … #define EWOULDBLOCK 80 /* 操作将被禁止 Operation would block (may be the same value as [EAGAIN]).*/
|
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.4.md | 40 - block io: new: Block IO 调度器. 当具有多核时,io调度器在核心1上运行。 (#158)
|
D | V0.1.5.md | 48 - block io: delete: 移除Block IO 调度器. (#196)
|