Searched refs:optl (Results 1 - 4 of 4) sorted by relevance
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | msync.c | 49 static long long optl = DEFL; variable 98 optl = sizetoll(optarg); 130 (void) ftruncate(fd, optl); 132 if ((ts->ts_map = (char *)mmap(NULL, optl, 151 if (msync(ts->ts_map, optl, opta | opti) < 0) { 158 for (j = 0; j < optl; j += pagesize) { 164 for (j = 0; j < optl; j += pagesize) { 187 (void) sprintf(result, "%8lld %6s", optl, flags);
|
H A D | mprotect.c | 51 static long long optl = DEFL; variable 93 optl = sizetoll(optarg); 125 seg = (vchar_t *)mmap(NULL, lm_optB * optl, PROT_READ | PROT_WRITE, 133 for (i = 0; i < lm_optB * optl; i += 4096) { 139 for (i = 0; i < lm_optB * optl; i += 4096) { 169 for (j = k = 0; j < optl; j += pagesize) 170 k += seg[i * optl + j]; 179 if (mprotect((void *)&seg[i * optl], optl, prot) == -1) { 202 (void) sprintf(result, "%8lld %5s", optl, flag [all...] |
H A D | mmap.c | 52 static long long optl = DEFL; variable 89 optl = sizetoll(optarg); 139 ts->ts_map[i] = (vchar_t *)mmap(NULL, optl, 144 ts->ts_map[i] = (vchar_t *)mmap(NULL, optl, 156 for (j = 0; j < optl; j += 4096) { 161 for (j = 0; j < optl; j += 4096) { 178 (void) munmap((void *)ts->ts_map[i], optl); 195 (void) sprintf(result, "%8lld %5s", optl, flags);
|
H A D | munmap.c | 52 static long long optl = DEFL; variable 89 optl = sizetoll(optarg); 131 ts->ts_map[i] = (vchar_t *)mmap(NULL, optl, 136 ts->ts_map[i] = (vchar_t *)mmap(NULL, optl, 147 for (j = 0; j < optl; j += 4096) { 152 for (j = 0; j < optl; j += 4096) { 168 if (munmap((void *)ts->ts_map[i], optl) == -1) { 189 (void) sprintf(result, "%8lld %5s", optl, flags);
|
Completed in 33 milliseconds