Lines Matching refs:lptr
178 XF86LoadPtr lptr; in xf86printModuleSection() local
185 for (lptr = ptr->mod_load_lst; lptr; lptr = lptr->list.next) { in xf86printModuleSection()
186 switch (lptr->load_type) { in xf86printModuleSection()
188 if (lptr->load_opt == NULL) { in xf86printModuleSection()
189 fprintf(cf, "\tLoad \"%s\"", lptr->load_name); in xf86printModuleSection()
190 if (lptr->load_comment) in xf86printModuleSection()
191 fprintf(cf, "%s", lptr->load_comment); in xf86printModuleSection()
196 fprintf(cf, "\tSubSection \"%s\"\n", lptr->load_name); in xf86printModuleSection()
197 if (lptr->load_comment) in xf86printModuleSection()
198 fprintf(cf, "%s", lptr->load_comment); in xf86printModuleSection()
199 xf86printOptionList(cf, lptr->load_opt, 2); in xf86printModuleSection()
204 fprintf(cf, "\tLoadDriver \"%s\"", lptr->load_name); in xf86printModuleSection()
205 if (lptr->load_comment) in xf86printModuleSection()
206 fprintf(cf, "%s", lptr->load_comment); in xf86printModuleSection()
212 fprintf(cf, "#\tUnknown type \"%s\"\n", lptr->load_name); in xf86printModuleSection()
244 XF86LoadPtr lptr; in xf86freeModules() local
249 lptr = ptr->mod_load_lst; in xf86freeModules()
250 while (lptr) { in xf86freeModules()
251 TestFree(lptr->load_name); in xf86freeModules()
252 TestFree(lptr->load_comment); in xf86freeModules()
253 prev = lptr; in xf86freeModules()
254 lptr = lptr->list.next; in xf86freeModules()
257 lptr = ptr->mod_disable_lst; in xf86freeModules()
258 while (lptr) { in xf86freeModules()
259 TestFree(lptr->load_name); in xf86freeModules()
260 TestFree(lptr->load_comment); in xf86freeModules()
261 prev = lptr; in xf86freeModules()
262 lptr = lptr->list.next; in xf86freeModules()