Home
last modified time | relevance | path

Searched refs:block (Results 1 – 25 of 33) sorted by relevance

12

/DragonOS/kernel/src/libs/
H A Dnotifier.rs31 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 Dvec_cursor.rs8 use crate::driver::base::block::SeekFrom;
/DragonOS/tools/debugging/logmonitor/src/
H A Dui.rs48 .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 Dmemblock.rs78 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 Dsyscall.rs9 driver::base::block::SeekFrom,
/DragonOS/kernel/src/driver/base/
H A Dmod.rs1 pub mod block; module
/DragonOS/kernel/src/driver/
H A Dmod.rs3 pub mod block; module
/DragonOS/kernel/src/driver/block/cache/
H A Dcache_block.rs3 use crate::driver::base::block::block_device::BlockId;
H A Dcache_iter.rs1 use crate::driver::base::block::block_device::BlockId;
H A Dcached_block_device.rs5 use crate::{driver::base::block::block_device::BlockId, libs::rwlock::RwLock};
/DragonOS/kernel/src/driver/disk/ahci/
H A Dmod.rs5 use crate::driver::base::block::manager::block_dev_manager;
6 use crate::driver::block::cache::cached_block_device::BlockCache;
H A Dahcidisk.rs3 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 Dmod.rs10 use super::base::block::block_device::BlockDevName;
/DragonOS/kernel/src/driver/virtio/
H A Dvirtio.rs6 use crate::driver::block::virtio_blk::virtio_blk;
/DragonOS/kernel/src/filesystem/
H A Dmbr.rs11 driver::base::block::{block_device::BlockDevice, disk_info::Partition, SeekFrom},
/DragonOS/kernel/src/driver/base/block/
H A Dmanager.rs9 driver::base::block::gendisk::GenDisk,
H A Dblock_device.rs13 block::cache::{cached_block_device::BlockCache, BlockCacheError, BLOCK_SIZE},
/DragonOS/kernel/src/process/
H A Dexec.rs7 driver::base::block::SeekFrom,
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.4.md40 - block io: new: Block IO 调度器. 当具有多核时,io调度器在核心1上运行。 (#158)
H A DV0.1.5.md48 - block io: delete: 移除Block IO 调度器. (#196)
H A DV0.1.9.md98 - 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 Dbpb.rs7 driver::base::block::{block_device::LBA_SIZE, gendisk::GenDisk, SeekFrom},
/DragonOS/kernel/src/filesystem/vfs/
H A Dcore.rs8 driver::base::block::{gendisk::GenDisk, manager::block_dev_manager},
H A Dopen.rs13 driver::base::block::SeekFrom, process::ProcessManager,
/DragonOS/kernel/crates/rbpf/src/
H A Dcranelift.rs256 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()

12