Lines Matching defs:pages
45 struct dba_array *pages;
71 dba->pages = dba_array_new(npages, DBA_GROW);
93 dba_array_free(entry->pages);
101 dba_array_undel(dba->pages);
102 dba_array_FOREACH(dba->pages, page) {
110 dba_array_free(dba->pages);
119 * - The pages table.
134 dba_pages_write(dba->pages);
152 /*** functions for handling pages *************************************/
155 * Create a new page and append it to the pages table.
158 dba_page_new(struct dba_array *pages, const char *arch,
178 dba_array_add(pages, page);
258 * Write the pages table to disk; the format is:
259 * - One integer containing the number of pages.
262 * MI pages write 0 instead of the architecture pointer.
271 dba_pages_write(struct dba_array *pages)
276 pos_pages = dba_array_writelen(pages, 5);
277 dba_array_FOREACH(pages, page) {
283 dba_array_FOREACH(pages, page) {
289 dba_array_FOREACH(pages, page) {
297 dba_array_FOREACH(pages, page) {
301 dba_array_FOREACH(pages, page) {
307 dba_array_FOREACH(pages, page)
353 entry->pages = dba_array_new(np, DBA_GROW);
378 dba_array_add(entry->pages, dba_array_get(dba->pages,
395 dba_array_add(entry->pages, page);
426 * and the second one to the list of pages.
430 * - A list of pointers to pages, each list ending in a 0 integer.
455 dba_array_FOREACH(entry->pages, page)
480 dba_array_FOREACH(entries[ie]->pages, page)