Searched refs:retval (Results 1 – 10 of 10) sorted by relevance
/DragonOS/kernel/crates/wait_queue_macros/src/ |
H A D | lib.rs | 15 let mut retval = Ok(()); localVariable 17 retval = wait_queue_macros::_wq_wait_event_interruptible!($wq, $condition, $cmd); 20 retval 38 let mut retval = $ret; localVariable 47 retval = x; 58 retval
|
/DragonOS/kernel/src/arch/x86_64/include/asm/ |
H A D | asm.h | 361 uint64_t retval; in __read8b() local 363 : "=r"(retval) in __read8b() 366 return retval; in __read8b() 378 uint32_t retval; in __read4b() local 380 : "=d"(retval) in __read4b() 383 return retval; in __read4b()
|
/DragonOS/kernel/src/process/ |
H A D | exit.rs | 110 let mut retval: Result<usize, SystemError>; in do_wait() localVariable 118 retval = Err(err.clone()); in do_wait() 120 retval = Ok(0); in do_wait() 124 retval = Err(SystemError::ERESTARTSYS); in do_wait() 177 return retval; in do_wait()
|
H A D | kthread.rs | 511 let mut retval = SystemError::EINTR.to_posix_errno(); in kernel_thread_bootstrap_stage2() localVariable 514 retval = closure.run(); in kernel_thread_bootstrap_stage2() 517 ProcessManager::exit(retval as usize); in kernel_thread_bootstrap_stage2()
|
/DragonOS/kernel/src/debug/ |
H A D | kallsyms.c | 61 int retval = sscanf(str, "%llx %c %512c", &entry->vaddr, &entry->type, symbol_name); in read_symbol() local 64 if (retval != 3) in read_symbol()
|
/DragonOS/kernel/src/ipc/ |
H A D | signal.rs | 75 let mut retval = Err(SystemError::ESRCH); in send_signal_info() localVariable 80 return retval; in send_signal_info() 87 retval = self.send_signal(info, pcb.clone(), PidType::PID); in send_signal_info() 90 return retval; in send_signal_info()
|
H A D | syscall.rs | 108 let retval = sig in kill() localVariable 114 return retval; in kill() 197 let retval = super::signal::do_sigaction( in sigaction() localVariable 212 if (retval == Ok(())) && (!old_act.is_null()) { in sigaction() 246 return retval.map(|_| 0); in sigaction()
|
H A D | signal_types.rs | 333 let retval: Result<i32, SystemError> = Ok(0); in copy_siginfo_to_user() localVariable 336 return retval; in copy_siginfo_to_user()
|
/DragonOS/kernel/src/driver/tty/tty_ldisc/ |
H A D | ntty.rs | 1857 let retval; in ioctl() localVariable 1862 retval = 0; in ioctl() 1878 retval = nr; in ioctl() 1881 retval = ldata.read_cnt(); in ioctl() 1890 user_writer.copy_one_to_user::<i32>(&(retval as i32), 0)?; in ioctl()
|
/DragonOS/kernel/src/include/bindings/ |
H A D | linux_bpf.rs | 626 pub retval: __u32, field
|