Lines Matching refs:ptr
45 * @ptr: Pointer to "struct tomoyo_ipaddr_union".
50 struct tomoyo_ipaddr_union *ptr)
52 u8 * const min = ptr->ip[0].in6_u.u6_addr8;
53 u8 * const max = ptr->ip[1].in6_u.u6_addr8;
59 ptr->is_ipv6 = false;
61 ptr->ip[1].s6_addr32[0] = ptr->ip[0].s6_addr32[0];
68 ptr->is_ipv6 = true;
119 * @ptr: Pointer to "struct ipaddr_union".
124 const struct tomoyo_ipaddr_union *ptr)
126 if (ptr->is_ipv6)
127 tomoyo_print_ipv6(buf, size, &ptr->ip[0], &ptr->ip[1]);
129 tomoyo_print_ipv4(buf, size, &ptr->ip[0].s6_addr32[0],
130 &ptr->ip[1].s6_addr32[0]);
414 * @ptr: Pointer to "struct tomoyo_acl_info".
419 const struct tomoyo_acl_info *ptr)
422 container_of(ptr, typeof(*acl), head);
444 * @ptr: Pointer to "struct tomoyo_acl_info".
449 const struct tomoyo_acl_info *ptr)
452 container_of(ptr, typeof(*acl), head);