Lines Matching refs:timer
1783 struct timer *tp = uap;
1802 struct timer *tp = uap;
1808 * Start a one-shot timer
1813 struct timer *tp;
1818 if ((tp = malloc(sizeof(struct timer))) == NULL) {
1819 syslog(LOG_CRIT, "out of memory for timer");
1836 syslog(LOG_ERR, "cannot set timer: %m");
1842 syslog(LOG_ERR, "cannot set timer: %m");
1850 * Start a repeatable timer. When used with USE_LIBBEGEMOT the first argument
1858 struct timer *tp;
1864 if ((tp = malloc(sizeof(struct timer))) == NULL) {
1865 syslog(LOG_CRIT, "out of memory for timer");
1883 syslog(LOG_ERR, "cannot set timer: %m");
1888 syslog(LOG_ERR, "cannot set timer: %m");
1896 * Stop a timer.
1901 struct timer *tp = p;
1908 syslog(LOG_ERR, "cannot stop timer: %m");
1918 struct timer *t, *t1;