Lines Matching refs:audit_buf

4391 					 struct audit_buffer *audit_buf)  in xfrm_audit_common_policyinfo()  argument
4397 audit_log_format(audit_buf, " sec_alg=%u sec_doi=%u sec_obj=%s", in xfrm_audit_common_policyinfo()
4402 audit_log_format(audit_buf, " src=%pI4", &sel->saddr.a4); in xfrm_audit_common_policyinfo()
4404 audit_log_format(audit_buf, " src_prefixlen=%d", in xfrm_audit_common_policyinfo()
4406 audit_log_format(audit_buf, " dst=%pI4", &sel->daddr.a4); in xfrm_audit_common_policyinfo()
4408 audit_log_format(audit_buf, " dst_prefixlen=%d", in xfrm_audit_common_policyinfo()
4412 audit_log_format(audit_buf, " src=%pI6", sel->saddr.a6); in xfrm_audit_common_policyinfo()
4414 audit_log_format(audit_buf, " src_prefixlen=%d", in xfrm_audit_common_policyinfo()
4416 audit_log_format(audit_buf, " dst=%pI6", sel->daddr.a6); in xfrm_audit_common_policyinfo()
4418 audit_log_format(audit_buf, " dst_prefixlen=%d", in xfrm_audit_common_policyinfo()
4426 struct audit_buffer *audit_buf; in xfrm_audit_policy_add() local
4428 audit_buf = xfrm_audit_start("SPD-add"); in xfrm_audit_policy_add()
4429 if (audit_buf == NULL) in xfrm_audit_policy_add()
4431 xfrm_audit_helper_usrinfo(task_valid, audit_buf); in xfrm_audit_policy_add()
4432 audit_log_format(audit_buf, " res=%u", result); in xfrm_audit_policy_add()
4433 xfrm_audit_common_policyinfo(xp, audit_buf); in xfrm_audit_policy_add()
4434 audit_log_end(audit_buf); in xfrm_audit_policy_add()
4441 struct audit_buffer *audit_buf; in xfrm_audit_policy_delete() local
4443 audit_buf = xfrm_audit_start("SPD-delete"); in xfrm_audit_policy_delete()
4444 if (audit_buf == NULL) in xfrm_audit_policy_delete()
4446 xfrm_audit_helper_usrinfo(task_valid, audit_buf); in xfrm_audit_policy_delete()
4447 audit_log_format(audit_buf, " res=%u", result); in xfrm_audit_policy_delete()
4448 xfrm_audit_common_policyinfo(xp, audit_buf); in xfrm_audit_policy_delete()
4449 audit_log_end(audit_buf); in xfrm_audit_policy_delete()