Home
last modified time | relevance | path

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

/external/valgrind/main/memcheck/tests/
Daddressable.c13 static int pgsz; variable
35 char *m = mm(0, pgsz * 5, PROT_READ); in test1()
37 VALGRIND_CHECK_MEM_IS_DEFINED(m, pgsz*5); /* all defined */ in test1()
43 char *m = mm(0, pgsz * 5, PROT_READ|PROT_WRITE); in test2()
44 VALGRIND_CHECK_MEM_IS_DEFINED(m, pgsz*5); /* all OK */ in test2()
46 munmap(&m[pgsz*2], pgsz); in test2()
48 VALGRIND_CHECK_MEM_IS_DEFINED(&m[pgsz*2], pgsz); /* undefined */ in test2()
51 m[pgsz*2] = 'x'; /* unmapped fault */ in test2()
57 char *m = mm(0, pgsz * 5, PROT_READ|PROT_WRITE); in test3()
59 VALGRIND_MAKE_MEM_UNDEFINED(&m[pgsz], pgsz); in test3()
[all …]
/external/blktrace/btt/
Dmmap.c40 static long pgsz; variable
86 cur_min = (cur & ~(pgsz-1)); in move_map()
106 pgsz = sysconf(_SC_PAGESIZE); in setup_ifile()
/external/sqlite/dist/
Dsqlite3.h698 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
Dsqlite3.c1248 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
14804 int pgsz, in sqlite3OsShmMap() argument
14809 return id->pMethods->xShmMap(id, iPage, pgsz, bExtend, pp); in sqlite3OsShmMap()
41266 int pgsz = pPager->pageSize; /* Number of bytes to read */
41279 rc = sqlite3WalRead(pPager->pWal, pgno, &isInWal, pgsz, pPg->pData);
41283 rc = sqlite3OsRead(pPager->fd, pPg->pData, pgsz, iOffset);
72058 int pgsz; /* Page size of main database */
72074 pgsz = sqlite3BtreeGetPageSize(db->aDb[0].pBt);
72075 pSorter->mnPmaSize = SORTER_MIN_WORKING * pgsz;
72078 pSorter->mxPmaSize = mxCache * pgsz;
[all …]
/external/sqlite/dist/orig/
Dsqlite3.h698 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
Dsqlite3.c1248 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
14804 int pgsz, in sqlite3OsShmMap() argument
14809 return id->pMethods->xShmMap(id, iPage, pgsz, bExtend, pp); in sqlite3OsShmMap()
41238 int pgsz = pPager->pageSize; /* Number of bytes to read */
41251 rc = sqlite3WalRead(pPager->pWal, pgno, &isInWal, pgsz, pPg->pData);
41255 rc = sqlite3OsRead(pPager->fd, pPg->pData, pgsz, iOffset);
72030 int pgsz; /* Page size of main database */
72046 pgsz = sqlite3BtreeGetPageSize(db->aDb[0].pBt);
72047 pSorter->mnPmaSize = SORTER_MIN_WORKING * pgsz;
72050 pSorter->mxPmaSize = mxCache * pgsz;
[all …]