Lines Matching refs:sps
380 for (i = 0; i < ARRAY_SIZE(opts->sps); i++) { in ppc_hash64_filter_pagesizes()
381 PPCHash64SegmentPageSizes *sps = &opts->sps[i]; in ppc_hash64_filter_pagesizes() local
387 if (!sps->page_shift) { in ppc_hash64_filter_pagesizes()
391 for (j = 0; j < ARRAY_SIZE(sps->enc); j++) { in ppc_hash64_filter_pagesizes()
392 PPCHash64PageSize *ps = &sps->enc[j]; in ppc_hash64_filter_pagesizes()
399 if (cb(opaque, sps->page_shift, ps->page_shift)) { in ppc_hash64_filter_pagesizes()
403 sps->enc[m++] = *ps; in ppc_hash64_filter_pagesizes()
408 for (j = m; j < ARRAY_SIZE(sps->enc); j++) { in ppc_hash64_filter_pagesizes()
409 memset(&sps->enc[j], 0, sizeof(sps->enc[j])); in ppc_hash64_filter_pagesizes()
418 for (i = n; i < ARRAY_SIZE(opts->sps); i++) { in ppc_hash64_filter_pagesizes()
419 memset(&opts->sps[i], 0, sizeof(opts->sps[i])); in ppc_hash64_filter_pagesizes()