/DragonOS/user/apps/test_mkfifo/ |
H A D | main.c | 19 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 D | ps2_keyboard.rs | 192 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 D | build.rs | 24 let status = Command::new("cargo") in build_project() localVariable 26 .status() in build_project() 28 assert!(status.success()); in build_project()
|
H A D | build_ebpf.rs | 59 let status = Command::new("cargo") in build_ebpf() localVariable 63 .status() in build_ebpf() 65 assert!(status.success()); in build_ebpf()
|
H A D | run.rs | 46 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/exception/ |
H A D | irqdata.rs | 58 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 331 pub fn irqd_insert(&mut self, status: IrqStatus) { in irqd_insert() [all …]
|
H A D | manage.rs | 355 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() 872 if !common_data.status().affinity_managed() { in __irq_startup_managed() 943 if !desc_inner_guard.common_data().status().masked() { in do_set_irq_trigger() [all …]
|
H A D | handle.rs | 138 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 D | exit.rs | 38 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/kernel/src/arch/riscv64/process/ |
H A D | kthread.rs | 36 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 D | syscall.rs | 103 regs.status.update_spp(SPP::User); in do_execve() 104 regs.status.update_fs(FS::Clean); in do_execve() 105 regs.status.update_sum(true); in do_execve()
|
H A D | mod.rs | 205 if unlikely(prev_regs.status.sd()) { in switch_process_fpu() 429 if regs.status.fs() == riscv::register::sstatus::FS::Dirty { in save() 436 if regs.status.fs() != riscv::register::sstatus::FS::Off { in restore() 443 regs.status.update_fs(riscv::register::sstatus::FS::Clean); in do_clean()
|
/DragonOS/user/apps/test_namespace/src/ |
H A D | main.rs | 16 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 D | fdt.rs | 278 let status = node.property("status"); in is_device_avaliable() localVariable 279 if status.is_none() { in is_device_avaliable() 283 let status = status.unwrap().as_str(); in is_device_avaliable() localVariable 284 if let Some(status) = status { in is_device_avaliable() 285 if status == "okay" || status == "ok" { in is_device_avaliable()
|
/DragonOS/kernel/src/arch/riscv64/interrupt/ |
H A D | mod.rs | 103 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 D | entry.rs | 156 off_status = const offset_of!(TrapFrame, status), in _save_context() 214 off_status = const offset_of!(TrapFrame, status), in ret_from_exception()
|
/DragonOS/kernel/src/driver/net/e1000e/ |
H A D | e1000e.rs | 75 status: u8, field 86 status: u16, field 285 let status = unsafe { volread!(general_regs, status) }; in new() localVariable 324 ring.status = 0; in new() 331 ring.status = 1; in new() 434 if (desc.status & E1000E_RXD_STATUS_DD) == 0 { in e1000e_receive() 452 if (desc.status & E1000E_TXD_STATUS_DD) == 0 { in e1000e_can_transmit() 469 desc.status = 0; in e1000e_transmit() 637 status: ReadOnly<u32>, //0x00008 field
|
/DragonOS/kernel/src/driver/pci/ |
H A D | pci.rs | 360 let status = Status::from_bits_truncate(common_header.status); in status_command() localVariable 362 (status, command) in status_command() 427 pub status: u16, // 用于记录pci总线相关时间的状态信息寄存器 field 671 let status: Status = Status::from_bits_truncate((result >> 16) as u16); in capabilities_offset() localVariable 672 if status.contains(Status::CAPABILITIES_LIST) { in capabilities_offset() 695 let status = (result >> 16) as u16; in pci_read_header() localVariable 716 status, in pci_read_header() 1076 HeaderType::Standard if common_header.status & 0x10 != 0 => { in pci_init() 1077 …bdf={}", common_header.class_code, common_header.subclass, common_header.status, box_pci_device.as… in pci_init() 1082 common_header.class_code, common_header.subclass, common_header.status in pci_init() [all …]
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | transport.rs | 125 fn set_status(&mut self, status: virtio_drivers::transport::DeviceStatus) { in set_status() 127 VirtIOTransport::Pci(transport) => transport.set_status(status), in set_status() 128 VirtIOTransport::Mmio(transport) => transport.set_status(status), in set_status()
|
H A D | transport_mmio.rs | 115 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 D | Makefile | 17 GIT_STATUS := $(shell git status --porcelain --untracked-files=no)
|
/DragonOS/kernel/src/libs/ |
H A D | keyboard_parser.rs | 27 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 D | lapic_vector.rs | 145 status: ApicChipStatus::empty(), in new() 164 status: ApicChipStatus, field
|
/DragonOS/docs/community/ChangeLog/V0.1.x/ |
H A D | V0.1.2.md | 49 - procfs->status增加显示preempt和虚拟运行时间 (#100) 279 * procfs->status增加显示preempt和虚拟运行时间
|
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | hba.rs | 333 pub status: u8, // Status register field 379 pub status: u8, // Status register field
|