Lines Matching refs:now
119 * now heuristics for setting the top-level variable (cutoff_) becomes:
760 struct timeval now;
765 RM_GETTIME(now);
767 if (TV_LT(&cl->undertime_, &now)) {
783 if (TV_LT(&borrow->undertime_, &now)) {
793 if (TV_LT(&cl->borrow_->undertime_, &now)) {
821 * rmc_tl_satisfied(struct rm_ifdat *ifd, struct timeval *now) - Check all
826 rmc_tl_satisfied(struct rm_ifdat *ifd, struct timeval *now)
835 if (!rmc_satisfied(p, now)) {
852 rmc_satisfied(struct rm_class *cl, struct timeval *now)
858 if (TV_LT(now, &cl->undertime_))
869 if (!rmc_satisfied(p, now))
885 rmc_under_limit(struct rm_class *cl, struct timeval *now)
900 if (TV_LT(now, &cl->undertime_))
910 while (cl->undertime_.tv_sec && TV_LT(now, &cl->undertime_)) {
933 p->overtime_ = *now;
936 p->overtime_ = *now;
973 struct timeval now;
975 RM_GETTIME(now);
987 rmc_under_limit(cl, &now) == 0)
1022 rmc_under_limit(cl, &now)) {
1105 ifd->now_[ifd->qi_] = now;
1128 struct timeval now;
1130 RM_GETTIME(now);
1157 rmc_under_limit(cl, &now))
1211 ifd->now_[ifd->qi_] = now;
1224 * rmc_dequeue_next(struct rm_ifdat *ifd, struct timeval *now) - this function
1407 if ((qlen(cl->q_) <= 1) || TV_LT(&now, &borrowed->undertime_)) {
1410 rmc_tl_satisfied(ifd, &now);