Lines Matching refs:un
96 a->sockaddr.un.sun_path[0] != 0 && in socket_address_verify()
101 e = memchr(a->sockaddr.un.sun_path, 0, sizeof(a->sockaddr.un.sun_path)); in socket_address_verify()
104 … if (a->size != offsetof(struct sockaddr_un, sun_path) + (e - a->sockaddr.un.sun_path) + 1) in socket_address_verify()
111 … if (!IN_SET(a->size, sizeof(a->sockaddr.un.sun_path), sizeof(a->sockaddr.un.sun_path)+1)) in socket_address_verify()
222 if ((a->sockaddr.un.sun_path[0] == 0) != (b->sockaddr.un.sun_path[0] == 0)) in socket_address_equal()
225 if (a->sockaddr.un.sun_path[0]) { in socket_address_equal()
226 … if (!path_equal_or_files_same(a->sockaddr.un.sun_path, b->sockaddr.un.sun_path, 0)) in socket_address_equal()
232 if (memcmp(a->sockaddr.un.sun_path, b->sockaddr.un.sun_path, a->size) != 0) in socket_address_equal()
270 if (a->sockaddr.un.sun_path[0] == 0) in socket_address_get_path()
277 return a->sockaddr.un.sun_path; in socket_address_get_path()
520 … (sa->un.sun_path[0] == 0 && salen == offsetof(struct sockaddr_un, sun_path) + 1)) in sockaddr_pretty()