/DragonOS/kernel/src/driver/tty/pty/ |
H A D | mod.rs | 201 TtyPacketStatus::empty(); in pty_set_packet_mode() 260 term.input_mode = InputMode::empty(); in pty_init() 261 term.output_mode = OutputMode::empty(); in pty_init() 263 term.local_mode = LocalMode::empty(); in pty_init() 281 term.input_mode = InputMode::empty(); in pty_init() 282 term.output_mode = OutputMode::empty(); in pty_init() 284 term.local_mode = LocalMode::empty(); in pty_init()
|
/DragonOS/kernel/src/process/ |
H A D | utils.rs | 7 return ProcessFlags::empty(); in current_pcb_flags()
|
H A D | mod.rs | 250 rq.check_preempt_currnet(pcb, WakeupFlags::empty()); in wakeup() 287 rq.check_preempt_currnet(pcb, WakeupFlags::empty()); in wakeup_stop() 723 let flags = unsafe { LockFreeFlags::new(ProcessFlags::empty()) }; in do_create_pcb() 1586 sig_block: SigSet::empty(), in default()
|
/DragonOS/kernel/src/arch/riscv64/driver/ |
H A D | sbi.rs | 65 static mut EXTENSIONS: SBIExtensions = SBIExtensions::empty(); 84 let mut extensions = SBIExtensions::empty(); in probe_extensions()
|
/DragonOS/kernel/src/libs/ |
H A D | spinlock.rs | 110 flags: SpinLockGuardFlags::empty(), in try_lock() 136 flags: SpinLockGuardFlags::empty(), in try_lock_irqsave()
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | bump.rs | 48 MemoryAreaAttr::empty(), in arch_remain_areas()
|
/DragonOS/kernel/src/driver/base/ |
H A D | kobject.rs | 64 let insert = insert.unwrap_or(KObjectState::empty()); in update_kobj_state() 65 let remove = remove.unwrap_or(KObjectState::empty()); in update_kobj_state() 115 let state = state.unwrap_or(KObjectState::empty()); in new()
|
/DragonOS/kernel/src/exception/ |
H A D | irqdesc.rs | 107 desc_internal_state: IrqDescState::empty(), in new() 108 line_status: IrqLineStatus::empty(), in new() 280 IrqLineStatus::empty(), in set_percpu_devid_flags() 291 self.modify_status(IrqLineStatus::IRQ_NOPROBE, IrqLineStatus::empty()); in set_probe() 296 self.modify_status(IrqLineStatus::empty(), IrqLineStatus::IRQ_NOPROBE); in set_noprobe() 668 flags: IrqHandleFlags::empty(), in new() 670 thread_flags: ThreadedHandlerFlags::empty(), in new() 891 let irq_desc = IrqDesc::new(IrqNumber::new(i), None, IrqStatus::empty()); in early_irq_init()
|
/DragonOS/kernel/src/net/socket/ |
H A D | mod.rs | 192 EPollEventType::empty() in poll() 471 shutdown_type: RwLock::new(ShutdownType::empty()), in new() 485 *self.shutdown_type.write() = ShutdownType::empty(); in reset_shutdown_type() 798 let mut events = EPollEventType::empty(); in tcp_poll() 856 let mut event = EPollEventType::empty(); in udp_poll() 887 let mut event = EPollEventType::empty(); in raw_poll()
|
/DragonOS/kernel/src/driver/net/ |
H A D | mod.rs | 103 state: NetDeivceState::empty(), in default()
|
/DragonOS/kernel/src/driver/firmware/efi/ |
H A D | mod.rs | 56 init_flags: EFIInitFlags::empty(), in new()
|
/DragonOS/kernel/src/arch/x86_64/driver/apic/ |
H A D | lapic_vector.rs | 50 flags: IrqChipFlags::empty(), in new() 145 status: ApicChipStatus::empty(), in new()
|
H A D | ioapic.rs | 432 desc.modify_status(IrqLineStatus::empty(), IrqLineStatus::IRQ_LEVEL); in register_handler() 435 desc.modify_status(IrqLineStatus::IRQ_LEVEL, IrqLineStatus::empty()); in register_handler()
|
H A D | apic_timer.rs | 100 desc.modify_status(IrqLineStatus::IRQ_LEVEL, IrqLineStatus::empty()); in local_apic_timer_irq_desc_init()
|
/DragonOS/kernel/src/net/event_poll/ |
H A D | syscall.rs | 23 return EventPoll::do_create_epoll(FileMode::empty()); in epoll_create()
|
H A D | mod.rs | 124 return EPollEventType::empty(); in ep_item_poll() 130 return EPollEventType::empty(); in ep_item_poll() 728 EPollEventType::empty() in wakeup_epoll()
|
/DragonOS/kernel/src/driver/clocksource/ |
H A D | timer_riscv.rs | 111 desc.modify_status(IrqLineStatus::IRQ_LEVEL, IrqLineStatus::empty()); in riscv_sbi_timer_irq_desc_init()
|
/DragonOS/kernel/src/perf/ |
H A D | bpf.rs | 45 pub fn empty() -> Self { in empty() method 227 mmap_page: RingPage::empty(), in new()
|
/DragonOS/kernel/src/ipc/ |
H A D | signal_types.rs | 271 flags: SigFlags::empty(), 279 flags: SigFlags::empty(),
|
/DragonOS/kernel/src/mm/ |
H A D | fault.rs | 579 VmFaultReason::empty() in do_fault_around() 625 VmFaultReason::empty() in filemap_map_pages() 643 let mut ret = VmFaultReason::empty(); in filemap_fault()
|
H A D | memblock.rs | 57 let r = self.add_range(base, size, MemoryAreaAttr::empty()); in add_block() 78 let block = PhysMemoryArea::new(base, size, MemoryAreaAttr::empty()); in add_range()
|
/DragonOS/kernel/src/driver/irqchip/ |
H A D | riscv_intc.rs | 100 flags: IrqChipFlags::empty(), in new()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | syscall.rs | 415 mode = ModeType::empty(); in new() 907 AtFlags::empty(), in link() 1106 Self::do_dup3(oldfd, newfd, FileMode::empty(), fd_table_guard) in do_dup2() 1345 ModeType::empty().bits(), in stat() 1357 ModeType::empty().bits(), in lstat() 1370 ModeType::empty().bits(), in statfs() 1416 let ofd = Self::open(path, flags.bits(), ModeType::empty().bits, true)?; in do_statx()
|
/DragonOS/kernel/src/filesystem/ |
H A D | eventfd.rs | 205 let mut events = EPollEventType::empty(); in poll()
|
/DragonOS/kernel/src/arch/x86_64/interrupt/ |
H A D | ipi.rs | 240 desc.modify_status(IrqLineStatus::IRQ_LEVEL, IrqLineStatus::empty()); in do_init_irq_handler()
|