Home
last modified time | relevance | path

Searched refs:array_rows (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/ocs_fc/
H A Docs_utils.c52 void **array_rows; member
111 array->array_rows_len = array->n_rows * sizeof(*array->array_rows); in ocs_array_alloc()
112 array->array_rows = ocs_malloc(os, array->array_rows_len, OCS_M_ZERO | OCS_M_NOWAIT); in ocs_array_alloc()
113 if (array->array_rows == NULL) { in ocs_array_alloc()
118 array->array_rows[i] = ocs_malloc(os, array->bytes_per_row, OCS_M_ZERO | OCS_M_NOWAIT); in ocs_array_alloc()
119 if (array->array_rows[i] == NULL) { in ocs_array_alloc()
143 if (array->array_rows != NULL) { in ocs_array_free()
145 if (array->array_rows[i] != NULL) { in ocs_array_free()
146 ocs_free(array->os, array->array_rows[i], array->bytes_per_row); in ocs_array_free()
149 ocs_free(array->os, array->array_rows, array->array_rows_len); in ocs_array_free()
[all …]