/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | valloc.c | 39 static unsigned pagesize; local 44 if (!pagesize) 45 pagesize = sysconf(_SC_PAGESIZE); 47 return (memalign(pagesize, size));
|
/osnet-11/usr/src/lib/libc/port/sys/ |
H A D | getpagesizes.c | 49 getpagesizes(size_t pagesize[], int nelem) argument 51 return (syscall(SYS_getpagesizes, 1, pagesize, nelem)); 55 getpagesizes2(size_t pagesize[], int nelem) argument 57 return (syscall(SYS_getpagesizes, 0, pagesize, nelem));
|
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | extensions.c | 30 int ldap_create_page_control(LDAP *ld, unsigned int pagesize, struct berval *cookie, char isCritical, LDAPControl **output) argument 42 if (ber_printf(ber, "{io}", pagesize,
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | spagectrl.c | 24 int ldap_create_page_control(LDAP *ld, unsigned int pagesize, struct berval *cookie, char isCritical, LDAPControl **output) argument 36 if (ber_printf(ber, "{io}", pagesize,
|
/osnet-11/usr/src/cmd/sendmail/db/include/ |
H A D | os.h | 22 size_t pagesize; /* Page size. */ member in struct:__io
|
H A D | db_page.h | 52 u_int32_t pagesize; /* 20-23: Pagesize. */ member in struct:_btmeta 82 u_int32_t pagesize; /* 20-23: Bucket/Page Size */ member in struct:hashhdr
|
/osnet-11/usr/src/lib/libc/i386/gen/ |
H A D | strcmp.c | 73 static int pagesize; local 102 if (pagesize == 0) 103 pagesize = _sysconfig(_CONFIG_PAGESIZE); 104 count = (pagesize - ((int)str1 & (pagesize - 1))) / 107 if (pagesize == 0) 108 pagesize = _sysconfig(_CONFIG_PAGESIZE); 109 count = (pagesize - ((int)str2 & (pagesize - 1))) /
|
/osnet-11/usr/src/lib/libsqlite/tool/ |
H A D | showdb.c | 16 static int pagesize = 1024; variable 28 aData = malloc(pagesize); 30 lseek(db, (iPg-1)*pagesize, SEEK_SET); 31 read(db, aData, pagesize); 33 for(i=0; i<pagesize; i += 16){ 58 mxPage = sbuf.st_size/pagesize + 1;
|
H A D | showjournal.c | 16 static int pagesize = 1024; variable 28 aData = malloc(pagesize); 30 read(db, aData, pagesize); 32 for(i=0; i<pagesize; i += 16){
|
/osnet-11/usr/src/lib/libumem/common/ |
H A D | vmem_mmap.c | 117 size_t pagesize = sysconf(_SC_PAGESIZE); local 122 "mmap_heap", NULL, 0, pagesize,
|
/osnet-11/usr/src/lib/libmapmalloc/common/ |
H A D | textmem.c | 86 static int pagesize; variable 109 if (pagesize == 0) 110 pagesize = (int)sysconf(_SC_PAGESIZE); 130 size_t totpage = align(totsize, pagesize);
|
/osnet-11/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_bh.c | 155 size_t len, pagesize; local 161 pagesize = mfp->stat.st_pagesize; 184 db_io.pagesize = db_io.bytes = pagesize; 192 if (nr < (ssize_t)pagesize) 210 if (nr != (ssize_t)pagesize) { 211 len = mfp->clear_len == 0 ? pagesize : mfp->clear_len; 217 if (len < pagesize) 218 memset(bhp->buf + len, 0xdb, pagesize - len); 355 db_io.pagesize [all...] |
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | vfpops.c | 159 int pagesize = getpagesize(); local 256 vfp->_vfpSize = (statbuf.st_size + pagesize + 257 (pagesize-(statbuf.st_size % pagesize))); 270 p = (char *)memalign(pagesize, vfp->_vfpSize); 305 vfp->_vfpSize = statbuf.st_size+pagesize; 309 vfp->_vfpStart = memalign((size_t)pagesize, vfp->_vfpSize);
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/ |
H A D | mpool.h | 68 u_long pagesize; /* file page size */ member in struct:MPOOL
|
/osnet-11/usr/src/lib/scsi/libses/common/ |
H A D | ses_snap.c | 457 size_t pages, pagesize, pagelen; local 550 pagesize = PAGESIZE; 561 pages += (P2ROUNDUP(pp->ssp_len, pagesize) / 562 pagesize) + 1; 565 if ((scratch = mmap(NULL, pages * pagesize, 578 pages = P2ROUNDUP(pp->ssp_len, pagesize) / pagesize; 580 pp->ssp_mmap_len = pages * pagesize; 590 (void) munmap(pp->ssp_mmap_base + pages * pagesize, 591 pagesize); [all...] |
/osnet-11/usr/src/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_tavor_hca.c | 182 size_t pagesize; local 226 pagesize = (size_t)sysconf(_SC_PAGESIZE); 227 if (pagesize == 0) { 268 MLNX_UMAP_UARPG_RSRC) * pagesize; 270 mapaddr = mmap64((void *)0, pagesize, PROT_READ | PROT_WRITE, 282 g_tavor_state[idx].uarpg_size = pagesize; 289 MLNX_UMAP_BLUEFLAMEPG_RSRC) * pagesize; 291 mapaddr = mmap64((void *)0, pagesize, PROT_READ | PROT_WRITE,
|
/osnet-11/usr/src/lib/libmalloc/common/ |
H A D | malloc.c | 293 static unsigned pagesize; local 297 if (!pagesize) 298 pagesize = sysconf(_SC_PAGESIZE); 300 return (memalign(pagesize, size));
|
/osnet-11/usr/src/lib/krb5/kdb/ |
H A D | kdb_log.c | 33 static int pagesize = 0; variable 75 if (!pagesize) 76 pagesize = getpagesize(); 78 start = ((ulong_t)upd) & (~(pagesize-1)); 81 (pagesize-1)) & (~(pagesize-1)); 98 if (!pagesize) 99 pagesize = getpagesize(); 101 if (msync((caddr_t)ulog, pagesize, MS_SYNC)) {
|
/osnet-11/usr/src/lib/madv/common/ |
H A D | madv.c | 54 static int pagesize; variable 590 pagesize = sysconf(_SC_PAGESIZE); 633 brkend = roundup(brkbase+brksize, pagesize); 634 brkbase = roundup(brkbase, pagesize); 636 if (brksize < pagesize) { 637 if (sbrk(pagesize) == (void *)-1) { 643 brksize = pagesize;
|
/osnet-11/usr/src/lib/watchmalloc/common/ |
H A D | malloc.c | 1253 static unsigned pagesize; local 1254 if (!pagesize) 1255 pagesize = _sysconf(_SC_PAGESIZE); 1256 return (memalign(pagesize, size));
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | Pcore.c | 788 * At the time of adding this mapping, we just zero the pagesize. 790 * pagesize from the auxv's AT_PAGESZ element and we can fill this in. 1702 int i, notes, pagesize; local 1967 if ((pagesize = Pgetauxval(P, AT_PAGESZ)) == -1) { 1968 pagesize = getpagesize(); 1969 dprintf("AT_PAGESZ missing; defaulting to %d\n", pagesize);
|
/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_sbd.c | 1164 * This function assumes pagesize > 1024 and that 1165 * pagesize is a multiple of 1024. 1170 long pagesize; local 1172 pagesize = sysconf(_SC_PAGESIZE); 1173 return (pgs * (pagesize / _K1)); 1179 long pagesize; local 1181 pagesize = sysconf(_SC_PAGESIZE); 1182 return ((uint64_t)pgs * pagesize);
|
/osnet-11/usr/src/lib/libmtmalloc/common/ |
H A D | mtmalloc.c | 239 * do_realfree*pagesize 487 * page_offset=addr%pagesize 488 * if (page_offset != 0 ) page_offset=pagesize-page_offset 828 static unsigned pagesize; local 833 if (!pagesize) 834 pagesize = sysconf(_SC_PAGESIZE); 836 return (memalign(pagesize, size));
|
/osnet-11/usr/src/lib/libc/port/threads/ |
H A D | thr.c | 316 static size_t pagesize = 0; local 335 if (pagesize == 0) /* do this once */ 336 pagesize = _sysconf(_SC_PAGESIZE); 341 * Round up a non-zero stack size to a pagesize multiple. 344 stksize = DEFAULTSTACK - 2 * pagesize; 346 stksize = ((stksize + pagesize - 1) & -pagesize); 349 * Round up the mapping size to a multiple of pagesize. 354 guardsize = ((guardsize + pagesize - 1) & -pagesize) [all...] |
/osnet-11/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 959 unsigned long pagesize; local 964 pagesize = sysconf(_SC_PAGESIZE); 965 _pageshift = highbit(pagesize) - 1;
|