/DragonOS/kernel/src/libs/ |
H A D | notifier.rs | 31 block: Arc<dyn NotifierBlock<V, T>>, in register() 39 if Arc::ptr_eq(&block, b) { in register() 42 Arc::as_ptr(&block) in register() 47 if block.priority() > b.priority() { in register() 52 if block.priority() == b.priority() && unique_priority { in register() 60 self.0.insert(index, block); in register() 65 pub fn unregister(&mut self, block: Arc<dyn NotifierBlock<V, T>>) -> Result<(), SystemError> { in unregister() 66 let remove = self.0.extract_if(|b| Arc::ptr_eq(&block, b)); in unregister() 119 pub fn register(&mut self, block: Arc<dyn NotifierBlock<V, T>>) -> Result<(), SystemError> { in register() 121 return notifier_chain_guard.register(block, false); in register() [all …]
|
H A D | vec_cursor.rs | 8 use crate::driver::base::block::SeekFrom;
|
/DragonOS/tools/debugging/logmonitor/src/ |
H A D | ui.rs | 48 .block(Block::default().borders(Borders::ALL).title(app.title)) in render() 78 let block = Block::default().borders(Borders::ALL).title("Speed:"); in draw_memory_logging_speed_gauges() localVariable 79 f.render_widget(block, area); in draw_memory_logging_speed_gauges() 82 .block(Block::default().title("Memory Log Speed:")) in draw_memory_logging_speed_gauges() 132 List::new(list_to_show.1).block(Block::default().borders(Borders::ALL).title("List")); in draw_footer()
|
/DragonOS/kernel/src/mm/ |
H A D | memblock.rs | 78 let block = PhysMemoryArea::new(base, size, MemoryAreaAttr::empty()); in add_range() localVariable 81 inner.initial_memory_regions[0] = block; in add_range() 88 .do_add_block(&mut inner, block, false, flags) in add_range() 97 self.do_add_block(&mut inner, block, true, flags) in add_range() 106 block: PhysMemoryArea, in do_add_block() 110 let mut base = block.base; in do_add_block() 111 let end = block.base + block.size; in do_add_block()
|
H A D | syscall.rs | 9 driver::base::block::SeekFrom,
|
/DragonOS/kernel/src/driver/base/ |
H A D | mod.rs | 1 pub mod block; module
|
/DragonOS/kernel/src/driver/ |
H A D | mod.rs | 3 pub mod block; module
|
/DragonOS/kernel/src/driver/block/cache/ |
H A D | cache_block.rs | 3 use crate::driver::base::block::block_device::BlockId;
|
H A D | cache_iter.rs | 1 use crate::driver::base::block::block_device::BlockId;
|
H A D | cached_block_device.rs | 5 use crate::{driver::base::block::block_device::BlockId, libs::rwlock::RwLock};
|
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | mod.rs | 5 use crate::driver::base::block::manager::block_dev_manager; 6 use crate::driver::block::cache::cached_block_device::BlockCache;
|
H A D | ahcidisk.rs | 3 use crate::driver::base::block::block_device::{ 6 use crate::driver::base::block::disk_info::Partition; 7 use crate::driver::base::block::manager::BlockDevMeta;
|
/DragonOS/kernel/src/driver/scsi/ |
H A D | mod.rs | 10 use super::base::block::block_device::BlockDevName;
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | virtio.rs | 6 use crate::driver::block::virtio_blk::virtio_blk;
|
/DragonOS/kernel/src/filesystem/ |
H A D | mbr.rs | 11 driver::base::block::{block_device::BlockDevice, disk_info::Partition, SeekFrom},
|
/DragonOS/kernel/src/driver/base/block/ |
H A D | manager.rs | 9 driver::base::block::gendisk::GenDisk,
|
H A D | block_device.rs | 13 block::cache::{cached_block_device::BlockCache, BlockCacheError, BLOCK_SIZE},
|
/DragonOS/kernel/src/process/ |
H A D | exec.rs | 7 driver::base::block::SeekFrom,
|
/DragonOS/docs/community/ChangeLog/V0.1.x/ |
H A D | V0.1.4.md | 40 - block io: new: Block IO 调度器. 当具有多核时,io调度器在核心1上运行。 (#158)
|
H A D | V0.1.5.md | 48 - block io: delete: 移除Block IO 调度器. (#196)
|
H A D | V0.1.9.md | 98 - bugfix: 修复无法sleep的问题以及进程处于block(true)状态时无法被信号唤醒&唤醒后不处理信号的问题 ([#470](https://github.com/DragonOS-C… 838 bugfix: 修复无法sleep的问题以及进程处于block(true)状态时无法被信号唤醒&唤醒后不处理信号的问题 (#470) 1157 2. 修正fat和block device中,对文件写入部分的错误问题 1798 * 修复mmio buddy忘记归还buddy block的问题
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | bpb.rs | 7 driver::base::block::{block_device::LBA_SIZE, gendisk::GenDisk, SeekFrom},
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | core.rs | 8 driver::base::block::{gendisk::GenDisk, manager::block_dev_manager},
|
H A D | open.rs | 13 driver::base::block::SeekFrom, process::ProcessManager,
|
/DragonOS/kernel/crates/rbpf/src/ |
H A D | cranelift.rs | 256 if let Some(block) = self.insn_blocks.get(&(insn_ptr as u32)) { in translate_program() 260 bcx.ins().jump(*block, &[]); in translate_program() 263 bcx.switch_to_block(*block); in translate_program()
|