Lines Matching defs:mods
838 struct module **mods;
858 match->mods[match->index] = mod;
869 * is passed with an array, we need to pass the an @mods array of the same size
871 * This means we also need to call `module_put` for each element of @mods after
875 unsigned long *addrs, struct module **mods,
879 .index = 0, .size = size, .addrs = addrs, .mods = mods};
882 if (addrs && !mods)
959 struct module **mods __free(kfree) = NULL;
973 mods = kzalloc_objs(*mods, num);
974 if (!mods)
977 ret = get_ips_from_filter(filter, notfilter, addrs, mods, num);
982 if (mods[i])
983 module_put(mods[i]);