Lines Matching refs:mod
171 static int modinfo_do(struct kmod_module *mod)
178 printf("%s%c", kmod_module_get_path(mod), separator);
182 kmod_module_get_path(mod), separator);
185 err = kmod_module_get_info(mod, &list);
188 kmod_module_get_name(mod), strerror(-err));
266 struct kmod_module *mod;
267 int err = kmod_module_new_from_path(ctx, path, &mod);
272 err = modinfo_do(mod);
273 kmod_module_unref(mod);
304 struct kmod_module *mod = kmod_module_get_module(l);
305 int r = modinfo_do(mod);
306 kmod_module_unref(mod);