Lines Matching refs:stbuf
57 void *stbuf;
70 if ((stbuf = smb_alloc(ep->smbe_stlen)) == NULL)
73 if ((n = pread64(fd, stbuf, ep->smbe_stlen,
75 smb_free(stbuf, ep->smbe_stlen);
79 shp = smbios_bufopen(ep, stbuf, ep->smbe_stlen, version, flags, errp);
84 smb_free(stbuf, ep->smbe_stlen);
95 void *stbuf, *bios, *p, *q;
130 if ((stbuf = smb_alloc(ep->smbe_stlen)) == NULL) {
135 bcopy((char *)bios + pgoff, stbuf, ep->smbe_stlen);
137 shp = smbios_bufopen(ep, stbuf, ep->smbe_stlen, version, flags, errp);
142 smb_free(stbuf, ep->smbe_stlen);