Home | History | Annotate | Download | only in pppd

Lines Matching refs:data_len

169 	tdb_len data_len; /* byte length of data */
177 char data[data_len];
512 printf(" rec: offset=%u next=%d rec_len=%d key_len=%d data_len=%d full_hash=0x%x magic=0x%x\n",
513 offset, rec.next, rec.rec_len, rec.key_len, rec.data_len, rec.full_hash, rec.magic);
1062 if (dbuf.dsize != rec.data_len) {
1064 rec.data_len = dbuf.dsize;
1090 if (rec.data_len)
1092 rec.data_len);
1095 ret.dsize = rec.data_len;
1285 rec.key_len + rec.data_len);
1296 dbuf.dsize = rec.data_len;
1487 rec.data_len = dbuf.dsize;
1525 if (rec.rec_len < key.dsize + rec.data_len + new_dbuf.dsize + sizeof(tdb_off)) {
1531 if (tdb_write(tdb, rec_ptr + sizeof(rec) + rec.key_len + rec.data_len,
1536 rec.data_len += new_dbuf.dsize;
1574 new_data_size = rec.data_len + new_dbuf.dsize;
1588 if (rec.data_len &&
1589 tdb_read(tdb, rec_ptr + sizeof(rec) + rec.key_len, p + key.dsize, rec.data_len, 0) == -1)
1594 memcpy(p+key.dsize+rec.data_len, new_dbuf.dptr, new_dbuf.dsize);
1610 rec.data_len = new_data_size;