Home
last modified time | relevance | path

Searched refs:exit_sockets (Results 1 – 5 of 5) sorted by relevance

/hardware/qcom/wlan/cld80211-lib/
Dcld80211_lib.c78 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 …]
Dcld80211_lib.h47 int exit_sockets[2]; member
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifi_hal.cpp860 info->exit_sockets[0] = -1; in wifi_initialize()
861 info->exit_sockets[1] = -1; in wifi_initialize()
863 if (socketpair(AF_UNIX, SOCK_STREAM, 0, info->exit_sockets) == -1) { in wifi_initialize()
1008 if (info->exit_sockets[0] >= 0) { in internal_cleaned_up_handler()
1009 close(info->exit_sockets[0]); in internal_cleaned_up_handler()
1010 info->exit_sockets[0] = -1; in internal_cleaned_up_handler()
1013 if (info->exit_sockets[1] >= 0) { in internal_cleaned_up_handler()
1014 close(info->exit_sockets[1]); in internal_cleaned_up_handler()
1015 info->exit_sockets[1] = -1; in internal_cleaned_up_handler()
1045 TEMP_FAILURE_RETRY(write(info->exit_sockets[0], "E", 1)); in wifi_cleanup()
[all …]
Dcommon.h154 int exit_sockets[2]; member
/hardware/knowles/athletico/sound_trigger_hal/
Dsound_trigger_hw_iaxxx.c2199 int exit_sockets[2]; in callback_thread_loop() local
2213 if (socketpair(AF_UNIX, SOCK_STREAM, 0, exit_sockets) == -1) { in callback_thread_loop()
2219 stdev->send_sock = exit_sockets[0]; in callback_thread_loop()
2220 stdev->recv_sock = exit_sockets[1]; in callback_thread_loop()