Searched refs:pages (Results 1 – 3 of 3) sorted by relevance
56 struct ksm_page *pages; member180 qsort(kp.pages, kp.len, sizeof(*kp.pages), cmp_pages); in main()263 if (kp->pages[k].hash == hash) break; in read_pages()268 struct ksm_page *tmp = realloc(kp->pages, in read_pages()269 (kp->size + GROWTH_FACTOR) * sizeof(*kp->pages)); in read_pages()277 kp->pages = tmp; in read_pages()280 rc = pm_kernel_count(ker, PM_PAGEMAP_PFN(pagemap[j]), &kp->pages[kp->len].count); in read_pages()286 kp->pages[kp->len].hash = hash; in read_pages()287 kp->pages[kp->len].pattern = in read_pages()293 cur_page = &kp->pages[k]; in read_pages()[all …]
44 long pages = sysconf(_SC_PHYS_PAGES); in valid_size() local45 if (pages < 1) { in valid_size()55 pages = (pages + 31) / 32; in valid_size()56 unsigned long maximum = pages * pagesize; in valid_size()
65 Please refer to the BT Core spec pages-1099 to 1102 for possible values for