Lines Matching refs:p
117 struct watchdog_pretimeout *p; in watchdog_register_governor() local
140 list_for_each_entry(p, &pretimeout_list, entry) in watchdog_register_governor()
141 if (!p->wdd->gov) in watchdog_register_governor()
142 p->wdd->gov = default_gov; in watchdog_register_governor()
154 struct watchdog_pretimeout *p; in watchdog_unregister_governor() local
168 list_for_each_entry(p, &pretimeout_list, entry) in watchdog_unregister_governor()
169 if (p->wdd->gov == gov) in watchdog_unregister_governor()
170 p->wdd->gov = default_gov; in watchdog_unregister_governor()
179 struct watchdog_pretimeout *p; in watchdog_register_pretimeout() local
184 p = kzalloc(sizeof(*p), GFP_KERNEL); in watchdog_register_pretimeout()
185 if (!p) in watchdog_register_pretimeout()
189 list_add(&p->entry, &pretimeout_list); in watchdog_register_pretimeout()
190 p->wdd = wdd; in watchdog_register_pretimeout()
199 struct watchdog_pretimeout *p, *t; in watchdog_unregister_pretimeout() local
207 list_for_each_entry_safe(p, t, &pretimeout_list, entry) { in watchdog_unregister_pretimeout()
208 if (p->wdd == wdd) { in watchdog_unregister_pretimeout()
209 list_del(&p->entry); in watchdog_unregister_pretimeout()
210 kfree(p); in watchdog_unregister_pretimeout()