Home
last modified time | relevance | path

Searched defs:res (Results 1 – 25 of 40) sorted by relevance

12

/DragonOS/kernel/crates/rbpf/src/
H A Dcranelift.rs396 let res = bcx.ins().iadd(src, imm); in translate_program() localVariable
403 let res = bcx.ins().iadd(lhs, rhs); in translate_program() localVariable
410 let res = bcx.ins().isub(src, imm); in translate_program() localVariable
417 let res = bcx.ins().isub(lhs, rhs); in translate_program() localVariable
424 let res = bcx.ins().imul(src, imm); in translate_program() localVariable
431 let res = bcx.ins().imul(lhs, rhs); in translate_program() localVariable
436 let res = if insn.imm == 0 { in translate_program() localVariable
457 let res = bcx.ins().select(rhs_is_zero, zero, div_res); in translate_program() localVariable
464 let res = bcx.ins().bor(src, imm); in translate_program() localVariable
471 let res = bcx.ins().bor(lhs, rhs); in translate_program() localVariable
[all …]
H A Ddisassembler.rs213 let mut res = vec![]; in to_insn_vec() localVariable
/DragonOS/kernel/crates/rbpf/examples/
H A Dload_elf.rs96 let res = vm.execute_program(packet1).unwrap(); in main() localVariable
104 let res = unsafe { vm.execute_program_jit(packet2).unwrap() }; in main() localVariable
111 let res = vm.execute_program(packet2).unwrap(); in main() localVariable
/DragonOS/kernel/src/arch/x86_64/math/
H A Dbitcount.h27 int res = 0; in __clzl() local
46 int res = 0; in __clzll() local
/DragonOS/kernel/src/bpf/helper/
H A Dmod.rs58 let res = perf_event_output(ctx, &map, flags, data); in raw_perf_event_output() localVariable
102 let res = bpf_probe_read(dst, src); in raw_bpf_probe_read() localVariable
130 let res = map_update_elem(&map, key, value, flags); in raw_map_update_elem() localVariable
151 let res = map_delete_elem(&map, key); in raw_map_delete_elem() localVariable
189 let res = map_for_each_elem(&map, cb, ctx as _, flags); in raw_map_for_each_elem() localVariable
247 let res = map_push_elem(&map, value, flags); in raw_map_push_elem() localVariable
268 let res = map_pop_elem(&map, value); in raw_map_pop_elem() localVariable
289 let res = map_peek_elem(&map, value); in raw_map_peek_elem() localVariable
/DragonOS/user/apps/test_utimensat/
H A Dmain.c10 int res = utimensat(AT_FDCWD, "/bin/about.elf", NULL, 0); in main() local
/DragonOS/kernel/src/common/math/
H A Dpow.c12 int64_t res = 1; in pow() local
/DragonOS/kernel/src/libs/
H A Dvec_cursor.rs59 let mut res = 0u16; in read_u16() localVariable
73 let mut res = 0u32; in read_u32() localVariable
87 let mut res = 0u64; in read_u64() localVariable
H A Dspinlock.rs73 let res = self.try_lock(); in lock() localVariable
121 let res = self in inner_try_lock() localVariable
H A Drwlock.rs239 let res: bool = self in inner_try_write() localVariable
415 let res = self.inner.lock.compare_exchange( in try_upgrade() localVariable
H A Dwait_queue.rs241 let res = ProcessManager::wakeup(&to_wakeup).is_ok(); in wakeup() localVariable
/DragonOS/kernel/src/bpf/
H A Dmod.rs23 let res = match cmd { in bpf() localVariable
/DragonOS/kernel/src/driver/video/
H A Dmod.rs52 let res = self.set_run(); in run_video_refresh() localVariable
71 let res = self in set_run() localVariable
/DragonOS/kernel/src/bpf/map/
H A Dlru.rs58 let res = cb(key, value, ctx); in for_each_elem() localVariable
86 let res = iter.next(); in get_next_key() localVariable
H A Dhash_map.rs60 let res = cb(key, value, ctx); in for_each_elem() localVariable
88 let res = iter.next(); in get_next_key() localVariable
H A Darray_map.rs122 let res = cb(&key, value, ctx); in for_each_elem() localVariable
270 let res = cb(&key, value, ctx); in for_each_elem() localVariable
/DragonOS/kernel/crates/rbpf/tests/
H A Dmisc.rs153 let res = vm.execute_program(packet).unwrap(); in test_vm_block_port() localVariable
221 let res = vm.execute_program_jit(packet).unwrap(); in test_jit_block_port() localVariable
/DragonOS/kernel/src/filesystem/procfs/
H A Dlog.rs101 let res = format!( in fmt() localVariable
/DragonOS/kernel/src/
H A Dlib.rs164 let res = unwinding::panic::begin_panic_with_hook::<Tracer>( in panic() localVariable
/DragonOS/tools/debugging/logmonitor/src/backend/
H A Dmod.rs123 let res = loader::KernelLoader::load(&self.command_line_args.kernel) in load_kernel() localVariable
/DragonOS/kernel/src/driver/acpi/
H A Dmod.rs93 let res = unsafe { acpi::AcpiTables::from_rsdp(AcpiHandlerImpl, table_paddr.data()) }; in map_tables() localVariable
/DragonOS/kernel/src/driver/firmware/efi/
H A Dmemmap.rs85 let res = unsafe { *(vaddr.data() as *const Self::Item) }; in next() localVariable
/DragonOS/kernel/src/sched/
H A Dpelt.rs250 let res = *x + y; in add_positive() localVariable
/DragonOS/kernel/src/syscall/
H A Dmod.rs87 let res = unwinding::panic::catch_unwind(|| Self::handle(syscall_num, args, frame)); in catch_handle() localVariable
251 let res = if frame.is_from_user() && verify_area(virt_addr, len).is_err() { in handle() localVariable
682 let res = if let Some(cmd) = cmd { in handle() localVariable
695 let res = Self::ftruncate(fd, len); in handle() localVariable
/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dsc.rs298 let res = NonNull::new(ptr).ok_or(AllocationError::OutOfMemory); in allocate() localVariable

12