Searched refs:sip (Results 1 – 2 of 2) sorted by relevance
363 struct inode_smack *sip = smack_inode(isp); in smk_inode_transmutable() local364 return (sip->smk_flags & SMK_INODE_TRANSMUTE) != 0; in smk_inode_transmutable()372 struct inode_smack *sip = smack_inode(isp); in smk_of_inode() local373 return sip->smk_inode; in smk_of_inode()
2386 static struct smack_known *smack_ipv4host_label(struct sockaddr_in *sip) in smack_ipv4host_label() argument2389 struct in_addr *siap = &sip->sin_addr; in smack_ipv4host_label()2413 static bool smk_ipv6_localhost(struct sockaddr_in6 *sip) in smk_ipv6_localhost() argument2415 __be16 *be16p = (__be16 *)&sip->sin6_addr; in smk_ipv6_localhost()2416 __be32 *be32p = (__be32 *)&sip->sin6_addr; in smk_ipv6_localhost()2436 static struct smack_known *smack_ipv6host_label(struct sockaddr_in6 *sip) in smack_ipv6host_label() argument2439 struct in6_addr *sap = &sip->sin6_addr; in smack_ipv6host_label()2446 if (smk_ipv6_localhost(sip)) in smack_ipv6host_label()2933 struct sockaddr_in6 *sip = (struct sockaddr_in6 *)sap; in smack_socket_connect() local2939 rsp = smack_ipv6host_label(sip); in smack_socket_connect()[all …]