Searched refs:copied_string (Results 1 – 1 of 1) sorted by relevance
6558 char *copied_string = NULL; in necp_copy_string() local6564 copied_string = (char *)kalloc_data(length + 1, Z_WAITOK); in necp_copy_string()6565 if (copied_string == NULL) { in necp_copy_string()6569 memcpy(copied_string, string, length); in necp_copy_string()6570 copied_string[length] = 0; in necp_copy_string()6572 return copied_string; in necp_copy_string()