Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 10 of 10) sorted by relevance

/DragonOS/kernel/crates/wait_queue_macros/src/
H A Dlib.rs15 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 Dasm.h361 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 Dexit.rs110 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 Dkthread.rs511 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 Dkallsyms.c61 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 Dsignal.rs75 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 Dsyscall.rs108 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 Dsignal_types.rs333 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 Dntty.rs1857 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 Dlinux_bpf.rs626 pub retval: __u32, field