Home
last modified time | relevance | path

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

/drivers/infiniband/hw/ehca/
Dehca_mrmw.c50 #define NUM_CHUNKS(length, chunk_size) \ macro
236 num_kpages = NUM_CHUNKS(((u64)iova_start % PAGE_SIZE) + size, in ehca_reg_phys_mr()
240 num_hwpages = NUM_CHUNKS(((u64)iova_start % hw_pgsize) + size, in ehca_reg_phys_mr()
340 num_kpages = NUM_CHUNKS((virt % PAGE_SIZE) + length, PAGE_SIZE); in ehca_reg_user_mr()
358 num_hwpages = NUM_CHUNKS((virt % hwpage_size) + length, hwpage_size); in ehca_reg_user_mr()
517 num_kpages = NUM_CHUNKS(((u64)new_start % PAGE_SIZE) + in ehca_rereg_phys_mr()
519 num_hwpages = NUM_CHUNKS(((u64)new_start % hw_pgsize) + in ehca_rereg_phys_mr()
1079 for (i = 0; i < NUM_CHUNKS(pginfo->num_hwpages, MAX_RPAGES); i++) { in ehca_reg_mr_rpages()
1081 if (i == NUM_CHUNKS(pginfo->num_hwpages, MAX_RPAGES) - 1) { in ehca_reg_mr_rpages()
1112 if (i == NUM_CHUNKS(pginfo->num_hwpages, MAX_RPAGES) - 1) { in ehca_reg_mr_rpages()
[all …]