Searched refs:npages (Results 1 – 2 of 2) sorted by relevance
769 unsigned int npages; in repopagestore_read_or_setup_pages() local794 npages = (blobsz + REPOPAGE_BLOBSIZE - 1) / REPOPAGE_BLOBSIZE; in repopagestore_read_or_setup_pages()796 store->num_pages = npages; in repopagestore_read_or_setup_pages()797 store->mapped_at = solv_malloc2(npages, sizeof(*store->mapped_at)); in repopagestore_read_or_setup_pages()803 store->file_pages = solv_malloc2(npages, sizeof(*store->file_pages)); in repopagestore_read_or_setup_pages()805 store->blob_store = solv_malloc2(npages, REPOPAGE_BLOBSIZE); in repopagestore_read_or_setup_pages()807 for (i = 0; i < npages; i++) in repopagestore_read_or_setup_pages()847 if (out_len != REPOPAGE_BLOBSIZE && i < npages - 1) in repopagestore_read_or_setup_pages()
1959 int i, npages; local1976 for (npages = 0; npages < 3; npages++) {1977 rge_switch_mcu_ram_page(sc, npages);1979 if (npages == 0)1983 else if (npages == 1)1992 if (npages == 2) {