Lines Matching refs:stbuf
60 void *stbuf; in smb_fileopen() local
87 stbuf = smb_alloc(smbe_stlen); in smb_fileopen()
89 if (stbuf == NULL) in smb_fileopen()
92 if ((n = pread64(fd, stbuf, smbe_stlen, smbe_staddr)) != smbe_stlen) { in smb_fileopen()
93 smb_free(stbuf, smbe_stlen); in smb_fileopen()
97 shp = smbios_bufopen(ep, stbuf, smbe_stlen, version, flags, errp); in smb_fileopen()
102 smb_free(stbuf, smbe_stlen); in smb_fileopen()
114 void *stbuf, *bios, *p, *q; in smb_biosopen() local
220 if ((stbuf = smb_alloc(smbe_stlen)) == NULL) { in smb_biosopen()
225 bcopy((char *)bios + pgoff, stbuf, smbe_stlen); in smb_biosopen()
227 shp = smbios_bufopen(ep, stbuf, smbe_stlen, version, flags, errp); in smb_biosopen()
232 smb_free(stbuf, smbe_stlen); in smb_biosopen()