Home
last modified time | relevance | path

Searched defs:u32 (Results 1 – 25 of 34) sorted by relevance

12

/DragonOS-0.1.8/kernel/src/arch/x86_64/
Dmsi.rs5 pub fn ia64_pci_get_arch_msi_message_address(processor: u16) -> u32 { in ia64_pci_get_arch_msi_message_address()
17 ) -> u32 { in ia64_pci_get_arch_msi_message_data()
/DragonOS-0.1.8/kernel/src/arch/
Dmod.rs13 fn read_config(bus_device_function: &BusDeviceFunction, offset: u8) -> u32; in read_config()
18 fn write_config(bus_device_function: &BusDeviceFunction, offset: u8, data: u32); in write_config()
/DragonOS-0.1.8/kernel/src/time/
Dtimeconv.rs59 fn math_div(left: u32, right: u32) -> u32 { in math_div()
69 fn leaps_between(y1: u32, y2: u32) -> u32 { in leaps_between()
Djiffies.rs21 pub const fn sh_div(nom: u32, den: u32, lsh: u32) -> u32 { in sh_div()
Dclocksource.rs220 fn log2(x: u32) -> u32 { in log2()
564 mult: u32, in new()
565 shift: u32, in new()
566 max_idle_ns: u32, in new()
591 pub fn set_mult(&mut self, mult: u32) { in set_mult()
594 pub fn set_shift(&mut self, shift: u32) { in set_shift()
597 pub fn set_max_idle_ns(&mut self, max_idle_ns: u32) { in set_max_idle_ns()
615 pub fn clocksource_cyc2ns(cycles: CycleNum, mult: u32, shift: u32) -> u64 { in clocksource_cyc2ns()
Dmod.rs289 fn mul_assign(&mut self, rhs: u32) { in mul_assign()
303 fn div_assign(&mut self, rhs: u32) { in div_assign()
317 fn shl_assign(&mut self, rhs: u32) { in shl_assign()
331 fn shr_assign(&mut self, rhs: u32) { in shr_assign()
/DragonOS-0.1.8/kernel/src/smp/
Dcore.rs8 pub fn smp_send_reschedule(_cpu: u32) { in smp_send_reschedule()
/DragonOS-0.1.8/kernel/src/arch/x86_64/pci/
Dpci.rs15 fn read_config(bus_device_function: &BusDeviceFunction, offset: u8) -> u32 { in read_config()
30 fn write_config(bus_device_function: &BusDeviceFunction, offset: u8, data: u32) { in write_config()
/DragonOS-0.1.8/kernel/src/libs/
Dprintk.rs123 pub fn __write_string_color(&self, fr_color: u32, bk_color: u32, s: &str) { in __write_string_color()
191 fn __write_string_color_on_stack(&self, fr_color: u32, bk_color: u32, s: &str) { in __write_string_color_on_stack()
Dvec_cursor.rs68 pub fn read_u32(&mut self) -> Result<u32, SystemError> { in read_u32()
183 pub fn write_u32(&mut self, value: u32) -> Result<u32, SystemError> { in write_u32()
Drwlock.rs97 fn current_reader(&self) -> Result<u32, SystemError> { in current_reader()
163 pub fn reader_count(&self) -> u32 { in reader_count()
171 pub fn writer_count(&self) -> u32 { in writer_count()
/DragonOS-0.1.8/kernel/src/mm/
Dmmio_buddy.rs138 exp: u32, in split_block()
161 exp: u32, in query_addr_region()
344 exp: u32, in pop_buddy_block()
401 exp: u32, in merge_all_exp()
452 exp: u32, in merge_blocks()
639 size: u32, in mmio_create()
/DragonOS-0.1.8/kernel/src/exception/
Dsoftirq.rs247 pub extern "C" fn rs_raise_softirq(softirq_num: u32) { in rs_raise_softirq()
252 pub extern "C" fn rs_unregister_softirq(softirq_num: u32) { in rs_unregister_softirq()
262 pub extern "C" fn rs_clear_softirq_pending(softirq_num: u32) { in rs_clear_softirq_pending()
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/
Dmod.rs265 fn ioctl(&self, _cmd: u32, _data: usize) -> Result<usize, SystemError> { in ioctl()
290 _mode: u32, in do_create_with_data()
415 pub fn new(dev_type_: FileType, mode_: u32, data_: usize) -> Self { in new()
422 mode_: u32, in new_with_parent()
/DragonOS-0.1.8/kernel/src/filesystem/devfs/
Dmod.rs212 pub fn new(dev_type_: FileType, mode_: u32, data_: usize) -> Self { in new()
219 mode_: u32, in new_with_parent()
293 _mode: u32, in do_create_with_data()
359 mode: u32, in create_with_data()
425 fn ioctl(&self, _cmd: u32, _data: usize) -> Result<usize, SystemError> { in ioctl()
/DragonOS-0.1.8/kernel/src/sched/
Dcore.rs31 pub fn get_cpu_loads(cpu_id: u32) -> u32 { in get_cpu_loads()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dmount.rs138 mode: u32, in create_with_data()
205 mode: u32, in create()
311 fn ioctl(&self, cmd: u32, data: usize) -> Result<usize, SystemError> { in ioctl()
Dmod.rs188 mode: u32, in create()
207 _mode: u32, in create_with_data()
309 fn ioctl(&self, _cmd: u32, _data: usize) -> Result<usize, SystemError> { in ioctl()
/DragonOS-0.1.8/kernel/src/net/
Dsyscall.rs102 optlen: *mut u32, in getsockopt()
207 _flags: u32, in sendto()
236 _flags: u32, in recvfrom()
238 addrlen: *mut u32, in recvfrom()
369 addrlen: *mut u32, in getsockname()
398 addrlen: *mut u32, in getpeername()
544 addr_len: *mut u32, in write_to_user()
/DragonOS-0.1.8/kernel/src/driver/virtio/
Dtransport_pci.rs227 fn max_queue_size(&self) -> u32 { in max_queue_size()
255 fn set_guest_page_size(&mut self, _guest_page_size: u32) { in set_guest_page_size()
264 size: u32, in queue_set()
/DragonOS-0.1.8/kernel/src/driver/uart/
Duart.rs241 pub fn new(port: UartPort, baud_rate: u32, sys_info: Option<Arc<dyn IndexNode>>) -> Self { in new()
266 pub fn new(port: UartPort, baud_rate: u32, sys_info: Option<Arc<dyn IndexNode>>) -> Self { in new()
/DragonOS-0.1.8/kernel/src/process/
Dprocess.rs108 pub fn process_cpu(pcb: *const process_control_block) -> u32 { in process_cpu()
/DragonOS-0.1.8/kernel/src/driver/base/device/
Dmod.rs159 impl From<DeviceState> for u32 { implementation
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dbpb.rs377 pub fn get_volume_id(&self) -> u32 { in get_volume_id()
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs383 fn do_put_string(s: *const u8, front_color: u32, back_color: u32) -> usize; in do_put_string()
1002 front_color: u32, in put_string()
1003 back_color: u32, in put_string()

12