Lines Matching defs:id
42 * Given a module name returns module id.
55 int id;
58 id = -1; /* look for all modules */
60 modinfo.mi_id = modinfo.mi_nextid = id;
64 if (modctl(MODINFO, id, &modinfo) < 0)
90 * NOTE: If we fail to get the module id because the module is not
97 int id;
101 id = get_modid(modname);
103 if (id != -1) {
104 if (modctl(MODUNLOAD, id) < 0) {