Home
last modified time | relevance | path

Searched refs:status (Results 1 – 22 of 22) sorted by relevance

/DragonOS-0.1.9/user/apps/test_mkfifo/
Dmain.c19 int status; in main() local
69 waitpid(pid, &status, 0); in main()
71 if (WIFEXITED(status)) in main()
73 printf("Child process exited with status: %d\n", WEXITSTATUS(status)); in main()
/DragonOS-0.1.9/kernel/src/driver/keyboard/
Dps2_keyboard.rs181 let status = unsafe { CurrentPortIOArch::in8(PORT_PS2_KEYBOARD_STATUS.into()) }; in handle() localVariable
182 let status = Ps2StatusRegister::from(status); in handle() localVariable
183 if !status.outbuf_full() { in handle()
202 let mut status: Ps2StatusRegister; in wait_ps2_keyboard_write() localVariable
204 status = Ps2StatusRegister::from(unsafe { in wait_ps2_keyboard_write()
207 if !status.inbuf_full() { in wait_ps2_keyboard_write()
241 let status = unsafe { CurrentPortIOArch::in8(PORT_PS2_KEYBOARD_STATUS.into()) }; in ps2_keyboard_init() localVariable
242 let status = Ps2StatusRegister::from(status); in ps2_keyboard_init() localVariable
243 if status.outbuf_full() { in ps2_keyboard_init()
/DragonOS-0.1.9/kernel/src/exception/
Dirqdata.rs57 pub fn irqd_set(&self, status: IrqStatus) { in irqd_set()
60 common_data.insert_status(status); in irqd_set()
64 pub fn irqd_clear(&self, status: IrqStatus) { in irqd_clear()
67 common_data.clear_status(status); in irqd_clear()
204 pub fn insert_status(&self, status: IrqStatus) { in insert_status()
205 self.inner.lock_irqsave().irqd_insert(status); in insert_status()
208 pub fn clear_status(&self, status: IrqStatus) { in clear_status()
209 self.inner.lock_irqsave().irqd_clear(status); in clear_status()
265 pub fn status(&self) -> IrqStatus { in status() method
309 pub fn irqd_insert(&mut self, status: IrqStatus) { in irqd_insert()
[all …]
Dhandle.rs106 let status = desc_inner_guard.common_data().status(); in handle() localVariable
107 if status.disabled() == false && status.masked() { in handle()
141 let status = desc_inner_guard.common_data().status(); in irq_may_run() localVariable
144 if status.bitand(mask).is_empty() { in irq_may_run()
Dmanage.rs356 let status = irq_data.common_data().status(); in inner_setup_irq() localVariable
357 if status.trigger_type_was_set() { in inner_setup_irq()
358 old_trigger_type = status.trigger_type(); in inner_setup_irq()
618 if !desc_inner_guard.common_data().status().affinity_managed() { in irq_activate()
638 if desc_inner_guard.common_data().status().started() { in irq_startup()
692 if !common_data.status().disabled() { in irq_enable()
730 if common_data.status().affinity_managed() in irq_setup_affinity()
731 || common_data.status().contains(IrqStatus::IRQD_AFFINITY_SET) in irq_setup_affinity()
832 if !common_data.status().affinity_managed() { in __irq_startup_managed()
903 if desc_inner_guard.common_data().status().masked() == false { in do_set_irq_trigger()
[all …]
Dirqdomain.rs248 if !irq_data.common_data().status().is_activated() { in activate_irq()
253 irq_data.common_data().status().set_activated(); in activate_irq()
Dirqdesc.rs447 if self.common_data.status().can_balance() == false in can_set_affinity()
/DragonOS-0.1.9/kernel/src/process/
Dexit.rs36 pub status: i32, field
96 ret_info.status in kernel_wait4()
193 status: Signal::SIGCONT as i32, in do_waitpid()
220 status: exitcode, in do_waitpid()
227 ProcessState::Exited(status) => { in do_waitpid()
240 status: status as i32, in do_waitpid()
245 kwo.ret_status = status as i32; in do_waitpid()
Dsyscall.rs141 pub fn exit(status: usize) -> ! { in exit()
142 ProcessManager::exit(status); in exit()
/DragonOS-0.1.9/kernel/src/driver/open_firmware/
Dfdt.rs252 let status = node.property("status"); in is_device_avaliable() localVariable
253 if status.is_none() { in is_device_avaliable()
257 let status = status.unwrap().as_str(); in is_device_avaliable() localVariable
258 if let Some(status) = status { in is_device_avaliable()
259 if status == "okay" || status == "ok" { in is_device_avaliable()
/DragonOS-0.1.9/kernel/src/driver/net/e1000e/
De1000e.rs76 status: u8, field
87 status: u16, field
286 let status = unsafe { volread!(general_regs, status) }; in new() localVariable
325 recv_desc_ring[i].status = 0; in new()
332 trans_desc_ring[i].status = 1; in new()
435 if (desc.status & E1000E_RXD_STATUS_DD) == 0 { in e1000e_receive()
453 if (desc.status & E1000E_TXD_STATUS_DD) == 0 { in e1000e_can_transmit()
470 desc.status = 0; in e1000e_transmit()
644 status: ReadOnly<u32>, //0x00008 field
/DragonOS-0.1.9/kernel/src/arch/riscv64/interrupt/
Dmod.rs97 status: Sstatus, field
112 self.status.spp() == riscv::register::sstatus::SPP::User in from_user()
Dentry.rs228 off_status = const offset_of!(TrapFrame, status), in _save_context()
285 off_status = const offset_of!(TrapFrame, status), in ret_from_exception()
/DragonOS-0.1.9/kernel/src/driver/pci/
Dpci.rs319 let status = Status::from_bits_truncate(common_header.status); in status_command() localVariable
321 (status, command) in status_command()
386 pub status: u16, // 用于记录pci总线相关时间的状态信息寄存器 field
714 let status: Status = Status::from_bits_truncate((result >> 16) as u16); in capabilities_offset() localVariable
715 if status.contains(Status::CAPABILITIES_LIST) { in capabilities_offset()
738 let status = (result >> 16) as u16; in pci_read_header() localVariable
759 status, in pci_read_header()
1111 HeaderType::Standard if common_header.status & 0x10 != 0 => { in pci_init()
1112 …bdf={}", common_header.class_code, common_header.subclass, common_header.status, box_pci_device.as… in pci_init()
1119 common_header.status in pci_init()
[all …]
/DragonOS-0.1.9/kernel/src/libs/
Dkeyboard_parser.rs27 status: ScanCodeStatus, field
35 status: ScanCodeStatus::new(), in new()
43 self.current_state = self.current_state.parse(scancode, &mut self.status); in parse()
/DragonOS-0.1.9/kernel/src/arch/x86_64/driver/apic/
Dlapic_vector.rs145 status: ApicChipStatus::empty(), in new()
164 status: ApicChipStatus, field
/DragonOS-0.1.9/docs/community/ChangeLog/V0.1.x/
DV0.1.2.md49 - procfs->status增加显示preempt和虚拟运行时间 (#100)
279 * procfs->status增加显示preempt和虚拟运行时间
DV0.1.1.md35 - procfs:查看进程的status
DV0.1.9.md1183 * 修复进程退出后,procfs查看进程status文件会崩溃的问题
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
Dhba.rs312 pub status: u8, // Status register field
358 pub status: u8, // Status register field
/DragonOS-0.1.9/kernel/src/driver/virtio/
Dtransport_pci.rs295 fn set_status(&mut self, status: DeviceStatus) { in set_status()
299 volwrite!(self.common_cfg, device_status, status.bits() as u8); in set_status()
/DragonOS-0.1.9/
DLICENSE255 of preserving the free status of all derivatives of our free software and