Lines Matching refs:ptr
51 struct tomoyo_ipaddr_union *ptr) in tomoyo_parse_ipaddr_union() argument
53 u8 * const min = ptr->ip[0].in6_u.u6_addr8; in tomoyo_parse_ipaddr_union()
54 u8 * const max = ptr->ip[1].in6_u.u6_addr8; in tomoyo_parse_ipaddr_union()
60 ptr->is_ipv6 = false; in tomoyo_parse_ipaddr_union()
62 ptr->ip[1].s6_addr32[0] = ptr->ip[0].s6_addr32[0]; in tomoyo_parse_ipaddr_union()
69 ptr->is_ipv6 = true; in tomoyo_parse_ipaddr_union()
125 const struct tomoyo_ipaddr_union *ptr) in tomoyo_print_ip() argument
127 if (ptr->is_ipv6) in tomoyo_print_ip()
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()
131 &ptr->ip[1].s6_addr32[0]); in tomoyo_print_ip()
420 const struct tomoyo_acl_info *ptr) in tomoyo_check_inet_acl() argument
423 container_of(ptr, typeof(*acl), head); in tomoyo_check_inet_acl()
450 const struct tomoyo_acl_info *ptr) in tomoyo_check_unix_acl() argument
453 container_of(ptr, typeof(*acl), head); in tomoyo_check_unix_acl()