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

/solaris-x11-s11/open-src/lib/libdga/sun-src/
H A Ddga_db.c312 u_int pagesize; local
319 pagesize = sysconf(_SC_PAGESIZE);
321 pagesize = getpagesize();
334 pagesize,
338 (off_t) (dev_offset & ~(pagesize - 1)));
349 return ((u_int *) ((int) cpage | (dev_offset & (pagesize - 1))));
357 int pagesize; local
360 pagesize = sysconf(_SC_PAGESIZE);
362 pagesize = getpagesize();
372 counter_page = (char *) (((int) counter) & (~(pagesize
[all...]
H A Drtn_grab.c628 size_t pagesize; local
746 pagesize = sysconf(_SC_PAGESIZE);
748 pagesize = getpagesize();
754 * retained info structure (ie < pagesize) report a failure.
763 if (rstat.st_size < pagesize) {
776 pagesize,
801 (void) munmap((caddr_t) infop, pagesize);
820 (void) munmap((caddr_t) infop, pagesize);
879 size_t pagesize; local
887 pagesize
[all...]
H A Dpix_grab.c71 static u_long pagesize; variable
202 pagesize = sysconf(_SC_PAGESIZE);
204 pagesize = getpagesize();
H A Dcmap_grab.c1066 static u_long pagesize ; variable
1080 pagesize = sysconf(_SC_PAGESIZE);
1082 pagesize = getpagesize() ;
1084 pageoffset = pagesize - 1 ;
1109 ptr = mmap(0, pagesize, PROT_READ|PROT_WRITE,
1118 ptr = mmap(0, pagesize, PROT_READ|PROT_WRITE,
1122 (void) munmap((caddr_t)*lockp, pagesize) ;
1146 if( munmap(ptr, pagesize) )
1150 if( munmap(ptr, pagesize) )
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/efb/
H A Dtools.c33 register int const pagesize = getpagesize(); local
43 efb_info.efb_mmio_size = (efb_info.efb_mmio_size + pagesize - 1) /
44 pagesize * pagesize;
61 efb_info.efb_fb_size = (efb_info.efb_fb_size + (pagesize - 1)) /
62 pagesize * pagesize;
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/ast/
H A Dtools.c34 register int const pagesize = getpagesize(); local
42 ast_info.ast_fb_size = (ast_info.ast_fb_size + pagesize - 1) /
43 pagesize * pagesize;
55 ast_info.ast_mmio_size = (ast_info.ast_mmio_size + pagesize - 1) /
56 pagesize * pagesize;

Completed in 21 milliseconds