Searched refs:path_ptr (Results 1 – 2 of 2) sorted by relevance
227 let path_ptr = arg0 as *const c_char; in handle() localVariable228 let virt_addr = VirtAddr::new(path_ptr as usize); in handle()230 if path_ptr.is_null() in handle()236 let dest_path: &CStr = unsafe { CStr::from_ptr(path_ptr) }; in handle()275 let path_ptr = args[0]; in handle() localVariable278 let virt_path_ptr = VirtAddr::new(path_ptr); in handle()290 path_ptr as *const u8, in handle()314 let path_ptr = args[0] as *const c_char; in handle() localVariable316 let virt_path_ptr = VirtAddr::new(path_ptr as usize); in handle()318 if path_ptr.is_null() in handle()[all …]
875 path_ptr: *const i8, in mknod()880 let len = unsafe { CStr::from_ptr(path_ptr).to_bytes().len() }; in mknod()881 let user_buffer = UserBufferReader::new(path_ptr, len, true)?; in mknod()