Home
last modified time | relevance | path

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

/haiku/src/libs/libsolv/solv/
H A Drepopage.c769 unsigned int npages; in repopagestore_read_or_setup_pages() local
794 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()
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8125/dev/pci/
H A Dif_rge.c1959 int i, npages; local
1976 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) {