Home
last modified time | relevance | path

Searched refs:div (Results 1 – 7 of 7) sorted by relevance

/DragonOS/
H A DREADME.md1 <div align="center">
12 </div>
H A DREADME_EN.md1 <div align="center">
12 </div>
/DragonOS/kernel/crates/rbpf/src/
H A Djit.rs389 let div = (opc & ebpf::BPF_ALU_OP_MASK) == (ebpf::DIV32_IMM & ebpf::BPF_ALU_OP_MASK); in emit_muldivmod() localVariable
394 if (div || mul) && !is_reg && imm == 0 { in emit_muldivmod()
404 if (div || modrm) && is_reg { in emit_muldivmod()
414 if div { in emit_muldivmod()
447 if div || modrm { in emit_muldivmod()
466 if div || mul { in emit_muldivmod()
H A Dinsn_builder.rs128 pub fn div(&mut self, source: Source, arch: Arch) -> Move { in div() method
1467 .div(Source::Imm, Arch::X64) in move_div_constant_to_register()
1652 .div(Source::Reg, Arch::X64) in move_div_from_register_to_register()
1836 .div(Source::Imm, Arch::X32) in move_div_constant_to_register()
2021 .div(Source::Reg, Arch::X32) in move_div_from_register_to_register()
/DragonOS/kernel/src/time/
H A Dtimekeeping.rs151 let cycle_delta = (cycle_now.div(clock_data.cycle_last)).data() & clock_data.mask.bits(); in timekeeping_get_ns()
403 let mut offset = (clock.read().div(clock_data.cycle_last).data()) & clock_data.mask.bits(); in update_wall_time()
H A Dmod.rs428 fn div(self, rhs: u32) -> Duration { in div() method
H A Dclocksource.rs91 pub fn div(&self, other: CycleNum) -> CycleNum { in div() method
865 CycleNum(cs_now_clock.div(cs_data.cs_last).data() & cs_data.mask.bits), in clocksource_watchdog()