Home
last modified time | relevance | path

Searched defs:from (Results 1 – 25 of 49) sorted by relevance

12

/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dipi.rs34 fn from(kind: IpiKind) -> Self { in from() method
44 fn from(value: ArchIpiKind) -> Self { in from() method
67 fn from(target: IpiTarget) -> Self { in from() method
80 fn from(val: ArchIpiTarget) -> Self { in from() method
113 fn from(val: ArchIpiTarget) -> Self { in from() method
/DragonOS/kernel/src/net/
H A Dmod.rs105 fn from(value: smoltcp::wire::IpProtocol) -> Self { in from() method
112 fn from(value: u8) -> Self { in from() method
130 fn from(value: Protocol) -> Self { in from() method
/DragonOS/user/apps/user-manage/src/parser/
H A Dcmd.rs39 fn from(s: String) -> Self { in from() method
58 fn from(option: CmdOption) -> Self { in from() method
/DragonOS/kernel/src/time/
H A Dmod.rs111 fn from(dur: Duration) -> Self { in from() method
120 fn from(value: PosixTimeval) -> Self { in from() method
129 fn from(val: PosixTimeSpec) -> Self { in from() method
468 fn from(other: ::core::time::Duration) -> Duration { in from() method
474 fn from(val: Duration) -> Self { in from() method
481 fn from(val: smoltcp::time::Instant) -> Self { in from() method
487 fn from(val: Instant) -> Self { in from() method
494 fn from(val: smoltcp::time::Duration) -> Self { in from() method
500 fn from(val: Duration) -> Self { in from() method
H A Dtimer.rs63 fn from(jiffies: Jiffies) -> Self { in from() method
80 fn from(ms: Duration) -> Self { in from() method
/DragonOS/kernel/src/mm/
H A Dsyscall.rs143 fn from(map_flags: MapFlags) -> Self { in from() method
167 fn from(prot_flags: ProtFlags) -> Self { in from() method
187 fn from(shm_flags: ShmFlags) -> Self { in from() method
209 fn from(value: VmFlags) -> Self { in from() method
233 fn from(value: VmFlags) -> Self { in from() method
/DragonOS/kernel/src/libs/lib_ui/
H A Dtextui.rs162 fn from(value: LineId) -> Self { in from() method
167 fn from(value: LineId) -> Self { in from() method
172 fn from(value: LineId) -> Self { in from() method
223 fn from(val: LineIndex) -> Self { in from() method
228 fn from(value: LineIndex) -> Self { in from() method
233 fn from(value: LineIndex) -> Self { in from() method
258 fn from(value: u32) -> Self { in from() method
263 fn from(value: FontColor) -> Self { in from() method
268 fn from(value: FontColor) -> Self { in from() method
273 fn from(value: FontColor) -> Self { in from() method
[all …]
/DragonOS/kernel/src/bpf/map/
H A Dutil.rs50 fn from(value: &bpf_attr) -> Self { in from() method
70 fn from(value: &bpf_attr) -> Self { in from() method
/DragonOS/kernel/src/filesystem/vfs/
H A Dutils.rs120 fn from(value: String) -> Self { in from() method
126 fn from(value: &str) -> Self { in from() method
/DragonOS/kernel/src/filesystem/procfs/
H A Dsyscall.rs28 fn from(value: usize) -> Self { in from() method
H A Dlog.rs42 fn from(value: usize) -> Self { in from() method
/DragonOS/kernel/src/arch/x86_64/ipc/
H A Dsignal.rs84 fn from(value: usize) -> Self { in from() method
96 fn from(val: Signal) -> Self { in from() method
102 fn from(value: i32) -> Self { in from() method
113 fn from(val: Signal) -> Self { in from() method
313 fn from(value: SigChildCode) -> Self { in from() method
/DragonOS/kernel/crates/intertrait/macros/src/
H A Dargs.rs13 fn from(ident: &Ident) -> Result<Self> { in from() method
/DragonOS/kernel/src/exception/
H A Dsoftirq.rs78 fn from(value: u64) -> Self { in from() method
92 fn from(value: SoftirqNumber) -> Self { in from() method
/DragonOS/kernel/src/bpf/prog/
H A Dutil.rs46 fn from(attr: &bpf_attr) -> Self { in from() method
/DragonOS/kernel/src/arch/x86_64/
H A Dkprobe.rs40 fn from(trap_frame: &TrapFrame) -> Self { in from() method
/DragonOS/kernel/src/arch/riscv64/ipc/
H A Dsignal.rs67 fn from(value: usize) -> Self { in from() method
85 fn from(value: i32) -> Self { in from() method
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dxapic.rs96 fn from(val: XApicOffset) -> Self { in from() method
102 fn from(lvt: LVTRegister) -> Self { in from() method
H A Dmod.rs122 fn from(val: LVTRegister) -> Self { in from() method
430 pub fn from(data: u32) -> Self { in from() method
/DragonOS/kernel/src/driver/base/device/
H A Ddevice_number.rs70 fn from(x: u32) -> Self { in from() method
/DragonOS/kernel/src/driver/firmware/efi/
H A Dfdt.rs65 fn from(value: FdtPropType) -> Self { in from() method
/DragonOS/kernel/src/arch/x86_64/init/pvh/
H A Dparam.rs177 fn from(val: u32) -> Self { in from() method
/DragonOS/user/apps/user-manage/src/check/
H A Dinfo.rs19 fn from(info: UAddInfo) -> Self { in from() method
/DragonOS/kernel/src/driver/rtc/
H A Dmod.rs142 fn from(val: RtcTime) -> Self { in from() method
/DragonOS/kernel/src/arch/riscv64/
H A Dkprobe.rs49 fn from(trap_frame: &TrapFrame) -> Self { in from() method

12