Searched refs:pgsz (Results 1 – 8 of 8) sorted by relevance
/external/valgrind/memcheck/tests/ |
D | addressable.c | 13 static int pgsz; variable 35 char *m = mm(0, pgsz * 5, PROT_READ); in test1() 37 (void) 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 (void) VALGRIND_CHECK_MEM_IS_DEFINED(m, pgsz*5); /* all OK */ in test2() 46 munmap(&m[pgsz*2], pgsz); in test2() 48 (void) 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 (void) VALGRIND_MAKE_MEM_UNDEFINED(&m[pgsz], pgsz); in test3() [all …]
|
D | descr_belowsp.c | 120 const int pgsz = guess_pagesize(); in child_fn_0() local 130 stackid = VALGRIND_STACK_REGISTER((void*) VG_ROUNDDN(&stackid, pgsz), in child_fn_0() 131 (void*) VG_ROUNDUP(&stackid, pgsz)); in child_fn_0()
|
/external/blktrace/btt/ |
D | mmap.c | 40 static long pgsz; variable 86 cur_min = (cur & ~(pgsz-1)); in move_map() 106 pgsz = sysconf(_SC_PAGESIZE); in setup_ifile()
|
/external/libdrm/intel/ |
D | intel_bufmgr_gem.c | 1013 long pgsz; in has_userptr() local 1016 pgsz = sysconf(_SC_PAGESIZE); in has_userptr() 1017 assert(pgsz > 0); in has_userptr() 1019 ret = posix_memalign(&ptr, pgsz, pgsz); in has_userptr() 1022 pgsz); in has_userptr() 1028 userptr.user_size = pgsz; in has_userptr()
|
/external/sqlite/dist/ |
D | sqlite3.h | 747 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
|
D | sqlite3.c | 961 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**); 17375 int pgsz, in sqlite3OsShmMap() argument 17380 return id->pMethods->xShmMap(id, iPage, pgsz, bExtend, pp); in sqlite3OsShmMap() 30831 int pgsz = osGetpagesize(); /* System page size */ 30832 assert( ((pgsz-1)&pgsz)==0 ); /* Page size must be a power of 2 */ 30833 if( pgsz<shmsz ) return 1; 30834 return pgsz/shmsz; 31114 static const int pgsz = 4096; 31118 assert( (nByte % pgsz)==0 ); 31119 for(iPg=(sStat.st_size/pgsz); iPg<(nByte/pgsz); iPg++){ [all …]
|
/external/sqlite/dist/orig/ |
D | sqlite3.h | 747 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**);
|
D | sqlite3.c | 961 int (*xShmMap)(sqlite3_file*, int iPg, int pgsz, int, void volatile**); 17375 int pgsz, in sqlite3OsShmMap() argument 17380 return id->pMethods->xShmMap(id, iPage, pgsz, bExtend, pp); in sqlite3OsShmMap() 30813 int pgsz = osGetpagesize(); /* System page size */ 30814 assert( ((pgsz-1)&pgsz)==0 ); /* Page size must be a power of 2 */ 30815 if( pgsz<shmsz ) return 1; 30816 return pgsz/shmsz; 31096 static const int pgsz = 4096; 31100 assert( (nByte % pgsz)==0 ); 31101 for(iPg=(sStat.st_size/pgsz); iPg<(nByte/pgsz); iPg++){ [all …]
|