Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/libs/
Dlockref.rs50 fn cmpxchg_loop(&mut self, mode: CmpxchgMode) -> Result<i32, i32> { in cmpxchg_loop() argument
120 fn cmpxchg_loop(&mut self, mode: CmpxchgMode) -> Result<i32, i32> { in cmpxchg_loop() argument
144 pub fn inc_not_zero(&mut self) -> Result<i32, SystemError> { in inc_not_zero()
172 pub fn inc_not_dead(&mut self) -> Result<i32, SystemError> { in inc_not_dead()
202 pub fn dec(&mut self) -> Result<i32, SystemError> { in dec()
234 pub fn dec_return(&mut self) -> Result<i32, SystemError> { in dec_return()
262 pub fn dec_not_zero(&mut self) -> Result<i32, SystemError> { in dec_not_zero()
293 pub fn dec_or_lock_not_zero(&mut self) -> Result<i32, SystemError> { in dec_or_lock_not_zero()
Dnotifier.rs12 fn notifier_call(&self, action: u64, data: Option<&T>) -> i32; in notifier_call()
14 fn priority(&self) -> i32; in priority()
83 ) -> (i32, usize) { in call_chain()
129 ) -> (i32, usize) { in call_chain()
167 ) -> (i32, usize) { in call_chain()
194 ) -> (i32, usize) { in call_chain()
Drbtree.rs378 fn tree_print(&self, node: NodePtr<K, V>, direction: i32) { in tree_print()
/DragonOS-0.1.8/kernel/src/process/
Dc_adapter.rs38 pub extern "C" fn rs_drop_address_space(pcb: &'static mut process_control_block) -> i32 { in rs_drop_address_space()
53 ) -> i32 { in process_copy_files()
68 pub extern "C" fn process_exit_files(pcb: &'static mut process_control_block) -> i32 { in process_exit_files()
Dfork.rs24 pub extern "C" fn process_copy_sighand(clone_flags: u64, pcb: *mut process_control_block) -> i32 { in process_copy_sighand()
83 pub extern "C" fn process_copy_signal(clone_flags: u64, pcb: *mut process_control_block) -> i32 { in process_copy_signal()
Dprocess.rs52 _wake_flags: i32, in process_try_to_wake_up()
189 pub fn alloc_fd(&mut self, file: File, fd: Option<i32>) -> Result<i32, SystemError> { in alloc_fd()
/DragonOS-0.1.8/kernel/src/arch/x86_64/asm/
Dbitops.rs9 pub fn ffz(x: u64) -> i32 { in ffz()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dsyscall.rs206 pub fn read(fd: i32, buf: &mut [u8]) -> Result<usize, SystemError> { in read()
224 pub fn write(fd: i32, buf: &[u8]) -> Result<usize, SystemError> { in write()
242 pub fn lseek(fd: i32, seek: SeekFrom) -> Result<usize, SystemError> { in lseek()
308 pub fn getdents(fd: i32, buf: &mut [u8]) -> Result<usize, SystemError> { in getdents()
346 pub fn unlinkat(_dirfd: i32, pathname: &str, flags: u32) -> Result<usize, SystemError> { in unlinkat()
412 pub fn dup2(oldfd: i32, newfd: i32) -> Result<usize, SystemError> { in dup2()
459 pub fn fcntl(fd: i32, cmd: FcntlCommand, arg: i32) -> Result<usize, SystemError> { in fcntl()
562 pub fn ftruncate(fd: i32, len: usize) -> Result<usize, SystemError> { in ftruncate()
620 pub fn fstat(fd: i32, usr_kstat: *mut PosixKstat) -> Result<usize, SystemError> { in fstat()
/DragonOS-0.1.8/kernel/src/ipc/
Dsignal.rs71 ) -> Result<i32, SystemError> { in signal_kill_something_info()
86 ) -> Result<i32, SystemError> { in signal_kill_proc_info()
126 ) -> Result<i32, SystemError> { in signal_send_sig_info()
193 ) -> Result<i32, SystemError> { in send_signal_locked()
223 ) -> Result<i32, SystemError> { in __send_signal_locked()
584 ) -> Result<i32, SystemError> { in handle_signal()
602 ) -> Result<i32, SystemError> { in setup_frame()
700 fn copy_siginfo_to_user(to: *mut siginfo, from: &siginfo) -> Result<i32, SystemError> { in copy_siginfo_to_user()
728 ) -> Result<i32, SystemError> { in setup_sigcontext()
Dsignal_types.rs194 pub fn new(sig: SignalNumber, _si_errno: i32, _si_code: si_code_val) -> Self { in new()
/DragonOS-0.1.8/kernel/src/time/
Dsleep.rs90 pub extern "C" fn rs_usleep(usec: useconds_t) -> i32 { in rs_usleep()
Dclocksource.rs182 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()
847 pub extern "C" fn rs_clocksource_watchdog_kthread(_data: c_void) -> i32 { in rs_clocksource_watchdog_kthread()
Djiffies.rs59 fn enable(&self) -> Result<i32, SystemError> { in enable()
/DragonOS-0.1.8/kernel/src/mm/
Dmmio_buddy.rs115 fn give_back_block(&self, vaddr: VirtAddr, exp: u32) -> Result<i32, SystemError> { in give_back_block()
483 ) -> Result<i32, SystemError> { in create_mmio()
531 pub fn release_mmio(&self, vaddr: VirtAddr, length: usize) -> Result<i32, SystemError> { in release_mmio()
643 ) -> i32 { in mmio_create()
662 pub extern "C" fn mmio_release(vaddr: u64, length: u64) -> i32 { in mmio_release()
Dsyscall.rs123 _fd: i32, in mmap()
/DragonOS-0.1.8/kernel/src/driver/timers/rtc/
Drtc.rs35 pub fn get(&mut self) -> Result<i32, SystemError> { in get()
/DragonOS-0.1.8/kernel/src/driver/virtio/
Dvirtio_impl.rs56 ) -> i32 { in dma_dealloc()
/DragonOS-0.1.8/kernel/src/sched/
Dcore.rs185 ) -> i32 { in sched_migrate_process()
/DragonOS-0.1.8/kernel/src/exception/
Dsoftirq.rs131 ) -> Result<i32, SystemError> { in register_softirq()
/DragonOS-0.1.8/kernel/src/driver/uart/
Duart.rs279 pub fn uart_init(uart_port: &UartPort, baud_rate: u32) -> Result<i32, &'static str> { in uart_init()
409 pub extern "C" fn c_uart_init(port: u16, baud_rate: u32) -> i32 { in c_uart_init()
/DragonOS-0.1.8/kernel/src/net/
Dmod.rs50 fn into(self) -> i32 { in into()
Dsyscall.rs834 fn into(self) -> i32 { in into()
923 fn into(self) -> i32 { in into()
/DragonOS-0.1.8/kernel/src/driver/base/platform/
Dmod.rs152 fn driver_match_device(&self, driver: Arc<dyn PlatformDriver>) -> Result<i32, DeviceError> { in driver_match_device()
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs310 pub fn to_posix_errno(&self) -> i32 { in to_posix_errno()
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dfs.rs1277 pub fn update_free_count_delta(&mut self, delta: i32) { in update_free_count_delta()