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

/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) {
164 for (j = k = 0; j < optl; j += pagesize)
165 k += seg[i * optl + j];
174 if (mprotect((void *)&seg[i * optl], optl, prot) == -1) {
197 (void) sprintf(result, "%8lld %5s", optl, flag
[all...]
H A Dmmap.c50 static long long optl = 0; variable
98 optl = def_optl;
125 optl = sizetoll(optarg);
150 * If optp or optl were set by caller, make sure that they point to a
174 if (optl == def_optl) {
175 optl = optp * 2;
176 } else if (optl % optp != 0) {
178 optl, optp);
220 ts->ts_map[i] = (vchar_t *)mmap(NULL, optl,
225 ts->ts_map[i] = (vchar_t *)mmap(NULL, optl,
[all...]
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 8 milliseconds