Searched refs:elems_per_row (Results 1 – 1 of 1) sorted by relevance
49 uint32_t elems_per_row; member107 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()