Searched refs:cn_fds (Results 1 – 1 of 1) sorted by relevance
1295 int cn_fds; in service_collect_fds() local1302 cn_fds = socket_collect_fds(sock, &cfds); in service_collect_fds()1303 if (cn_fds < 0) in service_collect_fds()1304 return cn_fds; in service_collect_fds()1306 if (cn_fds <= 0) in service_collect_fds()1311 rn_socket_fds = cn_fds; in service_collect_fds()1315 t = reallocarray(rfds, rn_socket_fds + cn_fds, sizeof(int)); in service_collect_fds()1319 memcpy(t + rn_socket_fds, cfds, cn_fds * sizeof(int)); in service_collect_fds()1322 rn_socket_fds += cn_fds; in service_collect_fds()1325 r = strv_extend_n(&rfd_names, socket_fdname(sock), cn_fds); in service_collect_fds()