Searched refs:i32 (Results 1 – 8 of 8) sorted by relevance
/DragonOS-0.1.2/kernel/src/ipc/ |
D | signal_types.rs | 30 pub const MAX_SIG_NUM: i32 = 64; 32 pub const _NSIG_U64_CNT: i32 = MAX_SIG_NUM / 64; 166 pub si_signo: i32, 167 pub si_code: i32, 168 pub si_errno: i32, 193 pub fn new(sig: SignalNumber, _si_errno: i32, _si_code: si_code_val) -> Self { in new() argument 197 si_signo: sig as i32, in new() 198 si_code: _si_code as i32, in new() 259 #[repr(i32)] 280 pub fn from_i32(x: i32) -> si_code_val { in from_i32() [all …]
|
D | signal.rs | 66 let sig: SignalNumber = SignalNumber::from(regs.r9 as i32); in sys_kill() 77 si_signo: sig as i32, in sys_kill() 78 si_code: si_code_val::SI_USER as i32, in sys_kill() 99 fn signal_kill_something_info(sig: SignalNumber, info: Option<&mut siginfo>, pid: pid_t) -> i32 { in signal_kill_something_info() argument 103 return -(ENOTSUP as i32); in signal_kill_something_info() 110 fn signal_kill_proc_info(sig: SignalNumber, info: Option<&mut siginfo>, pid: pid_t) -> i32 { in signal_kill_proc_info() argument 111 let mut retval: i32 = -(ESRCH as i32); in signal_kill_proc_info() 135 return if (sig as i32) <= MAX_SIG_NUM { in verify_signal() 150 ) -> i32 { in signal_send_sig_info() argument 154 return -(EINVAL as i32); in signal_send_sig_info() [all …]
|
/DragonOS-0.1.2/kernel/src/driver/uart/ |
D | uart.rs | 4 const UART_SUCCESS: i32 = 0; 5 const E_UART_BITS_RATE_ERROR: i32 = 1; 6 const E_UART_SERIAL_FAULT: i32 = 2; 92 pub fn uart_init(uart_port: &UartPort, baud_rate: u32) -> Result<i32, &'static str> { in uart_init() argument 215 pub extern "C" fn c_uart_init(port: u16, baud_rate: u32) -> i32 { in c_uart_init() argument
|
/DragonOS-0.1.2/kernel/src/arch/x86_64/asm/ |
D | bitops.rs | 9 pub fn ffz(x: u64) -> i32 { in ffz() argument
|
/DragonOS-0.1.2/kernel/src/process/ |
D | fork.rs | 23 pub extern "C" fn process_copy_sighand(clone_flags: u64, pcb: *mut process_control_block) -> i32 { in process_copy_sighand() argument 34 return -(ENOMEM as i32); in process_copy_sighand() 82 pub extern "C" fn process_copy_signal(clone_flags: u64, pcb: *mut process_control_block) -> i32 { in process_copy_signal() argument 90 return -(ENOMEM as i32); in process_copy_signal()
|
D | process.rs | 37 _wake_flags: i32, in process_try_to_wake_up() argument
|
/DragonOS-0.1.2/kernel/src/time/ |
D | timekeep.rs | 31 let mut day_count: i32 = 0; in ktime_get_real()
|
/DragonOS-0.1.2/kernel/src/ |
D | lib.rs | 80 pub extern "C" fn __rust_demo_func() -> i32 { in __rust_demo_func()
|