/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | valloc.c | 32 static unsigned pagesize; local 33 if (!pagesize) 34 pagesize = getpagesize(); 35 return memalign(pagesize, size);
|
/illumos-gate/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));
|
/illumos-gate/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));
|
/illumos-gate/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))) /
|
/illumos-gate/usr/src/cmd/pagesize/ |
H A D | Makefile | 28 PROG= pagesize
|
/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | os.h | 22 size_t pagesize; /* Page size. */ member in struct:__io
|
/illumos-gate/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){
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | init_stand.c | 48 pagesize = pgsize;
|
H A D | init_lib.c | 61 pagesize = _sysconf(_SC_PAGESIZE);
|
H A D | vmem_stand.c | 69 stand_chunksize = MAX(DEF_CHUNKSIZE, pagesize); 79 ASSERT(pagesize != 0); 156 "stand_heap", NULL, 0, pagesize, vmem_alloc, vmem_free);
|
H A D | umem_base.h | 40 extern size_t pagesize; 42 #define PAGESIZE pagesize
|
H A D | vmem_mmap.c | 119 size_t pagesize = sysconf(_SC_PAGESIZE); local 124 "mmap_heap", NULL, 0, pagesize,
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | sun4x_standalloc.c | 52 extern int pagesize; 91 * |-------| memlistpage (at roundup(_end, pagesize)) 172 bytes = numpages * pagesize; 250 bytes = roundup(bytes, pagesize); 263 vaddr = get_low_vpage((bytes/pagesize), type); 309 memlistpage = (caddr_t)roundup((uintptr_t)_end, pagesize); 315 scratchresvp = (caddr_t)(memlistpage + pagesize); 317 le_page = (caddr_t)(scratchmemp + pagesize); 318 ie_page = (caddr_t)(le_page + pagesize); 320 bzero(memlistpage, pagesize); [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/db/ |
H A D | db_conv.c | 70 __db_pgin(pg, pagesize, pp) 72 size_t pagesize; 75 return (__db_convert(pg, pp, pagesize, 1)); 84 __db_pgout(pg, pagesize, pp) 86 size_t pagesize; 89 return (__db_convert(pg, pp, pagesize, 0)); 97 __db_convert(pg, pp, pagesize, pgin) 100 size_t pagesize; 134 len = LEN_HKEYDATA(h, pagesize, i);
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_context.c | 59 size_t pagesize = mdb.m_pagesize; local 65 c->ctx_stacksize = pagesize * 4; 66 c->ctx_stack = mdb_alloc_align(c->ctx_stacksize, pagesize, UM_NOSLEEP);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | kgrep.c | 78 size_t pagesize = kg->kg_pagesize; local 81 uintptr_t *page_end = &page[pagesize / sizeof (uintptr_t)]; 90 base = P2ALIGN(base, pagesize); 91 lim = P2ROUNDUP(lim, pagesize); 93 for (addr = base; addr < lim; addr += pagesize) { 94 if (mdb_vread(page, pagesize, addr) == -1) 131 size_t pagesize = kg->kg_pagesize; \ 148 size = MIN(lim, P2END(addr, pagesize)) - addr; \ 226 size_t pagesize = kgrep_subr_pagesize(); local 300 kg.kg_page = mdb_alloc(pagesize, UM_SLEE [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/mpool/ |
H A D | mpool.c | 59 mpool_open(key, fd, pagesize, maxcache) 62 db_pgno_t pagesize, maxcache; 88 mp->npages = sb.st_size / pagesize; 89 mp->pagesize = pagesize; 229 off = mp->pagesize * pgno; 230 if (off / mp->pagesize != pgno) { 239 if ((nr = read(mp->fd, bp->page, mp->pagesize)) != mp->pagesize) { 249 memset(bp->page, 0, mp->pagesize); [all...] |
/illumos-gate/usr/src/stand/sys/ |
H A D | bootsyms.h | 112 extern int pagesize;
|
/illumos-gate/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_fopen.c | 35 memp_fopen(dbmp, path, flags, mode, pagesize, finfop, retp) 40 size_t pagesize; 53 /* Require a non-zero pagesize. */ 54 if (pagesize == 0) { 55 __db_err(dbmp->dbenv, "memp_fopen: pagesize not specified"); 58 if (finfop != NULL && finfop->clear_len > pagesize) 62 NULL, path, flags, mode, pagesize, 1, finfop, retp)); 73 __memp_fopen(dbmp, mfp, path, flags, mode, pagesize, needlock, finfop, retp) 79 size_t pagesize; 151 * Don't permit files that aren't a multiple of the pagesize, [all...] |
/illumos-gate/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,
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | standalloc.c | 49 extern int pagesize; 87 n = (uintptr_t)vaddr & (pagesize - 1);
|
/illumos-gate/usr/src/uts/sun4/conf/ |
H A D | genalign.s | 52 ! The pagesize is the descriptor.
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_swap/ |
H A D | zvol_swap_005_pos.ksh | 57 ((pageblocks = $(pagesize) / 512))
|
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_rw.c | 44 db_iop->bytes, (off_t)db_iop->pgno * db_iop->pagesize); 50 db_iop->bytes, (off_t)db_iop->pgno * db_iop->pagesize); 61 db_iop->pagesize, db_iop->pgno, 0, 0, SEEK_SET)) != 0)
|