Searched refs:ts_map (Results 1 - 3 of 3) sorted by relevance

/libmicro/
H A Dmunmap.c44 vchar_t ** ts_map; member in struct:__anon28
123 ts->ts_map = (vchar_t **)malloc(lm_optB * sizeof (void *));
124 if (ts->ts_map == NULL) {
131 ts->ts_map[i] = (vchar_t *)mmap(NULL, optl,
136 ts->ts_map[i] = (vchar_t *)mmap(NULL, optl,
142 if (ts->ts_map[i] == MAP_FAILED) {
148 ts->ts_foo += ts->ts_map[i][j];
153 ts->ts_map[i][j] = 1;
168 if (munmap((void *)ts->ts_map[i], optl) == -1) {
H A Dmmap.c42 vchar_t ** ts_map; member in struct:__anon25
195 ts->ts_map = (vchar_t **)malloc(lm_optB * sizeof (void *));
196 if (ts->ts_map == NULL) {
220 ts->ts_map[i] = (vchar_t *)mmap(NULL, optl,
225 ts->ts_map[i] = (vchar_t *)mmap(NULL, optl,
231 if (ts->ts_map[i] == MAP_FAILED) {
237 memcntl((caddr_t)ts->ts_map[i], optl, MC_HAT_ADVISE,
246 ts->ts_foo += ts->ts_map[i][j];
251 ts->ts_map[i][j] = 1;
267 (void) munmap((void *)ts->ts_map[
[all...]
H A Dmsync.c41 char *ts_map; member in struct:__anon27
132 if ((ts->ts_map = (char *)mmap(NULL, optl,
151 if (msync(ts->ts_map, optl, opta | opti) < 0) {
159 ts->ts_foo += ts->ts_map[j];
165 ts->ts_map[j] = 1;

Completed in 8 milliseconds