recs              343 src/vfs/smbfs/helpers/libsmb/nmblib.c parse_alloc_res_rec (char *inbuf, int *offset, int length, struct res_rec **recs, int count)
recs              346 src/vfs/smbfs/helpers/libsmb/nmblib.c     *recs = (struct res_rec *) malloc (sizeof (**recs) * count);
recs              347 src/vfs/smbfs/helpers/libsmb/nmblib.c     if (!*recs)
recs              350 src/vfs/smbfs/helpers/libsmb/nmblib.c     memset ((char *) *recs, '\0', sizeof (**recs) * count);
recs              354 src/vfs/smbfs/helpers/libsmb/nmblib.c         int l = parse_nmb_name (inbuf, *offset, length, &(*recs)[i].rr_name);
recs              358 src/vfs/smbfs/helpers/libsmb/nmblib.c             free (*recs);
recs              361 src/vfs/smbfs/helpers/libsmb/nmblib.c         (*recs)[i].rr_type = RSVAL (inbuf, (*offset));
recs              362 src/vfs/smbfs/helpers/libsmb/nmblib.c         (*recs)[i].rr_class = RSVAL (inbuf, (*offset) + 2);
recs              363 src/vfs/smbfs/helpers/libsmb/nmblib.c         (*recs)[i].ttl = RIVAL (inbuf, (*offset) + 4);
recs              364 src/vfs/smbfs/helpers/libsmb/nmblib.c         (*recs)[i].rdlength = RSVAL (inbuf, (*offset) + 8);
recs              366 src/vfs/smbfs/helpers/libsmb/nmblib.c         if ((size_t) (*recs)[i].rdlength > sizeof ((*recs)[i].rdata) ||
recs              367 src/vfs/smbfs/helpers/libsmb/nmblib.c             (*offset) + (*recs)[i].rdlength > length)
recs              369 src/vfs/smbfs/helpers/libsmb/nmblib.c             free (*recs);
recs              372 src/vfs/smbfs/helpers/libsmb/nmblib.c         memcpy ((*recs)[i].rdata, inbuf + (*offset), (*recs)[i].rdlength);
recs              373 src/vfs/smbfs/helpers/libsmb/nmblib.c         (*offset) += (*recs)[i].rdlength;
recs              382 src/vfs/smbfs/helpers/libsmb/nmblib.c put_res_rec (char *buf, int offset, struct res_rec *recs, int count)
recs              389 src/vfs/smbfs/helpers/libsmb/nmblib.c         int l = put_nmb_name (buf, offset, &recs[i].rr_name);
recs              392 src/vfs/smbfs/helpers/libsmb/nmblib.c         RSSVAL (buf, offset, recs[i].rr_type);
recs              393 src/vfs/smbfs/helpers/libsmb/nmblib.c         RSSVAL (buf, offset + 2, recs[i].rr_class);
recs              394 src/vfs/smbfs/helpers/libsmb/nmblib.c         RSIVAL (buf, offset + 4, recs[i].ttl);
recs              395 src/vfs/smbfs/helpers/libsmb/nmblib.c         RSSVAL (buf, offset + 8, recs[i].rdlength);
recs              396 src/vfs/smbfs/helpers/libsmb/nmblib.c         memcpy (buf + offset + 10, recs[i].rdata, recs[i].rdlength);
recs              397 src/vfs/smbfs/helpers/libsmb/nmblib.c         offset += 10 + recs[i].rdlength;
recs              398 src/vfs/smbfs/helpers/libsmb/nmblib.c         ret += 10 + recs[i].rdlength;