Home
last modified time | relevance | path

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

/aosp12/hardware/qcom/wlan/cld80211-lib/
H A 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 …]
H A Dcld80211_lib.h47 int exit_sockets[2]; member
/aosp12/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dwifi_hal.cpp863 info->exit_sockets[0] = -1; in wifi_initialize()
864 info->exit_sockets[1] = -1; in wifi_initialize()
866 if (socketpair(AF_UNIX, SOCK_STREAM, 0, info->exit_sockets) == -1) { in wifi_initialize()
1054 if (info->exit_sockets[0] >= 0) { in internal_cleaned_up_handler()
1055 close(info->exit_sockets[0]); in internal_cleaned_up_handler()
1056 info->exit_sockets[0] = -1; in internal_cleaned_up_handler()
1059 if (info->exit_sockets[1] >= 0) { in internal_cleaned_up_handler()
1060 close(info->exit_sockets[1]); in internal_cleaned_up_handler()
1061 info->exit_sockets[1] = -1; in internal_cleaned_up_handler()
1094 TEMP_FAILURE_RETRY(write(info->exit_sockets[0], "E", 1)); in wifi_cleanup()
[all …]
H A Dcommon.h156 int exit_sockets[2]; member
/aosp12/hardware/knowles/athletico/sound_trigger_hal/
H A Dsound_trigger_hw_iaxxx.c2197 int exit_sockets[2]; in callback_thread_loop() local
2211 if (socketpair(AF_UNIX, SOCK_STREAM, 0, exit_sockets) == -1) { in callback_thread_loop()
2217 stdev->send_sock = exit_sockets[0]; in callback_thread_loop()
2218 stdev->recv_sock = exit_sockets[1]; in callback_thread_loop()