assert (map != VM_EXTERNAL_NULL);
- bit = atop(offset);
+ bit = atop_32(offset);
byte = bit >> 3;
if (map[byte] & (1 << (bit & 07))) {
return VM_EXTERNAL_STATE_EXISTS;
if (map == VM_EXTERNAL_NULL)
return;
- bit = atop(offset);
+ bit = atop_32(offset);
byte = bit >> 3;
map[byte] |= (1 << (bit & 07));
}
if (map == VM_EXTERNAL_NULL)
return;
- bit = atop(offset);
+ bit = atop_32(offset);
byte = bit >> 3;
map[byte] &= ~(1 << (bit & 07));
}