Lines Matching defs:mp
75 struct map_table *mp;
77 for (i = 0, mp = map_table; i < MAX_MAPS; i++, mp++)
78 if ((mp->map_flags & MAP_IS_VALID) == 0)
86 mp->map_flags |= MAP_IS_VALID;
87 mp->map_add = req_add;
88 mp->map_size = req_size;
89 mp->adj_virt = adj_virt;
90 mp->adj_length = adj_length;
91 if (mp->adj_length != 0)
101 struct map_table *mp;
103 for (i = 0, mp = map_table; i < MAX_MAPS; i++, mp++) {
104 if ((mp->map_flags & MAP_IS_VALID) &&
105 mcookie >= mp->map_add &&
106 mcookie < mp->map_add + mp->map_size) {
108 " add: 0x%llx size: 0x%x\n", i, mp->map_add,
109 mp->map_size);
110 mp->map_flags &= ~MAP_IS_VALID;
111 mp->map_add = 0;
112 mp->map_size = 0;
113 mp->adj_virt = 0;
114 mp->adj_length = 0;
125 struct map_table *mp;
128 for (i = 0, mp = map_table; i < MAX_MAPS; i++, mp++)
129 if ((mp->map_flags & MAP_IS_VALID) &&
130 mcookie >= mp->map_add &&
131 mcookie < mp->map_add + mp->map_size)
146 struct map_table *mp;
148 for (i = 0, mp = map_table; i < MAX_MAPS; i++, mp++) {
149 if ((mp->map_flags & MAP_IS_VALID) &&
150 mcookie >= mp->map_add &&
151 mcookie < mp->map_add + mp->map_size) {
152 return (mp->map_size);
165 struct map_table *mp;
167 for (i = 0, mp = map_table; i < MAX_MAPS; i++, mp++) {
168 if ((mp->map_flags & MAP_IS_VALID) &&
169 mcookie >= mp->map_add &&
170 mcookie < mp->map_add + mp->map_size) {
171 return (mp->map_add);