Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/infiniband/hw/ehca/
Dehca_mrmw.c51 #define NUM_CHUNKS(length, chunk_size) \ macro
272 num_kpages = NUM_CHUNKS(((u64)iova_start % PAGE_SIZE) + size, in ehca_reg_phys_mr()
276 num_hwpages = NUM_CHUNKS(((u64)iova_start % hw_pgsize) + size, in ehca_reg_phys_mr()
376 num_kpages = NUM_CHUNKS((virt % PAGE_SIZE) + length, PAGE_SIZE); in ehca_reg_user_mr()
394 num_hwpages = NUM_CHUNKS((virt % hwpage_size) + length, hwpage_size); in ehca_reg_user_mr()
553 num_kpages = NUM_CHUNKS(((u64)new_start % PAGE_SIZE) + in ehca_rereg_phys_mr()
555 num_hwpages = NUM_CHUNKS(((u64)new_start % hw_pgsize) + in ehca_rereg_phys_mr()
1121 for (i = 0; i < NUM_CHUNKS(pginfo->num_hwpages, MAX_RPAGES); i++) { in ehca_reg_mr_rpages()
1123 if (i == NUM_CHUNKS(pginfo->num_hwpages, MAX_RPAGES) - 1) { in ehca_reg_mr_rpages()
1154 if (i == NUM_CHUNKS(pginfo->num_hwpages, MAX_RPAGES) - 1) { in ehca_reg_mr_rpages()
[all …]