/DragonOS-0.1.9/kernel/src/net/event_poll/ |
D | syscall.rs | 34 epfd: i32, in epoll_wait() 36 max_events: i32, in epoll_wait() 37 timeout: i32, in epoll_wait() 66 pub fn epoll_ctl(epfd: i32, op: usize, fd: i32, event: VirtAddr) -> Result<usize, SystemError> { in epoll_ctl() 92 epfd: i32, in epoll_pwait() 94 max_events: i32, in epoll_pwait() 95 timespec: i32, in epoll_pwait()
|
D | mod.rs | 86 fd: i32, in new() 109 pub fn fd(&self) -> i32 { in fd() 269 epfd: i32, in do_epoll_ctl() 271 fd: i32, in do_epoll_ctl() 386 epfd: i32, in do_epoll_wait() 388 max_events: i32, in do_epoll_wait() 514 max_events: i32, in ep_send_events() 632 fd: i32, in ep_remove()
|
/DragonOS-0.1.9/kernel/src/filesystem/vfs/ |
D | open.rs | 18 dirfd: i32, in do_faccessat() 52 pub fn do_fchmodat(dirfd: i32, path: *const u8, _mode: ModeType) -> Result<usize, SystemError> { in do_fchmodat() 71 dfd: i32, in do_sys_open() 82 dirfd: i32, in do_sys_openat2()
|
D | syscall.rs | 260 dirfd: i32, in openat() 312 pub fn read(fd: i32, buf: &mut [u8]) -> Result<usize, SystemError> { in read() 334 pub fn write(fd: i32, buf: &[u8]) -> Result<usize, SystemError> { in write() 354 pub fn lseek(fd: i32, seek: SeekFrom) -> Result<usize, SystemError> { in lseek() 373 pub fn pread(fd: i32, buf: &mut [u8], len: usize, offset: usize) -> Result<usize, SystemError> { in pread() 395 pub fn pwrite(fd: i32, buf: &[u8], len: usize, offset: usize) -> Result<usize, SystemError> { in pwrite() 509 pub fn getdents(fd: i32, buf: &mut [u8]) -> Result<usize, SystemError> { in getdents() 550 pub fn unlinkat(dirfd: i32, pathname: &str, flags: u32) -> Result<usize, SystemError> { in unlinkat() 636 pub fn dup2(oldfd: i32, newfd: i32) -> Result<usize, SystemError> { in dup2() 643 oldfd: i32, in do_dup2() [all …]
|
D | core.rs | 215 pub fn do_remove_dir(dirfd: i32, path: &str) -> Result<u64, SystemError> { in do_remove_dir() 251 pub fn do_unlink_at(dirfd: i32, path: &str) -> Result<u64, SystemError> { in do_unlink_at()
|
D | utils.rs | 38 dirfd: i32, in user_path_at()
|
/DragonOS-0.1.9/kernel/src/libs/ |
D | notifier.rs | 14 fn notifier_call(&self, action: V, data: Option<&T>) -> i32; in notifier_call() 16 fn priority(&self) -> i32; in priority() 91 ) -> (i32, usize) { in call_chain() 138 ) -> (i32, usize) { in call_chain() 177 ) -> (i32, usize) { in call_chain() 204 ) -> (i32, usize) { in call_chain()
|
/DragonOS-0.1.9/kernel/src/libs/lib_ui/ |
D | screen_manager.rs | 245 fn install(&self) -> Result<i32, SystemError> { in install() 249 fn uninstall(&self) -> Result<i32, SystemError> { in uninstall() 253 fn enable(&self) -> Result<i32, SystemError> { in enable() 257 fn disable(&self) -> Result<i32, SystemError> { in disable() 261 fn change(&self, _buf: ScmBufferInfo) -> Result<i32, SystemError> { in change() 295 pub fn scm_framework_enable(framework: Arc<dyn ScmUiFramework>) -> Result<i32, SystemError> { in scm_framework_enable() 318 pub fn scm_register(framework: Arc<dyn ScmUiFramework>) -> Result<i32, SystemError> { in scm_register()
|
D | textui.rs | 144 pub fn data(&self) -> i32 { in data() 163 fn into(self) -> i32 { in into() 224 fn into(self) -> i32 { in into() 393 ) -> Result<i32, SystemError> { in textui_refresh_character() 550 pub fn new(flags: WindowFlag, vlines_num: i32, chars_num: i32) -> Self { in new() 581 count: i32, in textui_refresh_characters() 640 fn textui_refresh_vlines(&mut self, start: LineId, count: i32) -> Result<i32, SystemError> { in textui_refresh_vlines() 663 fn textui_new_line(&mut self) -> Result<i32, SystemError> { in textui_new_line() 919 fn install(&self) -> Result<i32, SystemError> { in install() 924 fn uninstall(&self) -> Result<i32, SystemError> { in uninstall() [all …]
|
/DragonOS-0.1.9/kernel/src/arch/riscv64/asm/ |
D | bitops.rs | 7 pub fn ffz(x: u64) -> i32 { in ffz()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/asm/ |
D | bitops.rs | 10 pub fn ffz(x: u64) -> i32 { in ffz()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/interrupt/ |
D | c_adapter.rs | 13 unsafe extern "C" fn rs_ipi_send_smp_startup(target_cpu: u32) -> i32 { in rs_ipi_send_smp_startup()
|
/DragonOS-0.1.9/kernel/src/mm/ |
D | c_adapter.rs | 139 ) -> i32 { in rs_mmio_create() 163 pub unsafe extern "C" fn rs_mmio_release(vaddr: u64, length: u64) -> i32 { in rs_mmio_release()
|
/DragonOS-0.1.9/kernel/src/time/ |
D | clocksource.rs | 182 fn enable(&self) -> Result<i32, SystemError> { in enable() 269 pub fn register(&self) -> Result<i32, SystemError> { in register() 313 pub fn clocksource_enqueue_watchdog(&self) -> Result<i32, SystemError> { in clocksource_enqueue_watchdog() 373 pub fn set_unstable(&self, delta: i64) -> Result<i32, SystemError> { in set_unstable() 529 fn clocksource_change_rating(&self, rating: i32) { in clocksource_change_rating() 562 rating: i32, in new() 585 pub fn set_rating(&mut self, rating: i32) { in set_rating() 842 pub extern "C" fn rs_clocksource_watchdog_kthread(_data: c_void) -> i32 { in rs_clocksource_watchdog_kthread()
|
D | sleep.rs | 93 pub extern "C" fn rs_usleep(usec: useconds_t) -> i32 { in rs_usleep()
|
/DragonOS-0.1.9/kernel/src/process/ |
D | syscall.rs | 101 wstatus: *mut i32, in wait4() 102 options: i32, in wait4() 266 pub fn get_rusage(who: i32, rusage: *mut RUsage) -> Result<usize, SystemError> { in get_rusage()
|
/DragonOS-0.1.9/kernel/src/driver/net/ |
D | dma.rs | 45 pub unsafe fn dma_dealloc(paddr: usize, vaddr: NonNull<u8>, pages: usize) -> i32 { in dma_dealloc()
|
/DragonOS-0.1.9/kernel/src/libs/futex/ |
D | futex.rs | 385 nr_wake: i32, in futex_requeue() 386 nr_requeue: i32, in futex_requeue() 459 nr_wake: i32, in futex_wake_op() 460 nr_wake2: i32, in futex_wake_op() 461 op: i32, in futex_wake_op()
|
/DragonOS-0.1.9/kernel/src/ipc/ |
D | signal.rs | 30 ) -> Result<i32, SystemError> { in send_signal_info() 73 ) -> Result<i32, SystemError> { in send_signal()
|
D | syscall.rs | 35 pub fn pipe2(fd: *mut i32, flags: FileMode) -> Result<usize, SystemError> { in pipe2()
|
/DragonOS-0.1.9/kernel/src/ |
D | lib.rs | 98 fn lookup_kallsyms(addr: u64, level: i32) -> i32; in lookup_kallsyms()
|
/DragonOS-0.1.9/kernel/src/sched/ |
D | mod.rs | 41 pub fn data(&self) -> i32 { in data()
|
/DragonOS-0.1.9/kernel/src/driver/timers/rtc/ |
D | rtc.rs | 35 pub fn get(&mut self) -> Result<i32, SystemError> { in get()
|
/DragonOS-0.1.9/kernel/src/driver/virtio/ |
D | virtio_impl.rs | 56 ) -> i32 { in dma_dealloc()
|
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/fbcon/ |
D | framebuffer_console.rs | 565 sy: i32, in bmove() 566 sx: i32, in bmove() 567 dy: i32, in bmove() 568 dx: i32, in bmove()
|