Searched defs:pages (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/loader/efi/
H A Dchainloader.c43 static grub_efi_uintn_t pages; variable
55 efi_call_2 (b->free_pages, address, pages);
247 pages = (((grub_efi_uintn_t) size + ((1 << 12) - 1)) >> 12);
251 pages, &address);
254 grub_error (GRUB_ERR_OUT_OF_MEMORY, "cannot allocate %u pages", pages);
335 efi_call_2 (b->free_pages, address, pages);
/osnet-11/usr/src/grub/grub2/grub-core/mmap/efi/
H A Dmmap.c151 grub_efi_uintn_t pages; member in struct:overlay
164 grub_efi_uintn_t pages; local
174 pages = (end - address + 0x3ff) >> 12;
175 status = efi_call_2 (b->free_pages, address, pages);
182 make_efi_memtype (type), pages, &address);
191 curover->pages = pages;
211 efi_call_2 (b->free_pages, curover->address, curover->pages);
232 grub_efi_uintn_t pages; local
252 pages
[all...]
/osnet-11/usr/src/cmd/sendmail/db/db/
H A Ddb_region.c104 * the region's pages before we run the application, as we see
740 db_pgno_t pages; local
757 * other systems don't zero out the pages.
773 * Break the offset into pages of 1MB each so that we don't
777 pages = (increment - DB_VMPAGESIZE) / MEGABYTE;
780 MEGABYTE, pages, relative, 0, SEEK_CUR)) != 0)
789 * the region's pages before we run the application, as we see
798 * (e.g., Solaris) do not instantiate disk pages to satisfy
803 pages = increment / MEGABYTE;
806 MEGABYTE, pages, relativ
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/kern/efi/
H A Dmm.c29 #define PAGES_TO_BYTES(pages) ((pages) << 12)
46 /* Allocate pages. Return the pointer to the first of allocated pages. */
49 grub_efi_uintn_t pages)
77 status = efi_call_4 (b->allocate_pages, type, GRUB_EFI_LOADER_DATA, pages, &address);
86 status = efi_call_4 (b->allocate_pages, type, GRUB_EFI_LOADER_DATA, pages, &address);
87 grub_efi_free_pages (0, pages);
95 /* Free pages starting from ADDRESS. */
98 grub_efi_uintn_t pages)
48 grub_efi_allocate_pages(grub_efi_physical_address_t address, grub_efi_uintn_t pages) argument
97 grub_efi_free_pages(grub_efi_physical_address_t address, grub_efi_uintn_t pages) argument
319 grub_efi_uint64_t pages; local
[all...]
/osnet-11/usr/src/lib/scsi/libses/common/
H A Dses_snap.c457 size_t pages, pagesize, pagelen; local
491 * - Control pages
543 * if set, randomly truncates all pages (except
553 * Count the maximum number of pages we will need and allocate
556 pages = 0;
561 pages += (P2ROUNDUP(pp->ssp_len, pagesize) /
565 if ((scratch = mmap(NULL, pages * pagesize,
569 "failed to mmap() pages for truncation");
578 pages = P2ROUNDUP(pp->ssp_len, pagesize) / pagesize;
580 pp->ssp_mmap_len = pages * pagesiz
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/video/fb/
H A Dvideo_fb.c45 framebuf_t pages[2]; member in struct:__anon675
1320 grub_memcpy ((char *) framebuffer.pages[0]
1361 framebuffer.pages[0] = framebuf;
1385 grub_memcpy ((char *) framebuffer.pages[framebuffer.render_page]
1444 framebuffer.pages[0] = page0_ptr;
1445 framebuffer.pages[1] = page1_ptr;
1534 framebuffer.pages[0] = page0_ptr;
1578 *framebuf = (void *) framebuffer.pages[framebuffer.displayed_page];

Completed in 44 milliseconds