Searched refs:un (Results 1 – 5 of 5) sorted by relevance
/xen/tools/libxl/ |
A D | libxl_utils.c | 1252 struct sockaddr_un *un, const char *path, in libxl__prepare_sockaddr_un() argument 1255 if (sizeof(un->sun_path) - 1 <= strlen(path)) { in libxl__prepare_sockaddr_un() 1257 LOG(DEBUG, "Path must be less than %zu bytes", sizeof(un->sun_path) - 1); in libxl__prepare_sockaddr_un() 1260 memset(un, 0, sizeof(struct sockaddr_un)); in libxl__prepare_sockaddr_un() 1261 un->sun_family = AF_UNIX; in libxl__prepare_sockaddr_un() 1262 strncpy(un->sun_path, path, sizeof(un->sun_path) - 1); in libxl__prepare_sockaddr_un()
|
A D | libxl_qmp.c | 1316 struct sockaddr_un un; in qmp_ev_lock_aquired() local 1325 rc = libxl__prepare_sockaddr_un(gc, &un, qmp_socket_path, in qmp_ev_lock_aquired() 1331 (struct sockaddr *) &un, sizeof(un)); in qmp_ev_lock_aquired()
|
A D | libxl_dm.c | 1130 struct sockaddr_un un; in libxl__pre_open_qmp_socket() local 1139 rc = libxl__prepare_sockaddr_un(gc, &un, path, "QEMU's QMP socket"); in libxl__pre_open_qmp_socket() 1147 r = bind(fd, (struct sockaddr *) &un, sizeof(un)); in libxl__pre_open_qmp_socket()
|
A D | CODING_STYLE | 62 libxl__ctx_[un]lock CTX_LOCK, CTX_UNLOCK
|
A D | libxl_internal.h | 4815 _hidden int libxl__prepare_sockaddr_un(libxl__gc *gc, struct sockaddr_un *un,
|
Completed in 29 milliseconds