Home
last modified time | relevance | path

Searched defs:ret (Results 1 – 25 of 42) sorted by relevance

12

/DragonOS/user/apps/test-for-robustfutex/src/
H A Dmain.rs125 let ret = unsafe { in futex_wait() localVariable
174 let ret = unsafe { in futex_wake() localVariable
214 let ret = syscall2(set_robust_list, head as usize, len); in set_list() localVariable
284 let ret = syscall2(set_robust_list, head as usize, len); in test01() localVariable
296 let ret = syscall3(get_robust_list, 0, head as usize, len_ptr as usize); in test01() localVariable
/DragonOS/kernel/src/libs/futex/
H A Dsyscall.rs119 let ret = RobustListHead::set_robust_list(head_uaddr, len); in set_robust_list() localVariable
132 let ret = RobustListHead::get_robust_list(pid, head_uaddr, len_ptr_uaddr); in get_robust_list() localVariable
H A Dfutex.rs433 let ret = bucket_1_mut.wake_up(key1.clone(), None, nr_wake as u32)?; in futex_requeue() localVariable
755 let ret = Self::handle_futex_death(futex_uaddr, pcb.pid().into() as u32); in exit_robust_list() localVariable
/DragonOS/user/apps/test_sqlite3/
H A Dmain.c71 int ret = sqlite3_open(":memory:", &db); in memory() local
80 int ret = sqlite3_open("file.sqlite", &db); in file() local
/DragonOS/kernel/src/arch/riscv64/syscall/
H A Dmod.rs16 let ret = $val; localVariable
/DragonOS/kernel/src/mm/
H A Dfault.rs200 let mut ret = VmFaultReason::VM_FAULT_COMPLETED; in handle_pte_fault() localVariable
297 let mut ret = Self::filemap_fault(pfm); in do_cow_fault() localVariable
354 let mut ret = Self::do_fault_around(pfm); in do_read_fault() localVariable
375 let mut ret = Self::filemap_fault(pfm); in do_shared_fault() localVariable
643 let mut ret = VmFaultReason::empty(); in filemap_fault() localVariable
/DragonOS/user/apps/test_ebpf/syscall_ebpf/xtask/src/
H A Dmain.rs26 let ret = match opts.command { in main() localVariable
/DragonOS/kernel/src/exception/
H A Dresend.rs55 let mut ret = Ok(()); in irq_check_and_resend() localVariable
H A Dmanage.rs668 let mut ret = Ok(()); in irq_startup() localVariable
818 let mut ret = Ok(()); in irq_do_set_affinity() localVariable
955 let ret; in do_set_irq_trigger() localVariable
/DragonOS/kernel/src/arch/x86_64/pci/
H A Dpci.rs47 let ret = unsafe { in read_config() localVariable
/DragonOS/kernel/src/arch/x86_64/syscall/
H A Dmod.rs51 let ret = $val; localVariable
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dmod.rs105 let ret = ld.open(tty); in ldisc_setup() localVariable
116 let ret: Result<(), SystemError> = ld.open(o_tty.clone()); in ldisc_setup() localVariable
H A Dntty.rs1033 let ret = self.read_flags.first_index(); in canon_copy_from_read_buf() localVariable
1374 let ret = self.do_output_char(tty.clone(), c, space); in echoes() localVariable
1587 let ret = self.disc_data_try_lock(); in read() localVariable
1638 let mut ret: Result<usize, SystemError> = Ok(0); in read() localVariable
1776 let ret = ldata.process_output_block(core, core.termios(), &buf[offset..], nr); in write() localVariable
/DragonOS/kernel/src/arch/x86_64/include/asm/
H A Dasm.h209 unsigned char ret = 0; in io_in8() local
221 unsigned int ret = 0; in io_in32() local
/DragonOS/kernel/src/net/event_poll/
H A Dsyscall.rs29 let ret = EventPoll::do_create_epoll(flags); in epoll_create1() localVariable
H A Dmod.rs458 let mut ret = false; in do_epoll_wait() localVariable
694 let ret = self.ready_list.iter().find(|epi| Arc::ptr_eq(epi, &epitem)); in ep_add_ready() localVariable
/DragonOS/kernel/src/arch/x86_64/init/
H A Dmod.rs112 let ret = hpet_init(); in setup_arch_post() localVariable
/DragonOS/kernel/src/libs/
H A Dwait_queue.rs373 let mut ret = 0; in wakeup_any() localVariable
399 let mut ret = 0; in wakeup() localVariable
H A Dnotifier.rs90 let mut ret: i32 = 0; in call_chain() localVariable
/DragonOS/kernel/src/syscall/
H A Dmisc.rs75 let mut ret = Vec::new(); in get_random() localVariable
/DragonOS/kernel/src/driver/tty/
H A Dtty_device.rs160 let ret = tty.open(tty.core()); in open() localVariable
257 let ret = ld.write(tty.clone(), &buf[written..], size, mode)?; in write_at() localVariable
391 let ret = tty.resize(tty.clone(), *user_winsize); in ioctl() localVariable
H A Dtty_port.rs86 let ret = ld.receive_buf2(tty.clone(), buf, None, count); in receive_buf() localVariable
/DragonOS/kernel/src/driver/firmware/efi/
H A Dfdt.rs125 let mut ret = EFIFdtParams::default(); in get_fdt_params() localVariable
/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dvirtual_console.rs1654 let ret = self.driver_funcs().con_getxy(self, start); in do_update_region() localVariable
1705 let ret = self.driver_funcs().con_getxy(self, start); in do_update_region() localVariable
1775 let ret = self in build_attr() localVariable
1783 let mut ret = color; in build_attr() localVariable
/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dsc.rs343 let ret = slab_page.deallocate(ptr, new_layout); in deallocate() localVariable

12