Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/ocs_fc/
H A Docs_utils.c54 void **array_rows; member
113 array->array_rows_len = array->n_rows * sizeof(*array->array_rows); in ocs_array_alloc()
114 array->array_rows = ocs_malloc(os, array->array_rows_len, OCS_M_ZERO | OCS_M_NOWAIT); in ocs_array_alloc()
115 if (array->array_rows == NULL) { in ocs_array_alloc()
120 array->array_rows[i] = ocs_malloc(os, array->bytes_per_row, OCS_M_ZERO | OCS_M_NOWAIT); in ocs_array_alloc()
121 if (array->array_rows[i] == NULL) { in ocs_array_alloc()
145 if (array->array_rows != NULL) { in ocs_array_free()
147 if (array->array_rows[i] != NULL) { in ocs_array_free()
148 ocs_free(array->os, array->array_rows[i], array->bytes_per_row); in ocs_array_free()
151 ocs_free(array->os, array->array_rows, array->array_rows_len); in ocs_array_free()
[all …]