Lines Matching refs:sock
81 int sock = -1; in __nscd_setnetgrent() local
84 sock = __nscd_open_socket (group, group_len, GETNETGRENT, in __nscd_setnetgrent()
86 if (sock == -1) in __nscd_setnetgrent()
107 if ((size_t) __readall (sock, respdata, datalen) != datalen) in __nscd_setnetgrent()
140 if (sock != -1) in __nscd_setnetgrent()
141 __close_nocancel_nostatus (sock); in __nscd_setnetgrent()
214 int sock = -1; in __nscd_innetgr() local
236 sock = __nscd_open_socket (key, key_len, INNETGR, in __nscd_innetgr()
238 if (sock == -1) in __nscd_innetgr()
264 if (sock != -1) in __nscd_innetgr()
265 __close_nocancel_nostatus (sock); in __nscd_innetgr()