Lines Matching full:fe
68 ctl_frontend_register(struct ctl_frontend *fe) in ctl_frontend_register() argument
79 if (strcmp(fe_tmp->name, fe->name) == 0) { in ctl_frontend_register()
85 STAILQ_INIT(&fe->port_list); in ctl_frontend_register()
88 if (fe->init != NULL) { in ctl_frontend_register()
89 if ((error = fe->init()) != 0) { in ctl_frontend_register()
91 fe->name, error); in ctl_frontend_register()
98 STAILQ_INSERT_TAIL(&softc->fe_list, fe, links); in ctl_frontend_register()
104 ctl_frontend_deregister(struct ctl_frontend *fe) in ctl_frontend_deregister() argument
110 if (fe->shutdown != NULL) { in ctl_frontend_deregister()
111 if ((error = fe->shutdown()) != 0) { in ctl_frontend_deregister()
113 fe->name, error); in ctl_frontend_deregister()
119 STAILQ_REMOVE(&softc->fe_list, fe, ctl_frontend, links); in ctl_frontend_deregister()
129 struct ctl_frontend *fe; in ctl_frontend_find() local
132 STAILQ_FOREACH(fe, &softc->fe_list, links) { in ctl_frontend_find()
133 if (strcmp(fe->name, frontend_name) == 0) { in ctl_frontend_find()
135 return (fe); in ctl_frontend_find()