Lines Matching defs:bios
95 void *stbuf, *bios, *p, *q;
97 bios = mmap(NULL, SMB_RANGE_LIMIT - SMB_RANGE_START + 1,
100 if (bios == MAP_FAILED)
103 q = (void *)((uintptr_t)bios + SMB_RANGE_LIMIT - SMB_RANGE_START + 1);
105 for (p = bios; p < q; p = (void *)((uintptr_t)p + 16)) {
111 (void) munmap(bios, SMB_RANGE_LIMIT - SMB_RANGE_START + 1);
118 (void) munmap(bios, SMB_RANGE_LIMIT - SMB_RANGE_START + 1);
124 bios = mmap(NULL, ep->smbe_stlen + pgoff,
127 if (bios == MAP_FAILED)
131 (void) munmap(bios, ep->smbe_stlen + pgoff);
135 bcopy((char *)bios + pgoff, stbuf, ep->smbe_stlen);
136 (void) munmap(bios, ep->smbe_stlen + pgoff);