Home
last modified time | relevance | path

Searched refs:From (Results 1 – 25 of 47) sorted by relevance

12

/DragonOS/kernel/src/time/
H A Dmod.rs110 impl From<Duration> for PosixTimeSpec {
119 impl From<PosixTimeval> for PosixTimeSpec {
128 impl From<PosixTimeSpec> for Duration {
467 impl From<::core::time::Duration> for Duration {
473 impl From<Duration> for ::core::time::Duration { impl
480 impl From<smoltcp::time::Instant> for Instant {
486 impl From<Instant> for smoltcp::time::Instant {
493 impl From<smoltcp::time::Duration> for Duration {
499 impl From<Duration> for smoltcp::time::Duration {
H A Dtimer.rs53 impl From<Jiffies> for Duration {
70 impl From<Duration> for Jiffies {
/DragonOS/user/apps/user-manage/src/parser/
H A Dcmd.rs38 impl From<String> for CmdOption {
57 impl From<CmdOption> for &str { impl
/DragonOS/kernel/src/net/
H A Dmod.rs104 impl From<smoltcp::wire::IpProtocol> for Protocol {
111 impl From<u8> for Protocol {
129 impl From<Protocol> for u8 {
H A Dsyscall.rs678 impl From<Endpoint> for SockAddr {
820 impl From<PosixIpProtocol> for u16 {
941 impl From<PosixSocketOption> for i32 {
1030 impl From<PosixTcpSocketOptions> for i32 {
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dipi.rs33 impl From<IpiKind> for ArchIpiKind {
43 impl From<ArchIpiKind> for u8 {
66 impl From<IpiTarget> for ArchIpiTarget {
79 impl From<ArchIpiTarget> for ApicId {
112 impl From<ArchIpiTarget> for x86::apic::DestinationShorthand {
/DragonOS/kernel/src/bpf/map/
H A Dutil.rs49 impl From<&bpf_attr> for BpfMapUpdateArg {
69 impl From<&bpf_attr> for BpfMapGetNextKeyArg {
/DragonOS/kernel/src/process/
H A Dtimer.rs38 <Jiffies as From<Duration>>::from(Duration::from_secs(second)).timer_jiffies(); in new()
84 <Jiffies as From<Duration>>::from(Duration::from_secs(self.expired_second)) in remain()
/DragonOS/kernel/src/filesystem/vfs/
H A Dutils.rs119 impl From<String> for DName {
125 impl From<&str> for DName {
/DragonOS/kernel/src/libs/lib_ui/
H A Dtextui.rs161 impl From<LineId> for i32 {
166 impl From<LineId> for u32 {
171 impl From<LineId> for usize {
222 impl From<LineIndex> for i32 {
227 impl From<LineIndex> for u32 {
232 impl From<LineIndex> for usize {
257 impl From<u32> for FontColor {
262 impl From<FontColor> for usize {
267 impl From<FontColor> for u32 {
272 impl From<FontColor> for u16 {
[all …]
/DragonOS/kernel/src/driver/base/device/
H A Ddevice_number.rs69 impl From<u32> for DeviceNumber {
/DragonOS/kernel/src/filesystem/procfs/
H A Dsyscall.rs27 impl From<usize> for SyslogAction {
H A Dlog.rs41 impl From<usize> for LogLevel {
/DragonOS/kernel/src/mm/
H A Dsyscall.rs142 impl From<MapFlags> for VmFlags {
166 impl From<ProtFlags> for VmFlags {
186 impl From<ShmFlags> for VmFlags {
208 impl From<VmFlags> for MapFlags {
232 impl From<VmFlags> for ProtFlags {
/DragonOS/kernel/src/arch/x86_64/ipc/
H A Dsignal.rs83 impl From<usize> for Signal {
95 impl From<Signal> for usize {
101 impl From<i32> for Signal {
112 impl From<Signal> for SigSet {
312 impl From<SigChildCode> for i32 {
/DragonOS/user/apps/user-manage/src/check/
H A Dinfo.rs18 impl From<UAddInfo> for String {
/DragonOS/kernel/src/arch/riscv64/ipc/
H A Dsignal.rs66 impl From<usize> for Signal {
84 impl From<i32> for Signal {
/DragonOS/kernel/src/arch/x86_64/
H A Dkprobe.rs39 impl From<&TrapFrame> for KProbeContext {
/DragonOS/kernel/src/arch/riscv64/
H A Dkprobe.rs48 impl From<&TrapFrame> for KProbeContext {
/DragonOS/kernel/src/exception/
H A Dsoftirq.rs77 impl From<u64> for SoftirqNumber {
91 impl From<SoftirqNumber> for VecStatus {
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dxapic.rs95 impl From<XApicOffset> for u32 {
101 impl From<LVTRegister> for XApicOffset {
/DragonOS/kernel/src/bpf/prog/
H A Dutil.rs45 impl From<&bpf_attr> for BpfProgVerifierInfo {
/DragonOS/kernel/src/driver/rtc/
H A Dmod.rs141 impl From<RtcTime> for PosixTimeSpec {
/DragonOS/kernel/src/driver/firmware/efi/
H A Dfdt.rs64 impl From<FdtPropType> for &'static str { impl
/DragonOS/kernel/crates/kprobe/src/arch/
H A Dmod.rs197 impl From<KprobeBuilder> for KprobeBasic {

12