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()
544 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry()
557 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry()
577 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry()
588 str = audit_unpack_string(&bufp, &remain, f_val); in audit_data_to_entry()
624 static inline size_t audit_pack_string(void **bufp, const char *str) in audit_pack_string() argument
628 memcpy(*bufp, str, len); in audit_pack_string()
629 *bufp += len; in audit_pack_string()
638 void *bufp; in audit_krule_to_data() local
649 bufp = data->buf; in audit_krule_to_data()
667 audit_pack_string(&bufp, f->lsm_str); in audit_krule_to_data()
671 audit_pack_string(&bufp, in audit_krule_to_data()
676 audit_pack_string(&bufp, in audit_krule_to_data()
681 audit_pack_string(&bufp, krule->filterkey); in audit_krule_to_data()
685 audit_pack_string(&bufp, audit_mark_path(krule->exe)); in audit_krule_to_data()