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