Home
last modified time | relevance | path

Searched refs:tot_rec_size (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/openbsm/libbsm/
H A Dbsm_audit.c227 size_t tot_rec_size; in au_assemble() local
242 tot_rec_size = rec->len + AUDIT_HEADER_SIZE + in au_assemble()
244 header = au_to_header(tot_rec_size, event, 0); in au_assemble()
263 tot_rec_size = rec->len + hdrsize + AUDIT_TRAILER_SIZE; in au_assemble()
269 header = au_to_header32_ex_tm(tot_rec_size, event, in au_assemble()
272 header = au_to_header(tot_rec_size, event, 0); in au_assemble()
278 trailer = au_to_trailer(tot_rec_size); in au_assemble()
289 rec->len = tot_rec_size; in au_assemble()
340 size_t tot_rec_size; in au_close() local
354 tot_rec_size = rec->len + MAX_AUDIT_HEADER_SIZE + AUDIT_TRAILER_SIZE; in au_close()
[all …]
/freebsd/sys/security/audit/
H A Daudit_bsm.c119 size_t tot_rec_size; in kau_close() local
141 tot_rec_size = rec->len + hdrsize + AUDIT_TRAILER_SIZE; in kau_close()
142 rec->data = malloc(tot_rec_size, M_AUDITBSM, M_WAITOK | M_ZERO); in kau_close()
147 hdr = au_to_header32_ex_tm(tot_rec_size, event, 0, tm, &ak); in kau_close()
149 hdr = au_to_header32_tm(tot_rec_size, event, 0, tm); in kau_close()
152 trail = au_to_trailer(tot_rec_size); in kau_close()
155 rec->len = tot_rec_size; in kau_close()