Lines Matching refs:ops
47 const struct wsemul_ops *ops;
69 const struct wsemul_ops **ops;
82 if (!strcmp(name, wep->ops->name)) {
84 return wep->ops;
87 for (ops = &wsemul_conf[0]; *ops != NULL; ops++)
88 if (strcmp(name, (*ops)->name) == 0)
91 return (*ops);
95 wsemul_drop(const struct wsemul_ops *ops)
100 if (ops == wep->ops) {
107 wsemul_add(const struct wsemul_ops *ops)
112 wep->ops = ops;
119 wsemul_remove(const struct wsemul_ops *ops)
124 if (ops == wep->ops) {