Searched refs:copied_string (Results 1 – 1 of 1) sorted by relevance
6574 char *copied_string = NULL; in necp_copy_string() local6580 copied_string = (char *)kalloc_data(length + 1, Z_WAITOK); in necp_copy_string()6581 if (copied_string == NULL) { in necp_copy_string()6585 memcpy(copied_string, string, length); in necp_copy_string()6586 copied_string[length] = 0; in necp_copy_string()6588 return copied_string; in necp_copy_string()