Lines Matching defs:timeout
238 static int ctrl_send(struct udev_ctrl *uctrl, enum udev_ctrl_msg_type type, int intval, const char *buf, int timeout) {
271 r = poll(pfd, 1, timeout * MSEC_PER_SEC);
292 int udev_ctrl_send_set_log_level(struct udev_ctrl *uctrl, int priority, int timeout) {
293 return ctrl_send(uctrl, UDEV_CTRL_SET_LOG_LEVEL, priority, NULL, timeout);
296 int udev_ctrl_send_stop_exec_queue(struct udev_ctrl *uctrl, int timeout) {
297 return ctrl_send(uctrl, UDEV_CTRL_STOP_EXEC_QUEUE, 0, NULL, timeout);
300 int udev_ctrl_send_start_exec_queue(struct udev_ctrl *uctrl, int timeout) {
301 return ctrl_send(uctrl, UDEV_CTRL_START_EXEC_QUEUE, 0, NULL, timeout);
304 int udev_ctrl_send_reload(struct udev_ctrl *uctrl, int timeout) {
305 return ctrl_send(uctrl, UDEV_CTRL_RELOAD, 0, NULL, timeout);
308 int udev_ctrl_send_set_env(struct udev_ctrl *uctrl, const char *key, int timeout) {
309 return ctrl_send(uctrl, UDEV_CTRL_SET_ENV, 0, key, timeout);
312 int udev_ctrl_send_set_children_max(struct udev_ctrl *uctrl, int count, int timeout) {
313 return ctrl_send(uctrl, UDEV_CTRL_SET_CHILDREN_MAX, count, NULL, timeout);
316 int udev_ctrl_send_ping(struct udev_ctrl *uctrl, int timeout) {
317 return ctrl_send(uctrl, UDEV_CTRL_PING, 0, NULL, timeout);
320 int udev_ctrl_send_exit(struct udev_ctrl *uctrl, int timeout) {
321 return ctrl_send(uctrl, UDEV_CTRL_EXIT, 0, NULL, timeout);
359 log_error("timeout waiting for ctrl message");