Lines Matching defs:array
655 * in an array and the array itself
657 * @array: Dynamically allocated array of strings to free.
658 * @n: Number of strings (starting from the beginning of the array) to free.
660 * Passing a non-NULL @array and @n == 0 as well as NULL @array are valid
661 * use-cases. If @array is NULL, the function does nothing.
663 void kfree_strarray(char **array, size_t n)
667 if (!array)
671 kfree(array[i]);
672 kfree(array);