Lines Matching refs:ftp
560 fmd_timer_t *ftp = sv.sival_ptr;
561 fmd_hdl_t *hdl = ftp->ft_hdl;
566 fmd_hdl_debug(hdl, "timer fired (%p)", ftp->ft_tid);
570 timer_settime(ftp->ft_tid, 0, &its, NULL);
574 ops->fmdo_timeout(hdl, ftp, ftp->ft_arg);
587 fmd_timer_t *ftp;
589 ftp = fmd_hdl_alloc(hdl, sizeof (fmd_timer_t), FMD_SLEEP);
590 ftp->ft_arg = arg;
591 ftp->ft_hdl = hdl;
601 sev.sigev_value.sival_ptr = ftp;
603 timer_create(CLOCK_REALTIME, &sev, &ftp->ft_tid);
604 timer_settime(ftp->ft_tid, 0, &its, NULL);
607 (int)its.it_value.tv_sec, ftp->ft_tid);
609 return (ftp);
613 fmd_timer_remove(fmd_hdl_t *hdl, fmd_timer_t *ftp)
615 fmd_hdl_debug(hdl, "removing timer (%p)", ftp->ft_tid);
617 timer_delete(ftp->ft_tid);
619 fmd_hdl_free(hdl, ftp, sizeof (fmd_timer_t));