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

/solaris-x11-s12/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.c1068 static u_long pagesize ; variable
1082 pagesize = sysconf(_SC_PAGESIZE);
1084 pagesize = getpagesize() ;
1086 pageoffset = pagesize - 1 ;
1111 ptr = mmap(0, pagesize, PROT_READ|PROT_WRITE,
1120 ptr = mmap(0, pagesize, PROT_READ|PROT_WRITE,
1124 (void) munmap((caddr_t)*lockp, pagesize) ;
1148 if( munmap(ptr, pagesize) )
1152 if( munmap(ptr, pagesize) )
/solaris-x11-s12/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 31 milliseconds