Home
last modified time | relevance | path

Searched refs:f (Results 1 – 16 of 16) sorted by relevance

/DragonOS-0.1.5/kernel/src/common/math/
Dfabs.c9 double f; in fabs() member
13 return u.f; in fabs()
28 return u.f; in fabsl()
Dlibm.h9 long double f; member
19 long double f; member
36 long double f; member
Dround.c16 double f; in round() member
31 return 0 * u.f; in round()
/DragonOS-0.1.5/user/libs/libc/src/math/
Dfabs.c9 double f; in fabs() member
13 return u.f; in fabs()
28 return u.f; in fabsl()
Dround.c14 double f; in round() member
29 return 0 * u.f; in round()
/DragonOS-0.1.5/user/libs/libc/src/include/export/
Dlibm.h13 long double f;
23 long double f;
40 long double f;
/DragonOS-0.1.5/kernel/src/driver/pci/
Dpci.rs123 fn fmt(&self, f: &mut Formatter) -> fmt::Result { in fmt()
125 Self::InvalidBarType => write!(f, "Invalid PCI BAR type."), in fmt()
126 Self::CreateMmioError => write!(f, "Error occurred while creating mmio"), in fmt()
143 fn fmt(&self, f: &mut Formatter) -> fmt::Result { in fmt()
144 write!(f, "{:02x}:{:02x}.{}", self.bus, self.device, self.function) in fmt()
235 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt()
244 f, in fmt()
249 write!(f, "I/O space at {:#010x}, size {}", address, size) in fmt()
252 write!(f, "Unused bar") in fmt()
285 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt()
[all …]
/DragonOS-0.1.5/kernel/src/driver/virtio/
Dtransport_pci.rs427 fn fmt(&self, f: &mut Formatter) -> fmt::Result { in fmt()
430 f, in fmt()
435 f, in fmt()
439 f, in fmt()
444 f, in fmt()
450 write!(f, "No valid `VIRTIO_PCI_CAP_ISR_CFG` capability was found.") in fmt()
452 Self::UnexpectedBarType => write!(f, "Unexpected BAR (expected memory BAR)."), in fmt()
453 Self::BarNotAllocated(bar_index) => write!(f, "Bar {} not allocated.", bar_index), in fmt()
454 Self::BarOffsetOutOfRange => write!(f, "Capability offset greater than BAR length."), in fmt()
456 f, in fmt()
[all …]
/DragonOS-0.1.5/kernel/src/process/
Dprocess.rs180 if let Some(f) = FileDescriptorVec::from_pcb(current_pcb()) { in alloc_fd()
181 f in alloc_fd()
243 let f: Option<&File> = r.fds[fd as usize].as_deref(); in drop_fd() localVariable
244 if f.is_none() { in drop_fd()
249 drop(f); in drop_fd()
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dbpb.rs371 FATType::FAT12(f) | FATType::FAT16(f) => { in get_volume_id()
372 return f.volume_id; in get_volume_id()
375 FATType::FAT32(f) => { in get_volume_id()
376 return f.volume_id; in get_volume_id()
Dentry.rs526 let f: FATFile = self.find_entry(name, Some(false), None, fs)?.to_file()?; in open_file() localVariable
527 return Ok(f); in open_file()
1605 FATDirEntry::File(f) | FATDirEntry::VolId(f) => { in short_name()
1606 return f.short_dir_entry.name_to_string(); in short_name()
1623 FATDirEntry::File(f) => { in short_dir_entry()
1624 return Some(f.short_dir_entry); in short_dir_entry()
1639 FATDirEntry::File(f) => { in first_cluster()
1640 return f.first_cluster; in first_cluster()
1657 FATDirEntry::File(f) => Some(f.loc), in get_dir_range()
1667 FATDirEntry::File(f) => {
[all …]
Dfs.rs112 FATDirEntry::File(f) | FATDirEntry::VolId(f) => { in update_metadata()
113 self.metadata.size = f.size() as i64; in update_metadata()
1354 FATDirEntry::File(f) | FATDirEntry::VolId(f) => { in read_at()
1355 let r = f.read( in read_at()
1384 FATDirEntry::File(f) | FATDirEntry::VolId(f) => { in write_at()
1385 let r = f.write(fs, &buf[0..len], offset as u64); in write_at()
/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dfile.rs101 let mut f = File { in new() localVariable
110 f.inode.open(&mut f.private_data)?; in new()
111 return Ok(f); in new()
/DragonOS-0.1.5/kernel/src/ipc/
Dsignal_types.rs71 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt()
72 f.write_str("sigaction__union_u") in fmt()
211 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt()
213 f.write_fmt(format_args!( in fmt()
/DragonOS-0.1.5/tools/
DDockerfile43 RUN bash build_gcc_toolchain.sh -f
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dahcidisk.rs41 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt()
43 f, in fmt()