Lines Matching refs:base
446 mmtimer_t *base = timers[indx] + i;
448 spin_lock(&base->lock);
449 if (base->cpu == smp_processor_id()) {
450 if (base->timer)
451 expires = base->timer->it.mmtimer.expires;
456 tasklet_schedule(&base->tasklet);
460 spin_unlock(&base->lock);
564 mmtimer_t *base;
609 base = timers[nodeid] + i;
610 if (!base->timer && !base->tasklet.state) {
620 spin_lock_irqsave(&base->lock, irqflags);
622 if (base->timer || base->tasklet.state != 0) {
623 spin_unlock_irqrestore(&base->lock, irqflags);
626 base->timer = timr;
627 base->cpu = smp_processor_id();
642 if (reschedule_periodic_timer(base))
646 spin_unlock_irqrestore(&base->lock, irqflags);
724 mmtimer_t * base = timers[node] + i;
726 spin_lock_init(&base->lock);
727 base->timer = NULL;
728 base->cpu = 0;
729 base->i = i;
730 tasklet_init(&base->tasklet, mmtimer_tasklet,
731 (unsigned long) (base));