Lines Matching refs:len
162 rec->len = 0;
191 if (rec->len + tok->len + AUDIT_TRAILER_SIZE > MAX_AUDIT_RECORD_SIZE) {
203 rec->len += tok->len; /* grow record length by token size bytes */
242 tot_rec_size = rec->len + AUDIT_HEADER_SIZE +
263 tot_rec_size = rec->len + hdrsize + AUDIT_TRAILER_SIZE;
289 rec->len = tot_rec_size;
293 memcpy(dptr, tok->t_data, tok->len);
294 dptr += tok->len;
317 rec->len = 0;
354 tot_rec_size = rec->len + MAX_AUDIT_HEADER_SIZE + AUDIT_TRAILER_SIZE;
377 retval = audit(rec->data, rec->len);
404 tot_rec_size = rec->len + MAX_AUDIT_HEADER_SIZE + AUDIT_TRAILER_SIZE;
422 memcpy(buffer, rec->data, rec->len);
423 *buflen = rec->len;
439 if (tok->len > *buflen) {
445 memcpy(buffer, tok->t_data, tok->len);
446 *buflen = tok->len;