Lines Matching defs:mmp
120 mmap_info_t *mmp;
126 mmp = (map == 0) ?
133 if (mmp->i_pa) {
135 logfile_object_p->i_stat_mapdist += abs(mmp->i_paoff - off);
138 xx = munmap(mmp->i_pa, mmp->i_palen);
142 logfile_object_p->i_name, xx, mmp->i_pa,
143 mmp->i_palen));
145 mmp->i_pa = NULL;
146 mmp->i_palen = 0;
147 mmp->i_paoff = 0;
148 mmp->i_paend = 0;
152 mmp->i_pa = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_SHARED,
154 if (mmp->i_pa == MAP_FAILED) {
159 mmp->i_pa = NULL;
164 mmp->i_palen = len;
165 mmp->i_paoff = off;
166 mmp->i_paend = off + len - 1;
189 mmap_info_t *mmp;
195 mmp = (map == 0) ?
203 if ((start < mmp->i_paoff) || (mmp->i_paend < end)) {
209 dbug_assert((mmp->i_paoff <= start) && (end <= mmp->i_paend));
213 pa = mmp->i_pa + (start - mmp->i_paoff);