Home
last modified time | relevance | path

Searched refs:sock_name (Results 1 – 6 of 6) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/android/ion/
Dipcsocket.c38 sprintf(sock_name, "/tmp/%s", name); in opensocket()
46 unlink(sock_name); in opensocket()
49 strcpy(skaddr.sun_path, sock_name); in opensocket()
85 strcpy(skaddr.sun_path, sock_name); in opensocket()
Dipcsocket.h8 char sock_name[MAX_SOCK_NAME_LEN]; variable
/external/perfetto/src/profiling/memory/
Dclient.cc103 const std::string& sock_name) { in ConnectToHeapprofd() argument
105 if (!sock || !sock.Connect(sock_name)) { in ConnectToHeapprofd()
106 PERFETTO_PLOG("Failed to connect to %s", sock_name.c_str()); in ConnectToHeapprofd()
110 PERFETTO_PLOG("Failed to set send timeout for %s", sock_name.c_str()); in ConnectToHeapprofd()
114 PERFETTO_PLOG("Failed to set receive timeout for %s", sock_name.c_str()); in ConnectToHeapprofd()
Dclient.h66 const std::string& sock_name);
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_priv.c30 char *sock_name; member
723 unlink(iface->sock_name); in wpa_priv_interface_deinit()
733 os_free(iface->sock_name); in wpa_priv_interface_deinit()
786 iface->sock_name = os_malloc(len + 1); in wpa_priv_interface_init()
787 if (iface->sock_name == NULL) { in wpa_priv_interface_init()
792 os_snprintf(iface->sock_name, len + 1, "%s/%s", dir, iface->ifname); in wpa_priv_interface_init()
793 if (os_strlen(iface->sock_name) >= sizeof(addr.sun_path)) { in wpa_priv_interface_init()
807 os_strlcpy(addr.sun_path, iface->sock_name, sizeof(addr.sun_path)); in wpa_priv_interface_init()
817 if (unlink(iface->sock_name) < 0) { in wpa_priv_interface_init()
820 iface->sock_name, strerror(errno)); in wpa_priv_interface_init()
[all …]
/external/iproute2/misc/
Dss.c752 static bool is_sctp_assoc(struct sockstat *s, const char *sock_name) in is_sctp_assoc() argument
754 if (strcmp(sock_name, "sctp")) in is_sctp_assoc()
796 const char *sock_name; in sock_state_print() local
814 sock_name = unix_netid_name(s->type); in sock_state_print()
818 sock_name = proto_name(s->type); in sock_state_print()
821 sock_name = s->type == SOCK_RAW ? "p_raw" : "p_dgr"; in sock_state_print()
824 sock_name = "nl"; in sock_state_print()
827 sock_name = "unknown"; in sock_state_print()
832 is_sctp_assoc(s, sock_name) ? "" : sock_name); in sock_state_print()
834 if (is_sctp_assoc(s, sock_name)) in sock_state_print()