MCPcopy Create free account
hub / github.com/Starry-OS/StarryOS / is_null

Method is_null

api/src/mm.rs:126–128  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

124 }
125
126 pub fn is_null(&self) -> bool {
127 self.0.is_null()
128 }
129
130 pub fn get_as_mut(self) -> AxResult<&'static mut T> {
131 check_region(self.address(), Layout::new::<T>(), Self::ACCESS_FLAGS)?;

Callers 13

do_exitFunction · 0.80
sys_execveFunction · 0.80
sys_accept4Function · 0.80
send_implFunction · 0.80
sys_sendmsgFunction · 0.80
recv_implFunction · 0.80
sys_recvmsgFunction · 0.80
sys_mincoreFunction · 0.80
sys_sendfileFunction · 0.80
sys_copy_file_rangeFunction · 0.80
sys_spliceFunction · 0.80
sys_getcwdFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected