Searched refs:optl (Results 1 - 4 of 4) sorted by relevance

/macosx-10.10/xnu-2782.1.97/tools/tests/libMicro/
H A Dmsync.c49 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 Dmprotect.c51 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 Dmmap.c52 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 Dmunmap.c52 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 127 milliseconds