Searched refs:MAX_RPAGES (Results 1 – 1 of 1) sorted by relevance
55 #define MAX_RPAGES 512 macro1121 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()1124 rnum = pginfo->num_hwpages % MAX_RPAGES; /* last shot */ in ehca_reg_mr_rpages()1126 rnum = MAX_RPAGES; /* last shot is full */ in ehca_reg_mr_rpages()1128 rnum = MAX_RPAGES; in ehca_reg_mr_rpages()1154 if (i == NUM_CHUNKS(pginfo->num_hwpages, MAX_RPAGES) - 1) { in ehca_reg_mr_rpages()1304 if ((pginfo->num_hwpages > MAX_RPAGES) || in ehca_rereg_mr()1305 (e_mr->num_hwpages > MAX_RPAGES) || in ehca_rereg_mr()1396 if (e_fmr->fmr_max_pages <= MAX_RPAGES) { in ehca_unmap_one_fmr()[all …]