Home
last modified time | relevance | path

Searched refs:is_null (Results 1 – 8 of 8) sorted by relevance

/DragonOS-0.1.7/kernel/src/libs/
Drbtree.rs107 if self.is_null() { in set_color()
127 if self.is_null() { in get_color()
135 if self.is_null() { in is_red_color()
143 if self.is_null() { in is_black_color()
162 while !temp.left().is_null() { in min_node()
171 while !temp.right().is_null() { in max_node()
179 if !self.right().is_null() { in next()
184 if temp.parent().is_null() { in next()
197 if !self.left().is_null() { in prev()
202 if temp.parent().is_null() { in prev()
[all …]
/DragonOS-0.1.7/kernel/src/net/
Dsyscall.rs310 let endpoint = if addr.is_null() { in do_sendto()
385 if !addr.is_null() { in do_recvfrom()
522 if !addr.is_null() { in do_accept()
558 if addr.is_null() { in do_getsockname()
597 if addr.is_null() { in do_getpeername()
743 if addr.is_null() || addr_len.is_null() { in write_to_user()
/DragonOS-0.1.7/kernel/src/filesystem/vfs/
Dsyscall.rs177 if ptr.is_null() in sys_chdir()
268 if ptr.is_null() in sys_mkdir()
308 if ptr.is_null() in sys_unlink_at()
/DragonOS-0.1.7/kernel/src/process/
Dfork.rs57 if !(x as *const crate::include::bindings::bindings::sigaction).is_null() { in process_copy_sighand()
Dprocess.rs169 if self.fds.is_null() { in exit_files()
/DragonOS-0.1.7/kernel/src/sched/
Drt.rs29 if RT_SCHEDULER_PTR.is_null() { in sched_rt_init()
Dcfs.rs29 if CFS_SCHEDULER_PTR.is_null() { in sched_cfs_init()
/DragonOS-0.1.7/kernel/src/ipc/
Dsignal.rs846 if !act.is_null() { in sys_sigaction()
903 if act.is_null() { in sys_sigaction()
908 if old_act.is_null() { in sys_sigaction()
916 if (retval == Ok(())) && (!old_act.is_null()) { in sys_sigaction()