Home
last modified time | relevance | path

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

12

/DragonOS/user/apps/test_mkfifo/
H A 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/kernel/src/driver/keyboard/
H A Dps2_keyboard.rs192 let status = unsafe { CurrentPortIOArch::in8(PORT_PS2_KEYBOARD_STATUS.into()) }; in handle() localVariable
193 let status = Ps2StatusRegister::from(status); in handle() localVariable
194 if status.outbuf_full() { in handle()
217 let mut status: Ps2StatusRegister; in wait_ps2_keyboard_write() localVariable
219 status = Ps2StatusRegister::from(unsafe { in wait_ps2_keyboard_write()
222 if !status.inbuf_full() { in wait_ps2_keyboard_write()
232 let status = unsafe { CurrentPortIOArch::in8(PORT_PS2_KEYBOARD_STATUS.into()) }; in force_clear_input_buffer() localVariable
233 let status = Ps2StatusRegister::from(status); in force_clear_input_buffer() localVariable
234 if status.outbuf_full() { in force_clear_input_buffer()
/DragonOS/user/apps/test_ebpf/syscall_ebpf/xtask/src/
H A Dbuild.rs24 let status = Command::new("cargo") in build_project() localVariable
26 .status() in build_project()
28 assert!(status.success()); in build_project()
H A Dbuild_ebpf.rs59 let status = Command::new("cargo") in build_ebpf() localVariable
63 .status() in build_ebpf()
65 assert!(status.success()); in build_ebpf()
H A Drun.rs46 let status = Command::new(args.first().expect("No first argument")) in run() localVariable
48 .status() in run()
51 if !status.success() { in run()
/DragonOS/kernel/src/arch/riscv64/process/
H A Dsyscall.rs28 regs.status.update_spp(SPP::User); in arch_do_execve()
29 regs.status.update_fs(FS::Clean); in arch_do_execve()
30 regs.status.update_sum(true); in arch_do_execve()
H A Dkthread.rs36 frame.status.update_sie(true); in __inner_create()
37 frame.status.update_spp(SPP::Supervisor); in __inner_create()
38 frame.status.update_sum(true); in __inner_create()
85 off_status = const offset_of!(TrapFrame, status), in kernel_thread_bootstrap_stage1()
H A Dmod.rs202 if unlikely(prev_regs.status.sd()) { in switch_process_fpu()
425 if regs.status.fs() == riscv::register::sstatus::FS::Dirty { in save()
432 if regs.status.fs() != riscv::register::sstatus::FS::Off { in restore()
439 regs.status.update_fs(riscv::register::sstatus::FS::Clean); in do_clean()
/DragonOS/kernel/src/exception/
H A Dirqdata.rs58 pub fn irqd_set(&self, status: IrqStatus) { in irqd_set()
61 common_data.insert_status(status); in irqd_set()
65 pub fn irqd_clear(&self, status: IrqStatus) { in irqd_clear()
68 common_data.clear_status(status); in irqd_clear()
221 pub fn insert_status(&self, status: IrqStatus) { in insert_status()
222 self.inner.lock_irqsave().irqd_insert(status); in insert_status()
225 pub fn clear_status(&self, status: IrqStatus) { in clear_status()
226 self.inner.lock_irqsave().irqd_clear(status); in clear_status()
282 pub fn status(&self) -> IrqStatus { in status() method
332 pub fn irqd_insert(&mut self, status: IrqStatus) { in irqd_insert()
[all …]
H A Dmanage.rs355 let status = irq_data.common_data().status(); in inner_setup_irq() localVariable
356 if status.trigger_type_was_set() { in inner_setup_irq()
357 old_trigger_type = status.trigger_type(); in inner_setup_irq()
648 if !desc_inner_guard.common_data().status().affinity_managed() { in irq_activate()
673 if desc_inner_guard.common_data().status().started() { in irq_startup()
727 if !common_data.status().disabled() { in irq_enable()
765 if common_data.status().affinity_managed() in irq_setup_affinity()
766 || common_data.status().contains(IrqStatus::IRQD_AFFINITY_SET) in irq_setup_affinity()
873 if !common_data.status().affinity_managed() { in __irq_startup_managed()
944 if !desc_inner_guard.common_data().status().masked() { in do_set_irq_trigger()
[all …]
H A Dhandle.rs138 let status = desc_inner_guard.common_data().status(); in handle() localVariable
139 if !status.disabled() && status.masked() { in handle()
163 let status = desc_inner_guard.common_data().status(); in irq_may_run() localVariable
166 if status.bitand(mask).is_empty() { in irq_may_run()
/DragonOS/kernel/src/process/
H A Dexit.rs38 pub status: i32, field
98 ret_info.status in kernel_wait4()
194 status: Signal::SIGCONT as i32, in do_waitpid()
221 status: exitcode, in do_waitpid()
228 ProcessState::Exited(status) => { in do_waitpid()
241 status: status as i32, in do_waitpid()
246 kwo.ret_status = status as i32; in do_waitpid()
/DragonOS/user/apps/test_namespace/src/
H A Dmain.rs16 Ok(WaitStatus::Exited(pid, status)) => { in main()
17 println!("Child {} exited with status: {}", pid, status); in main()
/DragonOS/kernel/src/driver/open_firmware/
H A Dfdt.rs279 let status = node.property("status"); in is_device_avaliable() localVariable
280 if status.is_none() { in is_device_avaliable()
284 let status = status.unwrap().as_str(); in is_device_avaliable() localVariable
285 if let Some(status) = status { in is_device_avaliable()
286 if status == "okay" || status == "ok" { in is_device_avaliable()
/DragonOS/kernel/src/arch/riscv64/interrupt/
H A Dmod.rs103 pub status: Sstatus, field
118 self.status.spp() == riscv::register::sstatus::SPP::User in is_from_user()
155 status: unsafe { core::mem::zeroed() }, in new()
H A Dentry.rs152 off_status = const offset_of!(TrapFrame, status), in _save_context()
209 off_status = const offset_of!(TrapFrame, status), in ret_from_exception()
/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e.rs74 status: u8, field
85 status: u16, field
284 let status = unsafe { volread!(general_regs, status) }; in new() localVariable
323 ring.status = 0; in new()
330 ring.status = 1; in new()
433 if (desc.status & E1000E_RXD_STATUS_DD) == 0 { in e1000e_receive()
451 if (desc.status & E1000E_TXD_STATUS_DD) == 0 { in e1000e_can_transmit()
468 desc.status = 0; in e1000e_transmit()
642 status: ReadOnly<u32>, //0x00008 field
/DragonOS/kernel/src/driver/pci/
H A Dpci.rs353 let status = Status::from_bits_truncate(common_header.status); in status_command() localVariable
355 (status, command) in status_command()
420 pub status: u16, // 用于记录pci总线相关时间的状态信息寄存器 field
659 let status: Status = Status::from_bits_truncate((result >> 16) as u16); in capabilities_offset() localVariable
660 if status.contains(Status::CAPABILITIES_LIST) { in capabilities_offset()
683 let status = (result >> 16) as u16; in pci_read_header() localVariable
704 status, in pci_read_header()
1065 HeaderType::Standard if common_header.status & 0x10 != 0 => { in pci_init()
1066 …bdf={}", common_header.class_code, common_header.subclass, common_header.status, box_pci_device.as… in pci_init()
1071 common_header.class_code, common_header.subclass, common_header.status in pci_init()
[all …]
/DragonOS/kernel/src/driver/virtio/
H A Dtransport.rs124 fn set_status(&mut self, status: virtio_drivers::transport::DeviceStatus) { in set_status()
126 VirtIOTransport::Pci(transport) => transport.set_status(status), in set_status()
127 VirtIOTransport::Mmio(transport) => transport.set_status(status), in set_status()
H A Dtransport_mmio.rs115 fn set_status(&mut self, status: virtio_drivers::transport::DeviceStatus) { in set_status()
116 self.mmio_transport.set_status(status) in set_status()
/DragonOS/docs/
H A DMakefile17 GIT_STATUS := $(shell git status --porcelain --untracked-files=no)
/DragonOS/kernel/src/libs/
H A 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/kernel/src/arch/x86_64/driver/apic/
H A Dlapic_vector.rs145 status: ApicChipStatus::empty(), in new()
164 status: ApicChipStatus, field
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.2.md49 - procfs->status增加显示preempt和虚拟运行时间 (#100)
279 * procfs->status增加显示preempt和虚拟运行时间
/DragonOS/kernel/src/driver/disk/ahci/
H A Dhba.rs332 pub status: u8, // Status register field
378 pub status: u8, // Status register field

12