Lines Matching refs:sockfd
281 static void crash_accept_cb(evconnlistener* listener, evutil_socket_t sockfd, sockaddr*, int,
283 static void crash_request_cb(evutil_socket_t sockfd, short ev, void* arg);
284 static void crash_completed_cb(evutil_socket_t sockfd, short ev, void* arg);
336 static void crash_accept_cb(evconnlistener* listener, evutil_socket_t sockfd, sockaddr*, int, in crash_accept_cb() argument
344 event* crash_event = event_new(base, sockfd, EV_TIMEOUT | EV_READ, crash_request_cb, crash); in crash_accept_cb()
345 crash->crash_socket_fd.reset(sockfd); in crash_accept_cb()
350 static void crash_request_cb(evutil_socket_t sockfd, short ev, void* arg) { in crash_request_cb() argument
362 ssize_t rc = TEMP_FAILURE_RETRY(read(sockfd, &request, sizeof(request))); in crash_request_cb()
392 int ret = getsockopt(sockfd, SOL_SOCKET, SO_PEERCRED, &cr, &len); in crash_request_cb()
432 static void crash_completed(borrowed_fd sockfd, std::unique_ptr<Crash> crash) { in crash_completed() argument
436 ssize_t rc = TEMP_FAILURE_RETRY(read(sockfd.get(), &request, sizeof(request))); in crash_completed()
479 static void crash_completed_cb(evutil_socket_t sockfd, short ev, void* arg) { in crash_completed_cb() argument
486 crash_completed(sockfd, std::move(crash)); in crash_completed_cb()