H A D | nscdcli.c | 53 safe_write(struct nscd_connection_ *connection, const void *data, in safe_write() argument 69 nevents = kevent(connection->write_queue, NULL, 0, &eventlist, in safe_write() 72 s_result = write(connection->sockfd, in safe_write() 91 safe_read(struct nscd_connection_ *connection, void *data, size_t data_size) in safe_read() argument 106 nevents = kevent(connection->read_queue, NULL, 0, &eventlist, 1, in safe_read() 109 s_result = read(connection->sockfd, in safe_read() 128 send_credentials(struct nscd_connection_ *connection, int type) in send_credentials() argument 155 EV_SET(&eventlist, connection->sockfd, EVFILT_WRITE, EV_ADD, in send_credentials() 157 kevent(connection->write_queue, &eventlist, 1, NULL, 0, NULL); in send_credentials() 159 nevents = kevent(connection->write_queue, NULL, 0, &eventlist, 1, NULL); in send_credentials() [all …]
|