Searched refs:strarray (Results 1 – 2 of 2) sorted by relevance
457 spdk_strarray_free(char **strarray) in spdk_strarray_free() argument461 if (strarray == NULL) { in spdk_strarray_free()465 for (i = 0; strarray[i] != NULL; i++) { in spdk_strarray_free()466 free(strarray[i]); in spdk_strarray_free()468 free(strarray); in spdk_strarray_free()526 spdk_strarray_dup(const char **strarray) in spdk_strarray_dup() argument531 assert(strarray != NULL); in spdk_strarray_dup()533 for (count = 0; strarray[count] != NULL; count++) in spdk_strarray_dup()542 result[i] = strdup(strarray[i]); in spdk_strarray_dup()
262 char **spdk_strarray_dup(const char **strarray);270 void spdk_strarray_free(char **strarray);