Home
last modified time | relevance | path

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

/freebsd/sys/dev/ocs_fc/
H A Docs_utils.c49 uint32_t elems_per_row; member
107 array->elems_per_row = slab_len / size; in ocs_array_alloc()
108 array->n_rows = (count + array->elems_per_row - 1) / array->elems_per_row; in ocs_array_alloc()
109 array->bytes_per_row = array->elems_per_row * array->size; in ocs_array_alloc()
170 uint32_t row = idx / array->elems_per_row; in ocs_array_get()
171 uint32_t offset = idx % array->elems_per_row; in ocs_array_get()