Searched refs:exit_sockets (Results 1 – 4 of 4) sorted by relevance
/hardware/qcom/wlan/cld80211-lib/ |
D | cld80211_lib.c | 78 ctx->exit_sockets[0] = -1; in init_exit_sockets() 79 ctx->exit_sockets[1] = -1; in init_exit_sockets() 80 if (socketpair(AF_UNIX, SOCK_STREAM, 0, &ctx->exit_sockets[0]) == -1) { in init_exit_sockets() 92 if (ctx->exit_sockets[0] >= 0) { in cleanup_exit_sockets() 93 close(ctx->exit_sockets[0]); in cleanup_exit_sockets() 94 ctx->exit_sockets[0] = -1; in cleanup_exit_sockets() 97 if (ctx->exit_sockets[1] >= 0) { in cleanup_exit_sockets() 98 close(ctx->exit_sockets[1]); in cleanup_exit_sockets() 99 ctx->exit_sockets[1] = -1; in cleanup_exit_sockets() 110 TEMP_FAILURE_RETRY(write(ctx->exit_sockets[0], "E", 1)); in exit_cld80211_recv() [all …]
|
D | cld80211_lib.h | 47 int exit_sockets[2]; member
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | wifi_hal.cpp | 654 info->exit_sockets[0] = -1; in wifi_initialize() 655 info->exit_sockets[1] = -1; in wifi_initialize() 657 if (socketpair(AF_UNIX, SOCK_STREAM, 0, info->exit_sockets) == -1) { in wifi_initialize() 754 if (info->exit_sockets[0] >= 0) { in internal_cleaned_up_handler() 755 close(info->exit_sockets[0]); in internal_cleaned_up_handler() 756 info->exit_sockets[0] = -1; in internal_cleaned_up_handler() 759 if (info->exit_sockets[1] >= 0) { in internal_cleaned_up_handler() 760 close(info->exit_sockets[1]); in internal_cleaned_up_handler() 761 info->exit_sockets[1] = -1; in internal_cleaned_up_handler() 786 TEMP_FAILURE_RETRY(write(info->exit_sockets[0], "E", 1)); in wifi_cleanup() [all …]
|
D | common.h | 131 int exit_sockets[2]; member
|