Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 53) sorted by relevance

123

/DragonOS/kernel/src/driver/tty/pty/
H A Dmod.rs201 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 Dutils.rs7 return ProcessFlags::empty(); in current_pcb_flags()
H A Dmod.rs250 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 Dsbi.rs65 static mut EXTENSIONS: SBIExtensions = SBIExtensions::empty();
84 let mut extensions = SBIExtensions::empty(); in probe_extensions()
/DragonOS/kernel/src/libs/
H A Dspinlock.rs110 flags: SpinLockGuardFlags::empty(), in try_lock()
136 flags: SpinLockGuardFlags::empty(), in try_lock_irqsave()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dbump.rs48 MemoryAreaAttr::empty(), in arch_remain_areas()
/DragonOS/kernel/src/driver/base/
H A Dkobject.rs64 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 Dirqdesc.rs107 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 Dmod.rs192 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 Dmod.rs103 state: NetDeivceState::empty(), in default()
/DragonOS/kernel/src/driver/firmware/efi/
H A Dmod.rs56 init_flags: EFIInitFlags::empty(), in new()
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dlapic_vector.rs50 flags: IrqChipFlags::empty(), in new()
145 status: ApicChipStatus::empty(), in new()
H A Dioapic.rs432 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 Dapic_timer.rs100 desc.modify_status(IrqLineStatus::IRQ_LEVEL, IrqLineStatus::empty()); in local_apic_timer_irq_desc_init()
/DragonOS/kernel/src/net/event_poll/
H A Dsyscall.rs23 return EventPoll::do_create_epoll(FileMode::empty()); in epoll_create()
H A Dmod.rs124 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 Dtimer_riscv.rs111 desc.modify_status(IrqLineStatus::IRQ_LEVEL, IrqLineStatus::empty()); in riscv_sbi_timer_irq_desc_init()
/DragonOS/kernel/src/perf/
H A Dbpf.rs45 pub fn empty() -> Self { in empty() method
227 mmap_page: RingPage::empty(), in new()
/DragonOS/kernel/src/ipc/
H A Dsignal_types.rs271 flags: SigFlags::empty(),
279 flags: SigFlags::empty(),
/DragonOS/kernel/src/mm/
H A Dfault.rs579 VmFaultReason::empty() in do_fault_around()
625 VmFaultReason::empty() in filemap_map_pages()
643 let mut ret = VmFaultReason::empty(); in filemap_fault()
H A Dmemblock.rs57 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 Driscv_intc.rs100 flags: IrqChipFlags::empty(), in new()
/DragonOS/kernel/src/filesystem/vfs/
H A Dsyscall.rs415 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 Deventfd.rs205 let mut events = EPollEventType::empty(); in poll()
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dipi.rs240 desc.modify_status(IrqLineStatus::IRQ_LEVEL, IrqLineStatus::empty()); in do_init_irq_handler()

123