Home
last modified time | relevance | path

Searched defs:retval (Results 1 – 21 of 21) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Dlockref.rs154 let mut retval = Err(SystemError::EPERM); in inc_not_zero() localVariable
182 let mut retval = Err(SystemError::EPERM); in inc_not_dead() localVariable
209 let retval: Result<i32, SystemError>; in dec() localVariable
272 let retval: Result<i32, SystemError>; in dec_not_zero() localVariable
301 let retval: Result<i32, SystemError>; in dec_or_lock_not_zero() localVariable
Dlockref.c192 bool retval = false; in lockref_dec_or_lock_not_zero() local
Dbitree.c156 int retval; in bt_delete() local
/DragonOS-0.1.8/user/apps/shell/
Dcmd.c416 int retval = mkdir(full_path, 0); in shell_cmd_mkdir() local
445 int retval = rmdir(full_path); in shell_cmd_rmdir() local
467 int retval = 0; in shell_cmd_rm() local
499 int retval = 0; in shell_cmd_exec() local
546 int retval = 0; in shell_cmd_kill() local
573 int retval = 0; in shell_cmd_free() local
/DragonOS-0.1.8/user/libs/libc/src/arch/x86_64/
Dcrt0.c14 int retval = main(argc, argv); in _start() local
/DragonOS-0.1.8/kernel/src/arch/x86_64/asm/
Dcmpxchg.rs10 let retval = __try_cmpxchg_q(ptr, old_ptr, new_ptr); in try_cmpxchg_q() localVariable
/DragonOS-0.1.8/kernel/src/common/
Dkfifo.h133 uint32_t retval = kfifo_in(fifo, from, size); in kfifo_in_locked() local
150 uint32_t retval = kfifo_out(fifo, to, size); in kfifo_out_locked() local
Dglib.h314 uint64_t retval; in __read8b() local
331 uint32_t retval; in __read4b() local
/DragonOS-0.1.8/kernel/src/ipc/
Dsyscall.rs68 let retval = signal_kill_something_info(sig, Some(&mut info), pid).map(|x| x as usize); in kill() localVariable
158 let retval = super::signal::do_sigaction( in sigaction() localVariable
Dsignal.rs87 let mut retval = Err(SystemError::ESRCH); in signal_kill_proc_info() localVariable
135 let mut retval = Err(SystemError::ESRCH); in signal_send_sig_info() localVariable
586 let retval = setup_frame(sig, ka, info, oldset, regs); in handle_signal() localVariable
707 let retval: Result<i32, SystemError> = Ok(0); in copy_siginfo_to_user() localVariable
/DragonOS-0.1.8/kernel/src/libs/libUI/
Dscreen_manager.c288 int retval = 0; in scm_framework_enable() local
316 int retval = 0; in scm_framework_disable() local
Dtextui.c332 int retval = scm_register(&textui_framework); in textui_init() local
/DragonOS-0.1.8/user/libs/libc/src/
Ddirent.c52 int retval = close(dirp->fd); in closedir() local
Dunistd.c115 void *retval = (void *)syscall_invoke(SYS_SBRK, (uint64_t)increment, 0, 0, 0, 0, 0, 0, 0); in sbrk() local
158 int retval = syscall_invoke(SYS_EXECVE, (uint64_t)path, (uint64_t)argv, 0, 0, 0, 0, 0, 0); in execv() local
Dstdio.c57 int retval = close(stream->fd); in fclose() local
/DragonOS-0.1.8/kernel/src/process/
Dkthread.c161 int retval = 0; in kthread() local
276 int retval; in kthread_stop() local
Dfork.c38 int retval = 0; in do_fork() local
Dprocess.c412 int retval = process_wakeup(pcb); in process_wakeup_immediately() local
Dprocess.rs56 let mut retval = false; in process_try_to_wake_up() localVariable
/DragonOS-0.1.8/kernel/src/debug/
Dkallsyms.c54 int retval = fscanf(filp, "%llx %c %510s\n", &entry->vaddr, &entry->type, str); in read_symbol() local
/DragonOS-0.1.8/kernel/src/mm/
Dmmio_buddy.rs487 let retval: i32 = 0; in create_mmio() localVariable