• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/s390/net/

Lines Matching refs:this

20 	fsm_instance *this;
24 this = kzalloc(sizeof(fsm_instance), order);
25 if (this == NULL) {
30 strlcpy(this->name, name, sizeof(this->name));
31 init_waitqueue_head(&this->wait_q);
37 kfree_fsm(this);
44 this->f = f;
50 kfree_fsm(this);
62 kfree_fsm(this);
68 return this;
72 kfree_fsm(fsm_instance *this)
74 if (this) {
75 if (this->f) {
76 kfree(this->f->jumpmatrix);
77 kfree(this->f);
79 kfree(this);
132 fsm_expire_timer(fsm_timer *this)
136 this->fi->name, this);
138 fsm_event(this->fi, this->expire_event, this->event_arg);
142 fsm_settimer(fsm_instance *fi, fsm_timer *this)
144 this->fi = fi;
145 this->tl.function = (void *)fsm_expire_timer;
146 this->tl.data = (long)this;
149 this);
151 init_timer(&this->tl);
155 fsm_deltimer(fsm_timer *this)
158 printk(KERN_DEBUG "fsm(%s): Delete timer %p\n", this->fi->name,
159 this);
161 del_timer(&this->tl);
165 fsm_addtimer(fsm_timer *this, int millisec, int event, void *arg)
170 this->fi->name, this, millisec);
173 init_timer(&this->tl);
174 this->tl.function = (void *)fsm_expire_timer;
175 this->tl.data = (long)this;
176 this->expire_event = event;
177 this->event_arg = arg;
178 this->tl.expires = jiffies + (millisec * HZ) / 1000;
179 add_timer(&this->tl);
184 fsm_modtimer(fsm_timer *this, int millisec, int event, void *arg)
189 this->fi->name, this, millisec);
192 del_timer(&this->tl);
193 init_timer(&this->tl);
194 this->tl.function = (void *)fsm_expire_timer;
195 this->tl.data = (long)this;
196 this->expire_event = event;
197 this->event_arg = arg;
198 this->tl.expires = jiffies + (millisec * HZ) / 1000;
199 add_timer(&this->tl);