/DragonOS/kernel/crates/rbpf/src/ |
H A D | cranelift.rs | 396 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 D | disassembler.rs | 213 let mut res = vec![]; in to_insn_vec() localVariable
|
/DragonOS/kernel/crates/rbpf/examples/ |
H A D | load_elf.rs | 96 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 D | bitcount.h | 27 int res = 0; in __clzl() local 46 int res = 0; in __clzll() local
|
/DragonOS/kernel/src/bpf/helper/ |
H A D | mod.rs | 58 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 D | main.c | 10 int res = utimensat(AT_FDCWD, "/bin/about.elf", NULL, 0); in main() local
|
/DragonOS/kernel/src/common/math/ |
H A D | pow.c | 12 int64_t res = 1; in pow() local
|
/DragonOS/kernel/src/libs/ |
H A D | vec_cursor.rs | 59 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 D | spinlock.rs | 73 let res = self.try_lock(); in lock() localVariable 121 let res = self in inner_try_lock() localVariable
|
H A D | rwlock.rs | 239 let res: bool = self in inner_try_write() localVariable 415 let res = self.inner.lock.compare_exchange( in try_upgrade() localVariable
|
H A D | wait_queue.rs | 241 let res = ProcessManager::wakeup(&to_wakeup).is_ok(); in wakeup() localVariable
|
/DragonOS/kernel/src/bpf/ |
H A D | mod.rs | 23 let res = match cmd { in bpf() localVariable
|
/DragonOS/kernel/src/driver/video/ |
H A D | mod.rs | 52 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 D | lru.rs | 58 let res = cb(key, value, ctx); in for_each_elem() localVariable 86 let res = iter.next(); in get_next_key() localVariable
|
H A D | hash_map.rs | 60 let res = cb(key, value, ctx); in for_each_elem() localVariable 88 let res = iter.next(); in get_next_key() localVariable
|
H A D | array_map.rs | 122 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 D | misc.rs | 153 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 D | log.rs | 101 let res = format!( in fmt() localVariable
|
/DragonOS/kernel/src/ |
H A D | lib.rs | 164 let res = unwinding::panic::begin_panic_with_hook::<Tracer>( in panic() localVariable
|
/DragonOS/tools/debugging/logmonitor/src/backend/ |
H A D | mod.rs | 123 let res = loader::KernelLoader::load(&self.command_line_args.kernel) in load_kernel() localVariable
|
/DragonOS/kernel/src/driver/acpi/ |
H A D | mod.rs | 93 let res = unsafe { acpi::AcpiTables::from_rsdp(AcpiHandlerImpl, table_paddr.data()) }; in map_tables() localVariable
|
/DragonOS/kernel/src/driver/firmware/efi/ |
H A D | memmap.rs | 85 let res = unsafe { *(vaddr.data() as *const Self::Item) }; in next() localVariable
|
/DragonOS/kernel/src/sched/ |
H A D | pelt.rs | 250 let res = *x + y; in add_positive() localVariable
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 87 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 D | sc.rs | 298 let res = NonNull::new(ptr).ok_or(AllocationError::OutOfMemory); in allocate() localVariable
|