Home | History | Annotate | Download | only in ofw

Lines Matching defs:sl

98 	char *sl = NULL;
107 sl = malloc(len, M_TEMP, M_WAITOK);
110 if (OF_getprop(phandle, "supported-network-types", sl, len) != len)
113 count = strlist_count(sl, len);
123 (cp = strlist_next(sl, len, &cursor)) != NULL; ) {
133 free(sl, M_TEMP);
134 sl = NULL;
149 sl = malloc(len, M_TEMP, M_WAITOK);
150 if (OF_getprop(phandle, "chosen-network-type", sl, len) != len) {
155 cp = sl;
162 if (sl != NULL)
163 free(sl, M_TEMP);
170 if (sl != NULL)
171 free(sl, M_TEMP);