Lines Matching refs:buf
124 void tomoyo_print_ip(char *buf, const unsigned int size, in tomoyo_print_ip() argument
128 tomoyo_print_ipv6(buf, size, &ptr->ip[0], &ptr->ip[1]); in tomoyo_print_ip()
130 tomoyo_print_ipv4(buf, size, &ptr->ip[0].s6_addr32[0], in tomoyo_print_ip()
381 char buf[128]; in tomoyo_audit_inet_log() local
386 tomoyo_print_ipv6(buf, sizeof(buf), (const struct in6_addr *) in tomoyo_audit_inet_log()
389 tomoyo_print_ipv4(buf, sizeof(buf), address, address); in tomoyo_audit_inet_log()
390 len = strlen(buf); in tomoyo_audit_inet_log()
391 snprintf(buf + len, sizeof(buf) - len, " %u", in tomoyo_audit_inet_log()
394 r->param.inet_network.operation, buf); in tomoyo_audit_inet_log()
553 char *buf = address->unix0.addr; in tomoyo_unix_entry() local
557 buf = "anonymous"; in tomoyo_unix_entry()
559 } else if (buf[0]) { in tomoyo_unix_entry()
560 len = strnlen(buf, len); in tomoyo_unix_entry()
562 buf = tomoyo_encode2(buf, len); in tomoyo_unix_entry()
563 if (buf) { in tomoyo_unix_entry()
566 addr.name = buf; in tomoyo_unix_entry()
576 kfree(buf); in tomoyo_unix_entry()