Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/efa/
H A Defa_verbs.c1273 unsigned int chunk_list_size, chunk_idx, payload_idx; in pbl_chunk_list_create() local
1282 chunk_list_size = DIV_ROUND_UP(page_cnt, EFA_PTRS_PER_CHUNK); in pbl_chunk_list_create()
1284 chunk_list->size = chunk_list_size; in pbl_chunk_list_create()
1285 chunk_list->chunks = kcalloc(chunk_list_size, in pbl_chunk_list_create()
1292 "chunk_list_size[%u] - pages[%u]\n", chunk_list_size, in pbl_chunk_list_create()
1296 for (i = 0; i < chunk_list_size; i++) { in pbl_chunk_list_create()
1303 chunk_list->chunks[chunk_list_size - 1].length = in pbl_chunk_list_create()
1324 for (i = chunk_list_size - 1; i >= 0; i--) { in pbl_chunk_list_create()
1356 for (; i < chunk_list_size; i++) { in pbl_chunk_list_create()
1361 for (i = 0; i < chunk_list_size; i++) in pbl_chunk_list_create()