Searched refs:copied_string (Results 1 – 1 of 1) sorted by relevance
6933 char *copied_string = NULL; in necp_copy_string() local6939 copied_string = (char *)kalloc_data(length + 1, Z_WAITOK); in necp_copy_string()6940 if (copied_string == NULL) { in necp_copy_string()6944 memcpy(copied_string, string, length); in necp_copy_string()6945 copied_string[length] = 0; in necp_copy_string()6947 return copied_string; in necp_copy_string()