Lines Matching refs:bufp
127 char *audit_unpack_string(void **bufp, size_t *remain, size_t len) in audit_unpack_string() argument
131 if (!*bufp || (len == 0) || (len > *remain)) in audit_unpack_string()
144 memcpy(str, *bufp, len); in audit_unpack_string()
146 *bufp += len; in audit_unpack_string()
454 void *bufp; in audit_data_to_entry() local
464 bufp = data->buf; in audit_data_to_entry()
524 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry()
543 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry()
556 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry()
576 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry()
587 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry()
623 static inline size_t audit_pack_string(void **bufp, const char *str) in audit_pack_string() argument
627 memcpy(*bufp, str, len); in audit_pack_string()
628 *bufp += len; in audit_pack_string()
637 void *bufp; in audit_krule_to_data() local
648 bufp = data->buf; in audit_krule_to_data()
666 audit_pack_string(&bufp, f->lsm_str); in audit_krule_to_data()
670 audit_pack_string(&bufp, in audit_krule_to_data()
675 audit_pack_string(&bufp, in audit_krule_to_data()
680 audit_pack_string(&bufp, krule->filterkey); in audit_krule_to_data()
684 audit_pack_string(&bufp, audit_mark_path(krule->exe)); in audit_krule_to_data()