Home
last modified time | relevance | path

Searched refs:pgsz (Results 1 – 12 of 12) sorted by relevance

/netbsd/external/gpl3/binutils/dist/gprofng/libcollector/
H A Dmemmgr.c119 static long pgsz = 0; in alloc_chunk() local
123 if (pgsz == 0) in alloc_chunk()
125 pgsz = CALL_UTIL (sysconf)(_SC_PAGESIZE); in alloc_chunk()
126 Tprintf (DBG_LT2, "memmgr: pgsz = %ld (0x%lx)\n", pgsz, pgsz); in alloc_chunk()
130 for (chunksz = pgsz; chunksz < nsz; chunksz *= 2); in alloc_chunk()
H A Diolib.c124 long pgsz = CALL_UTIL (sysconf)(_SC_PAGESIZE); in init() local
125 blksz = pgsz; in init()
131 pgsz, pgsz, (long) blksz, (long) blksz, (long) log2blksz); in init()
/netbsd/external/bsd/ntp/dist/sntp/libopts/
H A Dtext_mmap.c119 size_t const pgsz = (size_t)GETPAGESIZE(); in load_text_file()
124 mapinfo->txt_full_size = (mapinfo->txt_size + pgsz) & ~(pgsz - 1); in load_text_file()
125 if (mapinfo->txt_full_size == (mapinfo->txt_size + pgsz)) { in load_text_file()
/netbsd/external/gpl3/binutils/dist/gprofng/common/
H A Dhwcdrv.c481 size_t pgsz = bufstate->pagesz; in skip_buf() local
482 size_t bufsz = NPAGES_PER_BUF*pgsz; in skip_buf()
502 size_t pgsz = bufstate->pagesz; in read_buf() local
503 size_t bufsz = NPAGES_PER_BUF*pgsz; in read_buf()
513 char *buf_base = ((char *) metadata) + pgsz; // start of data buffer in read_buf()
728 start_one_ctr (int ii, size_t pgsz, hdrv_pcl_ctx_t * pctx, char *error_string) in start_one_ctr() argument
745 size_t buffer_area_sz = (NPAGES_PER_BUF + 1) * pgsz; // add a page for metadata in start_one_ctr()
751 (long) buffer_area_sz, (long) pgsz, error_string, ii, strerror (errno)); in start_one_ctr()
757 pctx->ctr_list[ii].buf_state.pagesz = pgsz; in start_one_ctr()
1374 size_t pgsz = sysconf (_SC_PAGESIZE); in hwcdrv_start() local
[all …]
/netbsd/sys/arch/amd64/stand/prekern/
H A Dmm.c155 mm_nentries_range(vaddr_t startva, vaddr_t endva, size_t pgsz) in mm_nentries_range() argument
159 npages = roundup((endva / PAGE_SIZE), (pgsz / PAGE_SIZE)) - in mm_nentries_range()
160 rounddown((startva / PAGE_SIZE), (pgsz / PAGE_SIZE)); in mm_nentries_range()
161 return (npages / (pgsz / PAGE_SIZE)); in mm_nentries_range()
/netbsd/sbin/newfs/
H A Dmkfs.c1654 u_long pgsz; in mkfs_malloc() local
1661 pgsz = getpagesize() - 1; in mkfs_malloc()
1662 size = (size + pgsz) &~ pgsz; in mkfs_malloc()
/netbsd/sys/arch/x86/x86/
H A Dpmap.c1445 pmap_pagetree_nentries_range(vaddr_t startva, vaddr_t endva, size_t pgsz) argument
1448 npages = (roundup(endva, pgsz) / pgsz) -
1449 (rounddown(startva, pgsz) / pgsz);
/netbsd/external/gpl3/gcc/dist/libphobos/src/etc/c/
H A Dsqlite3.d305 int function (sqlite3_file*, int iPg, int pgsz, int, void **) xShmMap;
/netbsd/external/gpl3/gcc.old/dist/libphobos/src/etc/c/
H A Dsqlite3.d305 int function (sqlite3_file*, int iPg, int pgsz, int, void **) xShmMap;
/netbsd/external/public-domain/sqlite/dist/
H A Dsqlite3.h789 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
H A Dsqlite3.c22241 int pgsz, in sqlite3OsShmMap() argument
36739 assert( ((pgsz-1)&pgsz)==0 ); /* Page size must be a power of 2 */
37087 for(iPg=(sStat.st_size/pgsz); iPg<(nByte/pgsz); iPg++){
91765 int pgsz = pTask->pSorter->pgsz;
92091 pSorter->pgsz = pgsz = sqlite3BtreeGetPageSize(db->aDb[0].pBt);
170014 assert( pgsz>0 );
187210 int pgsz;
203167 int pgsz = 0;
203171 if( pgsz<=0 || pgsz>FTS5_MAX_PAGE_SIZE ){
203174 pConfig->pgsz = pgsz;
[all …]
H A Dshell.c3603 static int apndShmMap(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
3837 int pgsz, in apndShmMap() argument
3842 return pFile->pMethods->xShmMap(pFile,iPg,pgsz,bExtend,pp); in apndShmMap()