Searched refs:raw_strncpy_from_user (Results 1 – 1 of 1) sorted by relevance
361 let mut len = raw_strncpy_from_user(dst, self.ptr)?; in strcpy_into_buf() 390 // * If we hit the `len < dst.len()` case, then `raw_strncpy_from_user` guarantees that in strcpy_into_buf() 392 // * Otherwise, `raw_strncpy_from_user` guarantees that the string contained no NUL bytes, in strcpy_into_buf() 485 fn raw_strncpy_from_user(dst: &mut [MaybeUninit<u8>], src: UserPtr) -> Result<usize> { in raw_strncpy_from_user() function