mod 258 arch/x86/kernel/alternative.c struct module *mod; mod 295 arch/x86/kernel/alternative.c smp->mod = mod; mod 322 arch/x86/kernel/alternative.c if (mod != item->mod) mod 335 arch/x86/kernel/alternative.c struct smp_alt_module *mod; mod 364 arch/x86/kernel/alternative.c list_for_each_entry(mod, &smp_alt_modules, next) mod 365 arch/x86/kernel/alternative.c alternatives_smp_lock(mod->locks, mod->locks_end, mod 366 arch/x86/kernel/alternative.c mod->text, mod->text_end); mod 371 arch/x86/kernel/alternative.c list_for_each_entry(mod, &smp_alt_modules, next) mod 372 arch/x86/kernel/alternative.c alternatives_smp_unlock(mod->locks, mod->locks_end, mod 373 arch/x86/kernel/alternative.c mod->text, mod->text_end); mod 150 arch/x86/kernel/module_32.c alternatives_smp_module_del(mod); mod 151 arch/x86/kernel/module_32.c module_bug_cleanup(mod); mod 192 arch/x86/kernel/module_64.c alternatives_smp_module_del(mod); mod 193 arch/x86/kernel/module_64.c module_bug_cleanup(mod); mod 47 arch/x86/kernel/test_nx.c struct module *mod = THIS_MODULE; mod 56 arch/x86/kernel/test_nx.c if (mod->num_exentries > 1) { mod 61 arch/x86/kernel/test_nx.c extable = (struct exception_table_entry *)mod->extable; mod 88 arch/x86/math-emu/get_address.c if ((mod == 0) && (base == 5)) mod 102 arch/x86/math-emu/get_address.c if (mod == 1) { mod 111 arch/x86/math-emu/get_address.c } else if (mod == 2 || base == 5) { /* The second condition also has mod==0 */ mod 216 arch/x86/math-emu/get_address.c u_char mod; mod 230 arch/x86/math-emu/get_address.c mod = (FPU_modrm >> 6) & 3; mod 232 arch/x86/math-emu/get_address.c if (rm == 4 && mod != 3) { mod 233 arch/x86/math-emu/get_address.c address = sib(mod, fpu_eip); mod 236 arch/x86/math-emu/get_address.c switch (mod) { mod 301 arch/x86/math-emu/get_address.c u_char mod; mod 314 arch/x86/math-emu/get_address.c mod = (FPU_modrm >> 6) & 3; mod 316 arch/x86/math-emu/get_address.c switch (mod) { mod 423 arch/x86/mm/pf_in.c unsigned char mod; mod 443 arch/x86/mm/pf_in.c mod = mod_rm >> 6; mod 445 arch/x86/mm/pf_in.c switch (mod) { mod 17 fs/omfs/dir.c return hash % mod; mod 193 fs/xfs/linux-2.6/xfs_linux.h __u32 mod; mod 197 fs/xfs/linux-2.6/xfs_linux.h mod = *(__u32 *)a % b; mod 199 fs/xfs/linux-2.6/xfs_linux.h return mod; mod 249 fs/xfs/linux-2.6/xfs_linux.h __u32 mod; mod 253 fs/xfs/linux-2.6/xfs_linux.h mod = *(__u32 *)a % b; mod 255 fs/xfs/linux-2.6/xfs_linux.h return mod; mod 257 fs/xfs/linux-2.6/xfs_linux.h mod = do_div(*(__u64 *)a, b); mod 258 fs/xfs/linux-2.6/xfs_linux.h return mod; mod 194 fs/xfs/xfs_alloc.c ASSERT(args->mod < args->prod); mod 198 fs/xfs/xfs_alloc.c if (args->prod <= 1 || rlen < args->mod || rlen == args->maxlen || mod 199 fs/xfs/xfs_alloc.c (args->mod == 0 && rlen < args->prod)) mod 202 fs/xfs/xfs_alloc.c if (k == args->mod) mod 204 fs/xfs/xfs_alloc.c if (k > args->mod) { mod 205 fs/xfs/xfs_alloc.c if ((int)(rlen = rlen - k - args->mod) < (int)args->minlen) mod 208 fs/xfs/xfs_alloc.c if ((int)(rlen = rlen - args->prod - (args->mod - k)) < mod 436 fs/xfs/xfs_alloc.c (void *)(__psunsigned_t)args->mod, mod 555 fs/xfs/xfs_alloc.c ASSERT(args->mod < args->prod); mod 1923 fs/xfs/xfs_alloc.c targs.mod = targs.minleft = targs.wasdel = targs.userdata = mod 2266 fs/xfs/xfs_alloc.c ASSERT(args->mod < args->prod); mod 2270 fs/xfs/xfs_alloc.c args->mod >= args->prod) { mod 81 fs/xfs/xfs_alloc.h xfs_extlen_t mod; /* mod value for extent size */ mod 2838 fs/xfs/xfs_bmap.c if ((args.mod = (xfs_extlen_t)do_mod(ap->off, args.prod))) mod 2839 fs/xfs/xfs_bmap.c args.mod = (xfs_extlen_t)(args.prod - args.mod); mod 2842 fs/xfs/xfs_bmap.c args.mod = 0; mod 2845 fs/xfs/xfs_bmap.c if ((args.mod = (xfs_extlen_t)(do_mod(ap->off, args.prod)))) mod 2846 fs/xfs/xfs_bmap.c args.mod = (xfs_extlen_t)(args.prod - args.mod); mod 3467 fs/xfs/xfs_bmap.c args.total = args.minleft = args.alignment = args.mod = args.isfl = mod 3604 fs/xfs/xfs_bmap.c args.mod = args.minleft = args.alignment = args.wasdel = mod 5383 fs/xfs/xfs_bmap.c xfs_extlen_t mod; /* rt extent offset */ mod 5488 fs/xfs/xfs_bmap.c (mod = do_mod(sum, mp->m_sb.sb_rextsize))) { mod 5502 fs/xfs/xfs_bmap.c ASSERT(bno >= mod); mod 5503 fs/xfs/xfs_bmap.c bno -= mod > del.br_blockcount ? mod 5504 fs/xfs/xfs_bmap.c del.br_blockcount : mod; mod 5522 fs/xfs/xfs_bmap.c if (del.br_blockcount > mod) { mod 5523 fs/xfs/xfs_bmap.c del.br_startoff += del.br_blockcount - mod; mod 5524 fs/xfs/xfs_bmap.c del.br_startblock += del.br_blockcount - mod; mod 5525 fs/xfs/xfs_bmap.c del.br_blockcount = mod; mod 5535 fs/xfs/xfs_bmap.c if (isrt && (mod = do_mod(del.br_startblock, mp->m_sb.sb_rextsize))) { mod 5541 fs/xfs/xfs_bmap.c mod = mp->m_sb.sb_rextsize - mod; mod 5542 fs/xfs/xfs_bmap.c if (del.br_blockcount > mod) { mod 5543 fs/xfs/xfs_bmap.c del.br_blockcount -= mod; mod 5544 fs/xfs/xfs_bmap.c del.br_startoff += mod; mod 5545 fs/xfs/xfs_bmap.c del.br_startblock += mod; mod 5576 fs/xfs/xfs_bmap.c mod = start - prev.br_startoff; mod 5577 fs/xfs/xfs_bmap.c prev.br_blockcount -= mod; mod 5578 fs/xfs/xfs_bmap.c prev.br_startblock += mod; mod 1516 fs/xfs/xfs_bmap_btree.c args.mod = args.alignment = args.total = args.isfl = mod 2243 fs/xfs/xfs_bmap_btree.c args.mod = args.minleft = args.alignment = args.total = args.isfl = mod 178 fs/xfs/xfs_ialloc.c args.mod = args.total = args.wasdel = args.isfl = mod 233 fs/xfs/xfs_ialloc.c args.mod = args.total = args.wasdel = args.isfl = mod 1215 fs/xfs/xfs_ialloc_btree.c args.mod = args.minleft = args.alignment = args.total = args.wasdel = mod 1496 fs/xfs/xfs_ialloc_btree.c args.mod = args.minleft = args.alignment = args.total = args.wasdel = mod 3275 fs/xfs/xfs_vnodeops.c xfs_extlen_t mod=0; mod 3346 fs/xfs/xfs_vnodeops.c mod = do_div(block, mp->m_sb.sb_rextsize); mod 3347 fs/xfs/xfs_vnodeops.c if (mod) mod 3348 fs/xfs/xfs_vnodeops.c startoffset_fsb += mp->m_sb.sb_rextsize - mod; mod 3358 fs/xfs/xfs_vnodeops.c mod++; mod 3359 fs/xfs/xfs_vnodeops.c if (mod && (mod != mp->m_sb.sb_rextsize)) mod 3360 fs/xfs/xfs_vnodeops.c endoffset_fsb -= mod; mod 513 include/asm-parisc/pdc.h char mod; /* fixed field of specified module */ mod 683 include/asm-parisc/pdc.h unsigned char mod; mod 281 include/asm-parisc/pdcpat.h unsigned long mod[508]; /* PAT cell module components */ mod 33 include/linux/kmod.h #define try_then_request_module(x, mod...) ((x) ?: (request_module(mod), (x))) mod 60 include/linux/module.h struct module *mod; mod 359 include/linux/module.h return mod->state != MODULE_STATE_GOING; mod 432 include/linux/module.h struct module *__mod = (mod); \ mod 192 kernel/cpu.c unsigned long mod; mod 207 kernel/cpu.c raw_notifier_call_chain(&cpu_chain, CPU_DYING | param->mod, mod 222 kernel/cpu.c unsigned long mod = tasks_frozen ? CPU_TASKS_FROZEN : 0; mod 224 kernel/cpu.c .mod = mod, mod 235 kernel/cpu.c err = __raw_notifier_call_chain(&cpu_chain, CPU_DOWN_PREPARE | mod, mod 239 kernel/cpu.c __raw_notifier_call_chain(&cpu_chain, CPU_DOWN_FAILED | mod, mod 257 kernel/cpu.c if (raw_notifier_call_chain(&cpu_chain, CPU_DOWN_FAILED | mod, mod 273 kernel/cpu.c if (raw_notifier_call_chain(&cpu_chain, CPU_DEAD | mod, mod 284 kernel/cpu.c if (raw_notifier_call_chain(&cpu_chain, CPU_POST_DEAD | mod, mod 331 kernel/cpu.c unsigned long mod = tasks_frozen ? CPU_TASKS_FROZEN : 0; mod 337 kernel/cpu.c ret = __raw_notifier_call_chain(&cpu_chain, CPU_UP_PREPARE | mod, hcpu, mod 356 kernel/cpu.c raw_notifier_call_chain(&cpu_chain, CPU_ONLINE | mod, hcpu); mod 361 kernel/cpu.c CPU_UP_CANCELED | mod, hcpu, nr_calls, NULL); mod 717 kernel/kprobes.c struct module *mod; mod 721 kernel/kprobes.c mod = module_text_address((unsigned long)p->addr); mod 722 kernel/kprobes.c if (mod) mod 723 kernel/kprobes.c module_put(mod); mod 92 kernel/module.c if (mod && mod->state == MODULE_STATE_COMING) mod 94 kernel/module.c if (try_module_get(mod)) mod 103 kernel/module.c mod->taints |= flag; mod 112 kernel/module.c module_put(mod); mod 196 kernel/module.c struct module *mod; mod 219 kernel/module.c list_for_each_entry(mod, &modules, list) { mod 221 kernel/module.c { mod->syms, mod->syms + mod->num_syms, mod->crcs, mod 223 kernel/module.c { mod->gpl_syms, mod->gpl_syms + mod->num_gpl_syms, mod 224 kernel/module.c mod->gpl_crcs, mod 226 kernel/module.c { mod->gpl_future_syms, mod 227 kernel/module.c mod->gpl_future_syms + mod->num_gpl_future_syms, mod 228 kernel/module.c mod->gpl_future_crcs, mod 231 kernel/module.c { mod->unused_syms, mod 232 kernel/module.c mod->unused_syms + mod->num_unused_syms, mod 233 kernel/module.c mod->unused_crcs, mod 235 kernel/module.c { mod->unused_gpl_syms, mod 236 kernel/module.c mod->unused_gpl_syms + mod->num_unused_gpl_syms, mod 237 kernel/module.c mod->unused_gpl_crcs, mod 242 kernel/module.c if (each_symbol_in_section(arr, ARRAY_SIZE(arr), mod, fn, data)) mod 331 kernel/module.c struct module *mod; mod 333 kernel/module.c list_for_each_entry(mod, &modules, list) { mod 334 kernel/module.c if (strcmp(mod->name, name) == 0) mod 335 kernel/module.c return mod; mod 513 kernel/module.c static void setup_modinfo_##field(struct module *mod, const char *s) \ mod 515 kernel/module.c mod->field = kstrdup(s, GFP_KERNEL); \ mod 518 kernel/module.c struct module *mod, char *buffer) \ mod 520 kernel/module.c return sprintf(buffer, "%s\n", mod->field); \ mod 522 kernel/module.c static int modinfo_##field##_exists(struct module *mod) \ mod 524 kernel/module.c return mod->field != NULL; \ mod 526 kernel/module.c static void free_modinfo_##field(struct module *mod) \ mod 528 kernel/module.c kfree(mod->field); \ mod 529 kernel/module.c mod->field = NULL; \ mod 550 kernel/module.c INIT_LIST_HEAD(&mod->modules_which_use_me); mod 552 kernel/module.c local_set(&mod->ref[i].count, 0); mod 554 kernel/module.c local_set(&mod->ref[raw_smp_processor_id()].count, 1); mod 556 kernel/module.c mod->waiter = current; mod 625 kernel/module.c if (use->module_which_uses == mod) { mod 626 kernel/module.c DEBUGP("%s unusing %s\n", mod->name, i->name); mod 630 kernel/module.c sysfs_remove_link(i->holders_dir, mod->name); mod 655 kernel/module.c struct module *mod; mod 666 kernel/module.c if (module_refcount(sref->mod) != 0) { mod 672 kernel/module.c sref->mod->state = MODULE_STATE_GOING; mod 679 kernel/module.c struct stopref sref = { mod, flags, forced }; mod 684 kernel/module.c mod->state = MODULE_STATE_GOING; mod 695 kernel/module.c total += local_read(&mod->ref[i].count); mod 710 kernel/module.c if (module_refcount(mod) == 0) mod 721 kernel/module.c struct module *mod; mod 735 kernel/module.c mod = find_module(name); mod 736 kernel/module.c if (!mod) { mod 741 kernel/module.c if (!list_empty(&mod->modules_which_use_me)) { mod 748 kernel/module.c if (mod->state != MODULE_STATE_LIVE) { mod 751 kernel/module.c DEBUGP("%s already dying\n", mod->name); mod 757 kernel/module.c if (mod->init && !mod->exit) { mod 767 kernel/module.c mod->waiter = current; mod 770 kernel/module.c ret = try_stop_module(mod, flags, &forced); mod 775 kernel/module.c if (!forced && module_refcount(mod) != 0) mod 776 kernel/module.c wait_for_zero_refcount(mod); mod 780 kernel/module.c if (mod->exit != NULL) mod 781 kernel/module.c mod->exit(); mod 783 kernel/module.c MODULE_STATE_GOING, mod); mod 786 kernel/module.c strlcpy(last_unloaded_module, mod->name, sizeof(last_unloaded_module)); mod 787 kernel/module.c free_module(mod); mod 799 kernel/module.c seq_printf(m, " %u ", module_refcount(mod)); mod 803 kernel/module.c list_for_each_entry(use, &mod->modules_which_use_me, list) { mod 808 kernel/module.c if (mod->init != NULL && mod->exit == NULL) { mod 845 kernel/module.c return sprintf(buffer, "%u\n", module_refcount(mod)); mod 892 kernel/module.c switch (mod->state) { mod 928 kernel/module.c mod->name, symname); mod 929 kernel/module.c add_taint_module(mod, TAINT_FORCED_MODULE); mod 952 kernel/module.c return try_to_force_load(mod, symname) == 0; mod 970 kernel/module.c mod->name, symname); mod 975 kernel/module.c mod->name, symname); mod 987 kernel/module.c return check_version(sechdrs, versindex, "struct_module", mod, crc); mod 1036 kernel/module.c !(mod->taints & TAINT_PROPRIETARY_MODULE), true); mod 1040 kernel/module.c if (!check_version(sechdrs, versindex, name, mod, crc) || mod 1041 kernel/module.c !use_module(mod, owner)) mod 1127 kernel/module.c if (sysfs_create_group(&mod->mkobj.kobj, §_attrs->grp)) mod 1130 kernel/module.c mod->sect_attrs = sect_attrs; mod 1138 kernel/module.c if (mod->sect_attrs) { mod 1139 kernel/module.c sysfs_remove_group(&mod->mkobj.kobj, mod 1140 kernel/module.c &mod->sect_attrs->grp); mod 1143 kernel/module.c free_sect_attrs(mod->sect_attrs); mod 1144 kernel/module.c mod->sect_attrs = NULL; mod 1210 kernel/module.c nattr->attr.name = mod->sect_attrs->attrs[loaded].name; mod 1220 kernel/module.c notes_attrs->dir = kobject_create_and_add("notes", &mod->mkobj.kobj); mod 1229 kernel/module.c mod->notes_attrs = notes_attrs; mod 1238 kernel/module.c if (mod->notes_attrs) mod 1239 kernel/module.c free_notes_attrs(mod->notes_attrs, mod->notes_attrs->notes); mod 1271 kernel/module.c mod->modinfo_attrs = kzalloc((sizeof(struct module_attribute) * mod 1274 kernel/module.c if (!mod->modinfo_attrs) mod 1277 kernel/module.c temp_attr = mod->modinfo_attrs; mod 1280 kernel/module.c (attr->test && attr->test(mod))) { mod 1282 kernel/module.c error = sysfs_create_file(&mod->mkobj.kobj,&temp_attr->attr); mod 1294 kernel/module.c for (i = 0; (attr = &mod->modinfo_attrs[i]); i++) { mod 1298 kernel/module.c sysfs_remove_file(&mod->mkobj.kobj,&attr->attr); mod 1300 kernel/module.c attr->free(mod); mod 1302 kernel/module.c kfree(mod->modinfo_attrs); mod 1312 kernel/module.c mod->name); mod 1317 kernel/module.c kobj = kset_find_obj(module_kset, mod->name); mod 1319 kernel/module.c printk(KERN_ERR "%s: module is already loaded\n", mod->name); mod 1325 kernel/module.c mod->mkobj.mod = mod; mod 1327 kernel/module.c memset(&mod->mkobj.kobj, 0, sizeof(mod->mkobj.kobj)); mod 1328 kernel/module.c mod->mkobj.kobj.kset = module_kset; mod 1329 kernel/module.c err = kobject_init_and_add(&mod->mkobj.kobj, &module_ktype, NULL, mod 1330 kernel/module.c "%s", mod->name); mod 1332 kernel/module.c kobject_put(&mod->mkobj.kobj); mod 1345 kernel/module.c mod->holders_dir = kobject_create_and_add("holders", &mod->mkobj.kobj); mod 1346 kernel/module.c if (!mod->holders_dir) { mod 1351 kernel/module.c err = module_param_sysfs_setup(mod, kparam, num_params); mod 1355 kernel/module.c err = module_add_modinfo_attrs(mod); mod 1359 kernel/module.c kobject_uevent(&mod->mkobj.kobj, KOBJ_ADD); mod 1363 kernel/module.c module_param_sysfs_remove(mod); mod 1365 kernel/module.c kobject_put(mod->holders_dir); mod 1367 kernel/module.c kobject_put(&mod->mkobj.kobj); mod 1373 kernel/module.c kobject_put(&mod->mkobj.kobj); mod 1386 kernel/module.c module_remove_modinfo_attrs(mod); mod 1387 kernel/module.c module_param_sysfs_remove(mod); mod 1388 kernel/module.c kobject_put(mod->mkobj.drivers_dir); mod 1389 kernel/module.c kobject_put(mod->holders_dir); mod 1390 kernel/module.c mod_sysfs_fini(mod); mod 1399 kernel/module.c struct module *mod = _mod; mod 1400 kernel/module.c list_add(&mod->list, &modules); mod 1410 kernel/module.c struct module *mod = _mod; mod 1411 kernel/module.c list_del(&mod->list); mod 1419 kernel/module.c stop_machine(__unlink_module, mod, NULL); mod 1420 kernel/module.c remove_notes_attrs(mod); mod 1421 kernel/module.c remove_sect_attrs(mod); mod 1422 kernel/module.c mod_kobject_remove(mod); mod 1424 kernel/module.c unwind_remove_table(mod->unwind_info, 0); mod 1427 kernel/module.c module_arch_cleanup(mod); mod 1430 kernel/module.c module_unload_free(mod); mod 1433 kernel/module.c module_free(mod, mod->module_init); mod 1434 kernel/module.c kfree(mod->args); mod 1435 kernel/module.c if (mod->percpu) mod 1436 kernel/module.c percpu_modfree(mod->percpu); mod 1439 kernel/module.c lockdep_free_key_range(mod->module_core, mod->core_size); mod 1442 kernel/module.c module_free(mod, mod->module_core); mod 1475 kernel/module.c { mod->syms, mod->num_syms }, mod 1476 kernel/module.c { mod->gpl_syms, mod->num_gpl_syms }, mod 1477 kernel/module.c { mod->gpl_future_syms, mod->num_gpl_future_syms }, mod 1479 kernel/module.c { mod->unused_syms, mod->num_unused_syms }, mod 1480 kernel/module.c { mod->unused_gpl_syms, mod->num_unused_gpl_syms }, mod 1491 kernel/module.c mod->name, s->name, module_name(owner)); mod 1519 kernel/module.c mod->name); mod 1532 kernel/module.c strtab + sym[i].st_name, mod); mod 1542 kernel/module.c mod->name, strtab + sym[i].st_name); mod 1549 kernel/module.c secbase = (unsigned long)mod->percpu; mod 1604 kernel/module.c s->sh_entsize = get_offset(&mod->core_size, s); mod 1608 kernel/module.c mod->core_text_size = mod->core_size; mod 1622 kernel/module.c s->sh_entsize = (get_offset(&mod->init_size, s) mod 1627 kernel/module.c mod->init_text_size = mod->init_size; mod 1639 kernel/module.c "kernel.\n", mod->name, license); mod 1640 kernel/module.c add_taint_module(mod, TAINT_PROPRIETARY_MODULE); mod 1686 kernel/module.c attr->setup(mod, mod 1709 kernel/module.c if (!mod && lookup_symbol(name, __start___ksymtab, __stop___ksymtab)) mod 1712 kernel/module.c if (mod && lookup_symbol(name, mod->syms, mod->syms + mod->num_syms)) mod 1767 kernel/module.c mod->symtab = (void *)sechdrs[symindex].sh_addr; mod 1768 kernel/module.c mod->num_symtab = sechdrs[symindex].sh_size / sizeof(Elf_Sym); mod 1769 kernel/module.c mod->strtab = (void *)sechdrs[strindex].sh_addr; mod 1772 kernel/module.c for (i = 0; i < mod->num_symtab; i++) mod 1773 kernel/module.c mod->symtab[i].st_info mod 1774 kernel/module.c = elf_type(&mod->symtab[i], sechdrs, secstrings, mod); mod 1834 kernel/module.c struct module *mod; mod 1901 kernel/module.c mod = (void *)sechdrs[modindex].sh_addr; mod 1905 kernel/module.c mod->name); mod 1945 kernel/module.c if (!check_modstruct_version(sechdrs, versindex, mod)) { mod 1953 kernel/module.c err = try_to_force_load(mod, "magic"); mod 1958 kernel/module.c mod->name, modmagic, vermagic); mod 1970 kernel/module.c if (find_module(mod->name)) { mod 1975 kernel/module.c mod->state = MODULE_STATE_COMING; mod 1978 kernel/module.c err = module_frob_arch_sections(hdr, sechdrs, secstrings, mod); mod 1986 kernel/module.c mod->name); mod 1992 kernel/module.c mod->percpu = percpu; mod 1998 kernel/module.c layout_sections(mod, hdr, sechdrs, secstrings); mod 2001 kernel/module.c ptr = module_alloc_update_bounds(mod->core_size); mod 2006 kernel/module.c memset(ptr, 0, mod->core_size); mod 2007 kernel/module.c mod->module_core = ptr; mod 2009 kernel/module.c ptr = module_alloc_update_bounds(mod->init_size); mod 2010 kernel/module.c if (!ptr && mod->init_size) { mod 2014 kernel/module.c memset(ptr, 0, mod->init_size); mod 2015 kernel/module.c mod->module_init = ptr; mod 2026 kernel/module.c dest = mod->module_init mod 2029 kernel/module.c dest = mod->module_core + sechdrs[i].sh_entsize; mod 2039 kernel/module.c mod = (void *)sechdrs[modindex].sh_addr; mod 2042 kernel/module.c module_unload_init(mod); mod 2045 kernel/module.c err = mod_sysfs_init(mod); mod 2050 kernel/module.c set_license(mod, get_modinfo(sechdrs, infoindex, "license")); mod 2057 kernel/module.c if (strcmp(mod->name, "ndiswrapper") == 0) mod 2061 kernel/module.c if (strcmp(mod->name, "driverloader") == 0) mod 2062 kernel/module.c add_taint_module(mod, TAINT_PROPRIETARY_MODULE); mod 2065 kernel/module.c setup_modinfo(mod, sechdrs, infoindex); mod 2069 kernel/module.c mod); mod 2074 kernel/module.c mod->num_syms = sechdrs[exportindex].sh_size / sizeof(*mod->syms); mod 2075 kernel/module.c mod->syms = (void *)sechdrs[exportindex].sh_addr; mod 2077 kernel/module.c mod->crcs = (void *)sechdrs[crcindex].sh_addr; mod 2078 kernel/module.c mod->num_gpl_syms = sechdrs[gplindex].sh_size / sizeof(*mod->gpl_syms); mod 2079 kernel/module.c mod->gpl_syms = (void *)sechdrs[gplindex].sh_addr; mod 2081 kernel/module.c mod->gpl_crcs = (void *)sechdrs[gplcrcindex].sh_addr; mod 2082 kernel/module.c mod->num_gpl_future_syms = sechdrs[gplfutureindex].sh_size / mod 2083 kernel/module.c sizeof(*mod->gpl_future_syms); mod 2084 kernel/module.c mod->gpl_future_syms = (void *)sechdrs[gplfutureindex].sh_addr; mod 2086 kernel/module.c mod->gpl_future_crcs = (void *)sechdrs[gplfuturecrcindex].sh_addr; mod 2089 kernel/module.c mod->num_unused_syms = sechdrs[unusedindex].sh_size / mod 2090 kernel/module.c sizeof(*mod->unused_syms); mod 2091 kernel/module.c mod->num_unused_gpl_syms = sechdrs[unusedgplindex].sh_size / mod 2092 kernel/module.c sizeof(*mod->unused_gpl_syms); mod 2093 kernel/module.c mod->unused_syms = (void *)sechdrs[unusedindex].sh_addr; mod 2095 kernel/module.c mod->unused_crcs = (void *)sechdrs[unusedcrcindex].sh_addr; mod 2096 kernel/module.c mod->unused_gpl_syms = (void *)sechdrs[unusedgplindex].sh_addr; mod 2098 kernel/module.c mod->unused_gpl_crcs mod 2103 kernel/module.c if ((mod->num_syms && !crcindex) mod 2104 kernel/module.c || (mod->num_gpl_syms && !gplcrcindex) mod 2105 kernel/module.c || (mod->num_gpl_future_syms && !gplfuturecrcindex) mod 2107 kernel/module.c || (mod->num_unused_syms && !unusedcrcindex) mod 2108 kernel/module.c || (mod->num_unused_gpl_syms && !unusedgplcrcindex) mod 2111 kernel/module.c printk(KERN_WARNING "%s: No versions for exported symbols.\n", mod->name); mod 2112 kernel/module.c err = try_to_force_load(mod, "nocrc"); mod 2135 kernel/module.c err = apply_relocate(sechdrs, strtab, symindex, i,mod); mod 2138 kernel/module.c mod); mod 2143 kernel/module.c mod->markers = (void *)sechdrs[markersindex].sh_addr; mod 2144 kernel/module.c mod->num_markers = mod 2145 kernel/module.c sechdrs[markersindex].sh_size / sizeof(*mod->markers); mod 2149 kernel/module.c err = verify_export_symbols(mod); mod 2155 kernel/module.c mod->num_exentries = sechdrs[exindex].sh_size / sizeof(*mod->extable); mod 2156 kernel/module.c mod->extable = extable = (void *)sechdrs[exindex].sh_addr; mod 2157 kernel/module.c sort_extable(extable, extable + mod->num_exentries); mod 2160 kernel/module.c percpu_modcopy(mod->percpu, (void *)sechdrs[pcpuindex].sh_addr, mod 2163 kernel/module.c add_kallsyms(mod, sechdrs, symindex, strindex, secstrings); mod 2166 kernel/module.c if (!mod->taints) mod 2167 kernel/module.c marker_update_probe_range(mod->markers, mod 2168 kernel/module.c mod->markers + mod->num_markers); mod 2170 kernel/module.c err = module_finalize(hdr, sechdrs, mod); mod 2183 kernel/module.c if (mod->module_init) mod 2184 kernel/module.c flush_icache_range((unsigned long)mod->module_init, mod 2185 kernel/module.c (unsigned long)mod->module_init mod 2186 kernel/module.c + mod->init_size); mod 2187 kernel/module.c flush_icache_range((unsigned long)mod->module_core, mod 2188 kernel/module.c (unsigned long)mod->module_core + mod->core_size); mod 2192 kernel/module.c mod->args = args; mod 2195 kernel/module.c mod->name); mod 2200 kernel/module.c stop_machine(__link_module, mod, NULL); mod 2203 kernel/module.c err = parse_args(mod->name, mod->args, mod 2212 kernel/module.c err = mod_sysfs_setup(mod, mod 2219 kernel/module.c add_sect_attrs(mod, hdr->e_shnum, secstrings, sechdrs); mod 2220 kernel/module.c add_notes_attrs(mod, hdr->e_shnum, secstrings, sechdrs); mod 2223 kernel/module.c mod->unwind_info = unwind_add_table(mod, mod 2231 kernel/module.c return mod; mod 2234 kernel/module.c stop_machine(__unlink_module, mod, NULL); mod 2235 kernel/module.c module_arch_cleanup(mod); mod 2237 kernel/module.c kobject_del(&mod->mkobj.kobj); mod 2238 kernel/module.c kobject_put(&mod->mkobj.kobj); mod 2240 kernel/module.c module_unload_free(mod); mod 2241 kernel/module.c module_free(mod, mod->module_init); mod 2243 kernel/module.c module_free(mod, mod->module_core); mod 2265 kernel/module.c struct module *mod; mod 2277 kernel/module.c mod = load_module(umod, len, uargs); mod 2278 kernel/module.c if (IS_ERR(mod)) { mod 2280 kernel/module.c return PTR_ERR(mod); mod 2287 kernel/module.c MODULE_STATE_COMING, mod); mod 2290 kernel/module.c if (mod->init != NULL) mod 2291 kernel/module.c ret = do_one_initcall(mod->init); mod 2295 kernel/module.c mod->state = MODULE_STATE_GOING; mod 2297 kernel/module.c module_put(mod); mod 2299 kernel/module.c MODULE_STATE_GOING, mod); mod 2301 kernel/module.c free_module(mod); mod 2310 kernel/module.c __func__, mod->name, ret, mod 2316 kernel/module.c mod->state = MODULE_STATE_LIVE; mod 2321 kernel/module.c module_put(mod); mod 2322 kernel/module.c unwind_remove_table(mod->unwind_info, 1); mod 2323 kernel/module.c module_free(mod, mod->module_init); mod 2324 kernel/module.c mod->module_init = NULL; mod 2325 kernel/module.c mod->init_size = 0; mod 2326 kernel/module.c mod->init_text_size = 0; mod 2357 kernel/module.c if (within(addr, mod->module_init, mod->init_size)) mod 2358 kernel/module.c nextval = (unsigned long)mod->module_init+mod->init_text_size; mod 2360 kernel/module.c nextval = (unsigned long)mod->module_core+mod->core_text_size; mod 2364 kernel/module.c for (i = 1; i < mod->num_symtab; i++) { mod 2365 kernel/module.c if (mod->symtab[i].st_shndx == SHN_UNDEF) mod 2370 kernel/module.c if (mod->symtab[i].st_value <= addr mod 2371 kernel/module.c && mod->symtab[i].st_value > mod->symtab[best].st_value mod 2372 kernel/module.c && *(mod->strtab + mod->symtab[i].st_name) != '\0' mod 2373 kernel/module.c && !is_arm_mapping_symbol(mod->strtab + mod->symtab[i].st_name)) mod 2375 kernel/module.c if (mod->symtab[i].st_value > addr mod 2376 kernel/module.c && mod->symtab[i].st_value < nextval mod 2377 kernel/module.c && *(mod->strtab + mod->symtab[i].st_name) != '\0' mod 2378 kernel/module.c && !is_arm_mapping_symbol(mod->strtab + mod->symtab[i].st_name)) mod 2379 kernel/module.c nextval = mod->symtab[i].st_value; mod 2386 kernel/module.c *size = nextval - mod->symtab[best].st_value; mod 2388 kernel/module.c *offset = addr - mod->symtab[best].st_value; mod 2389 kernel/module.c return mod->strtab + mod->symtab[best].st_name; mod 2400 kernel/module.c struct module *mod; mod 2404 kernel/module.c list_for_each_entry(mod, &modules, list) { mod 2405 kernel/module.c if (within(addr, mod->module_init, mod->init_size) mod 2406 kernel/module.c || within(addr, mod->module_core, mod->core_size)) { mod 2408 kernel/module.c *modname = mod->name; mod 2409 kernel/module.c ret = get_ksymbol(mod, addr, size, offset); mod 2424 kernel/module.c struct module *mod; mod 2427 kernel/module.c list_for_each_entry(mod, &modules, list) { mod 2428 kernel/module.c if (within(addr, mod->module_init, mod->init_size) || mod 2429 kernel/module.c within(addr, mod->module_core, mod->core_size)) { mod 2432 kernel/module.c sym = get_ksymbol(mod, addr, NULL, NULL); mod 2448 kernel/module.c struct module *mod; mod 2451 kernel/module.c list_for_each_entry(mod, &modules, list) { mod 2452 kernel/module.c if (within(addr, mod->module_init, mod->init_size) || mod 2453 kernel/module.c within(addr, mod->module_core, mod->core_size)) { mod 2456 kernel/module.c sym = get_ksymbol(mod, addr, size, offset); mod 2460 kernel/module.c strlcpy(modname, mod->name, MODULE_NAME_LEN); mod 2475 kernel/module.c struct module *mod; mod 2478 kernel/module.c list_for_each_entry(mod, &modules, list) { mod 2479 kernel/module.c if (symnum < mod->num_symtab) { mod 2480 kernel/module.c *value = mod->symtab[symnum].st_value; mod 2481 kernel/module.c *type = mod->symtab[symnum].st_info; mod 2482 kernel/module.c strlcpy(name, mod->strtab + mod->symtab[symnum].st_name, mod 2484 kernel/module.c strlcpy(module_name, mod->name, MODULE_NAME_LEN); mod 2485 kernel/module.c *exported = is_exported(name, mod); mod 2489 kernel/module.c symnum -= mod->num_symtab; mod 2499 kernel/module.c for (i = 0; i < mod->num_symtab; i++) mod 2500 kernel/module.c if (strcmp(name, mod->strtab+mod->symtab[i].st_name) == 0 && mod 2501 kernel/module.c mod->symtab[i].st_info != 'U') mod 2502 kernel/module.c return mod->symtab[i].st_value; mod 2509 kernel/module.c struct module *mod; mod 2517 kernel/module.c if ((mod = find_module(name)) != NULL) mod 2518 kernel/module.c ret = mod_find_symname(mod, colon+1); mod 2521 kernel/module.c list_for_each_entry(mod, &modules, list) mod 2522 kernel/module.c if ((ret = mod_find_symname(mod, name)) != 0) mod 2551 kernel/module.c if (mod->taints || mod 2552 kernel/module.c mod->state == MODULE_STATE_GOING || mod 2553 kernel/module.c mod->state == MODULE_STATE_COMING) { mod 2555 kernel/module.c if (mod->taints & TAINT_PROPRIETARY_MODULE) mod 2557 kernel/module.c if (mod->taints & TAINT_FORCED_MODULE) mod 2566 kernel/module.c if (mod->state == MODULE_STATE_GOING) mod 2569 kernel/module.c if (mod->state == MODULE_STATE_COMING) mod 2580 kernel/module.c struct module *mod = list_entry(p, struct module, list); mod 2584 kernel/module.c mod->name, mod->init_size + mod->core_size); mod 2585 kernel/module.c print_unload_info(m, mod); mod 2589 kernel/module.c mod->state == MODULE_STATE_GOING ? "Unloading": mod 2590 kernel/module.c mod->state == MODULE_STATE_COMING ? "Loading": mod 2593 kernel/module.c seq_printf(m, " 0x%p", mod->module_core); mod 2596 kernel/module.c if (mod->taints) mod 2597 kernel/module.c seq_printf(m, " %s", module_flags(mod, buf)); mod 2619 kernel/module.c struct module *mod; mod 2622 kernel/module.c list_for_each_entry(mod, &modules, list) { mod 2623 kernel/module.c if (mod->num_exentries == 0) mod 2626 kernel/module.c e = search_extable(mod->extable, mod 2627 kernel/module.c mod->extable + mod->num_exentries - 1, mod 2644 kernel/module.c struct module *mod; mod 2648 kernel/module.c list_for_each_entry(mod, &modules, list) { mod 2649 kernel/module.c if (within(addr, mod->module_core, mod->core_size)) { mod 2664 kernel/module.c struct module *mod; mod 2669 kernel/module.c list_for_each_entry(mod, &modules, list) mod 2670 kernel/module.c if (within(addr, mod->module_init, mod->init_text_size) mod 2671 kernel/module.c || within(addr, mod->module_core, mod->core_text_size)) mod 2672 kernel/module.c return mod; mod 2678 kernel/module.c struct module *mod; mod 2681 kernel/module.c mod = __module_text_address(addr); mod 2684 kernel/module.c return mod; mod 2690 kernel/module.c struct module *mod; mod 2694 kernel/module.c list_for_each_entry(mod, &modules, list) mod 2695 kernel/module.c printk(" %s%s", mod->name, module_flags(mod, buf)); mod 2710 kernel/module.c struct module *mod; mod 2713 kernel/module.c list_for_each_entry(mod, &modules, list) mod 2714 kernel/module.c if (!mod->taints) mod 2715 kernel/module.c marker_update_probe_range(mod->markers, mod 2716 kernel/module.c mod->markers + mod->num_markers); mod 518 kernel/params.c mp = param_sysfs_setup(&mod->mkobj, kparam, num_params, 0); mod 522 kernel/params.c mod->param_attrs = mp; mod 535 kernel/params.c if (mod->param_attrs) { mod 536 kernel/params.c sysfs_remove_group(&mod->mkobj.kobj, mod 537 kernel/params.c &mod->param_attrs->grp); mod 540 kernel/params.c kfree(mod->param_attrs); mod 541 kernel/params.c mod->param_attrs = NULL; mod 560 kernel/params.c mk->mod = THIS_MODULE; mod 650 kernel/params.c ret = attribute->show(attribute, mk->mod, buf); mod 669 kernel/params.c ret = attribute->store(attribute, mk->mod, buf, len); mod 51 lib/bug.c struct module *mod; mod 53 lib/bug.c list_for_each_entry(mod, &module_bug_list, bug_list) { mod 54 lib/bug.c const struct bug_entry *bug = mod->bug_table; mod 57 lib/bug.c for (i = 0; i < mod->num_bugs; ++i, ++bug) mod 70 lib/bug.c mod->bug_table = NULL; mod 71 lib/bug.c mod->num_bugs = 0; mod 78 lib/bug.c mod->bug_table = (void *) sechdrs[i].sh_addr; mod 79 lib/bug.c mod->num_bugs = sechdrs[i].sh_size / sizeof(struct bug_entry); mod 88 lib/bug.c list_add(&mod->bug_list, &module_bug_list); mod 95 lib/bug.c list_del(&mod->bug_list); mod 448 net/sunrpc/svc.c serv->sv_module = mod; mod 157 net/tipc/bcast.c mod(n_ptr->bclink.last_in); mod 159 net/tipc/bcast.c n_ptr->bclink.gap_to = mod(buf_seqno(buf) - 1); mod 194 net/tipc/bcast.c tipc_link_retransmit(bcl, buf, mod(to - after)); mod 281 net/tipc/bcast.c msg_set_bcast_ack(msg, mod(n_ptr->bclink.last_in)); mod 314 net/tipc/bcast.c less_eq(last_sent, mod(n_ptr->bclink.last_in))) mod 361 net/tipc/bcast.c if (mod(seqno - prev) != 1) { mod 468 net/tipc/bcast.c next_in = mod(node->bclink.last_in + 1); mod 498 net/tipc/bcast.c if (deferred && (buf_seqno(deferred) == mod(next_in + 1))) { mod 515 net/tipc/bcast.c if (seqno == mod(gap_after + 1)) mod 534 net/tipc/bcast.c u32 last_sent = mod(bcl->next_out_no - 1); mod 537 net/tipc/bcast.c last_sent = mod(buf_seqno(bcl->next_out) - 1); mod 261 net/tipc/link.c return mod(l_ptr->next_out_no); mod 266 net/tipc/link.c return mod(link_next_sent(l_ptr) - 1); mod 1039 net/tipc/link.c u32 ack = mod(l_ptr->next_in_no - 1); mod 1040 net/tipc/link.c u32 seqno = mod(l_ptr->next_out_no++); mod 1507 net/tipc/link.c l_ptr->long_msg_seq_no = mod(l_ptr->long_msg_seq_no + 1); mod 1542 net/tipc/link.c u32 last = lesser(mod(r_q_head + r_q_size), mod 1547 net/tipc/link.c first = mod(first + 1); mod 1551 net/tipc/link.c l_ptr->retransm_queue_size = r_q_size = mod(last - first); mod 1557 net/tipc/link.c msg_set_ack(buf_msg(buf), mod(l_ptr->next_in_no - 1)); mod 1561 net/tipc/link.c l_ptr->retransm_queue_head = mod(++r_q_head); mod 1576 net/tipc/link.c msg_set_ack(buf_msg(buf), mod(l_ptr->next_in_no - 1)); mod 1599 net/tipc/link.c if (mod(next - first) < l_ptr->queue_limit[0]) { mod 1600 net/tipc/link.c msg_set_ack(msg, mod(l_ptr->next_in_no - 1)); mod 1750 net/tipc/link.c msg_set_ack(msg, mod(l_ptr->next_in_no - 1)); mod 1782 net/tipc/link.c if (seq_no == mod(l_ptr->next_in_no)) { mod 1939 net/tipc/link.c if (likely(seq_no == mod(l_ptr->next_in_no))) { mod 2095 net/tipc/link.c seq_no, mod(l_ptr->next_in_no), l_ptr->next_in_no); mod 2106 net/tipc/link.c if (less(seq_no, mod(l_ptr->next_in_no))) { mod 2136 net/tipc/link.c msg_set_bcast_ack(msg, mod(l_ptr->owner->bclink.last_in)); mod 2140 net/tipc/link.c u32 next_sent = mod(l_ptr->next_out_no); mod 2149 net/tipc/link.c gap = mod(rec - mod(l_ptr->next_in_no)); mod 2157 net/tipc/link.c msg_set_ack(msg, mod(l_ptr->next_in_no - 1)); mod 2178 net/tipc/link.c msg_set_ack(msg, mod(l_ptr->reset_checkpoint - 1)); mod 2195 net/tipc/link.c msg_set_seqno(msg, mod(l_ptr->next_out_no + (0xffff/2))); mod 2306 net/tipc/link.c l_ptr->owner->bclink.last_in = mod(msg_last_bcast(msg)); mod 2327 net/tipc/link.c if (less_eq(mod(l_ptr->next_in_no), msg_next_sent(msg))) { mod 2328 net/tipc/link.c rec_gap = mod(msg_next_sent(msg) - mod 2329 net/tipc/link.c mod(l_ptr->next_in_no)); mod 2495 net/tipc/link.c msg_set_ack(msg, mod(l_ptr->next_in_no - 1)); /* Update */ mod 2571 net/tipc/link.c if (less(msg_seqno(msg), mod(dest_link->next_in_no))) { mod 2692 net/tipc/link.c msg_set_long_msgno(&fragm_hdr, mod(l_ptr->long_msg_seq_no++)); mod 3315 net/tipc/link.c tipc_printf(buf, ": NXO(%u):", mod(l_ptr->next_out_no)); mod 3316 net/tipc/link.c tipc_printf(buf, "NXI(%u):", mod(l_ptr->next_in_no)); mod 3326 net/tipc/link.c if ((mod(msg_seqno(buf_msg(l_ptr->last_out)) - mod 3343 net/tipc/link.c if (l_ptr->deferred_inqueue_sz != mod((n + 1) - o)) { mod 282 net/tipc/link.h return (mod(right - left) < 32768u); mod 287 net/tipc/link.h return (less_eq(left, right) && (mod(right) != mod(left))); mod 406 net/tipc/node.c tipc_bclink_acknowledge(n_ptr, mod(n_ptr->bclink.acked + 10000)); mod 172 scripts/kconfig/conf.c case mod: mod 181 scripts/kconfig/conf.c if (oldval != mod && sym_tristate_within_range(sym, mod)) mod 201 scripts/kconfig/conf.c newval = mod; mod 242 scripts/kconfig/conf.c case mod: mod 251 scripts/kconfig/conf.c case mod: mod 383 scripts/kconfig/conf.c if (sym->curr.tri != mod) mod 93 scripts/kconfig/confdata.c sym->def[def].tri = mod; mod 291 scripts/kconfig/confdata.c case mod: mod 487 scripts/kconfig/confdata.c case mod: mod 722 scripts/kconfig/confdata.c case mod: mod 835 scripts/kconfig/confdata.c sym->def[S_DEF_USER].tri = mod; mod 911 scripts/kconfig/gconf.c newval = mod; mod 1247 scripts/kconfig/gconf.c case mod: mod 1262 scripts/kconfig/gconf.c if (val != mod && sym_tristate_within_range(sym, mod)) mod 490 scripts/kconfig/mconf.c case mod: ch = 'M'; break; mod 543 scripts/kconfig/mconf.c case mod: ch = 'M'; break; mod 547 scripts/kconfig/mconf.c if (sym->rev_dep.tri == mod) mod 663 scripts/kconfig/mconf.c if (sym_set_tristate_value(sym, mod)) mod 673 scripts/kconfig/mconf.c sym_set_tristate_value(sym, mod); mod 168 scripts/kconfig/qconf.cc case mod: mod 184 scripts/kconfig/qconf.cc if (expr != mod) mod 185 scripts/kconfig/qconf.cc setText(modColIdx, sym_tristate_within_range(sym, mod) ? "_" : 0); mod 677 scripts/kconfig/qconf.cc setValue(item, mod); mod 736 scripts/kconfig/qconf.cc setValue(item, mod); mod 1003 scripts/kconfig/qconf.cc str += sym->visible == yes ? "y" : sym->visible == mod ? "m" : "n"; mod 21 scripts/kconfig/symbol.c .curr = { "m", mod }, mod 200 scripts/kconfig/symbol.c if (tri == mod && (sym->type != S_TRISTATE || modules_val == no)) mod 211 scripts/kconfig/symbol.c if (tri == mod && sym_get_type(sym) == S_BOOLEAN) mod 326 scripts/kconfig/symbol.c if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN) mod 424 scripts/kconfig/symbol.c if (type == S_BOOLEAN && val == mod) mod 477 scripts/kconfig/symbol.c newval = mod; mod 479 scripts/kconfig/symbol.c case mod: mod 567 scripts/kconfig/symbol.c return sym_tristate_within_range(sym, mod); mod 590 scripts/kconfig/symbol.c return sym_set_tristate_value(sym, mod); mod 637 scripts/kconfig/symbol.c case mod: mod 146 scripts/mod/file2alias.c buf_printf(&mod->dev_table_buf, mod 182 scripts/mod/file2alias.c do_usb_entry(id, devlo, ndigits, clo, chi, mod); mod 187 scripts/mod/file2alias.c do_usb_entry(id, devlo++, ndigits, clo, 9, mod); mod 190 scripts/mod/file2alias.c do_usb_entry(id, devhi--, ndigits, 0, chi, mod); mod 200 scripts/mod/file2alias.c device_id_check(mod->name, "usb", size, id_size, symval); mod 206 scripts/mod/file2alias.c do_usb_entry_multi(symval + i, mod); mod 365 scripts/mod/file2alias.c device_id_check(mod->name, "pnp", size, id_size, symval); mod 370 scripts/mod/file2alias.c buf_printf(&mod->dev_table_buf, mod 372 scripts/mod/file2alias.c buf_printf(&mod->dev_table_buf, mod 386 scripts/mod/file2alias.c device_id_check(mod->name, "pnp", size, id_size, symval); mod 419 scripts/mod/file2alias.c buf_printf(&mod->dev_table_buf, mod 421 scripts/mod/file2alias.c buf_printf(&mod->dev_table_buf, mod 720 scripts/mod/file2alias.c device_id_check(mod->name, device_id, size, id_size, symval); mod 725 scripts/mod/file2alias.c if (do_entry(mod->name, symval+i, alias)) { mod 726 scripts/mod/file2alias.c buf_printf(&mod->dev_table_buf, mod 758 scripts/mod/file2alias.c do_pci_entry, mod); mod 761 scripts/mod/file2alias.c do_usb_table(symval, sym->st_size, mod); mod 765 scripts/mod/file2alias.c do_hid_entry, mod); mod 769 scripts/mod/file2alias.c do_ieee1394_entry, mod); mod 773 scripts/mod/file2alias.c do_ccw_entry, mod); mod 777 scripts/mod/file2alias.c do_ap_entry, mod); mod 781 scripts/mod/file2alias.c do_css_entry, mod); mod 785 scripts/mod/file2alias.c do_serio_entry, mod); mod 789 scripts/mod/file2alias.c do_acpi_entry, mod); mod 791 scripts/mod/file2alias.c do_pnp_device_entry(symval, sym->st_size, mod); mod 793 scripts/mod/file2alias.c do_pnp_card_entries(symval, sym->st_size, mod); mod 797 scripts/mod/file2alias.c do_pcmcia_entry, mod); mod 801 scripts/mod/file2alias.c do_of_entry, mod); mod 805 scripts/mod/file2alias.c do_vio_entry, mod); mod 809 scripts/mod/file2alias.c do_input_entry, mod); mod 813 scripts/mod/file2alias.c do_eisa_entry, mod); mod 817 scripts/mod/file2alias.c do_parisc_entry, mod); mod 821 scripts/mod/file2alias.c do_sdio_entry, mod); mod 825 scripts/mod/file2alias.c do_ssb_entry, mod); mod 829 scripts/mod/file2alias.c do_virtio_entry, mod); mod 833 scripts/mod/file2alias.c do_i2c_entry, mod); mod 837 scripts/mod/file2alias.c do_dmi_entry, mod); mod 845 scripts/mod/file2alias.c buf_write(buf, mod->dev_table_buf.p, mod->dev_table_buf.pos); mod 846 scripts/mod/file2alias.c free(mod->dev_table_buf.p); mod 105 scripts/mod/modpost.c struct module *mod; mod 107 scripts/mod/modpost.c for (mod = modules; mod; mod = mod->next) mod 108 scripts/mod/modpost.c if (strcmp(mod->name, modname) == 0) mod 110 scripts/mod/modpost.c return mod; mod 115 scripts/mod/modpost.c struct module *mod; mod 118 scripts/mod/modpost.c mod = NOFAIL(malloc(sizeof(*mod))); mod 119 scripts/mod/modpost.c memset(mod, 0, sizeof(*mod)); mod 129 scripts/mod/modpost.c mod->name = p; mod 130 scripts/mod/modpost.c mod->gpl_compatible = -1; mod 131 scripts/mod/modpost.c mod->next = modules; mod 132 scripts/mod/modpost.c modules = mod; mod 134 scripts/mod/modpost.c return mod; mod 273 scripts/mod/modpost.c s = new_symbol(name, mod, export); mod 277 scripts/mod/modpost.c "was in %s%s\n", mod->name, name, mod 282 scripts/mod/modpost.c s->module = mod; mod 286 scripts/mod/modpost.c s->vmlinux = is_vmlinux(mod->name); mod 298 scripts/mod/modpost.c s = new_symbol(name, mod, export); mod 500 scripts/mod/modpost.c warn("\"%s\" [%s] is COMMON symbol\n", symname, mod->name); mod 506 scripts/mod/modpost.c sym_update_crc(symname + strlen(CRC_PFX), mod, crc, mod 539 scripts/mod/modpost.c mod->unres = mod 543 scripts/mod/modpost.c mod->unres); mod 549 scripts/mod/modpost.c sym_add_exported(symname + strlen(KSYMTAB_PFX), mod, mod 553 scripts/mod/modpost.c mod->has_init = 1; mod 555 scripts/mod/modpost.c mod->has_cleanup = 1; mod 1530 scripts/mod/modpost.c mod->markers = NOFAIL(malloc(sizeof mod->markers[0] * n)); mod 1531 scripts/mod/modpost.c mod->nmarkers = n; mod 1542 scripts/mod/modpost.c asprintf(&line, "%s\t%s\t%s\n", name, mod->name, fmt); mod 1544 scripts/mod/modpost.c mod->markers[n++] = line; mod 1553 scripts/mod/modpost.c struct module *mod; mod 1560 scripts/mod/modpost.c mod = new_module(modname); mod 1566 scripts/mod/modpost.c mod->skip = 1; mod 1576 scripts/mod/modpost.c mod->gpl_compatible = 1; mod 1578 scripts/mod/modpost.c mod->gpl_compatible = 0; mod 1588 scripts/mod/modpost.c handle_modversions(mod, &info, sym, symname); mod 1589 scripts/mod/modpost.c handle_moddevtable(mod, &info, sym, symname); mod 1593 scripts/mod/modpost.c check_sec_ref(mod, modname, &info); mod 1600 scripts/mod/modpost.c get_src_version(modname, mod->srcversion, mod 1601 scripts/mod/modpost.c sizeof(mod->srcversion)-1); mod 1603 scripts/mod/modpost.c get_markers(&info, mod); mod 1612 scripts/mod/modpost.c mod->unres = alloc_symbol("struct_module", 0, mod->unres); mod 1689 scripts/mod/modpost.c for (s = mod->unres; s; s = s->next) { mod 1692 scripts/mod/modpost.c if (!exp || exp->module == mod) mod 1694 scripts/mod/modpost.c basename = strrchr(mod->name, '/'); mod 1698 scripts/mod/modpost.c basename = mod->name; mod 1699 scripts/mod/modpost.c if (!mod->gpl_compatible) mod 1719 scripts/mod/modpost.c if (mod->has_init) mod 1721 scripts/mod/modpost.c if (mod->has_cleanup) mod 1737 scripts/mod/modpost.c for (s = mod->unres; s; s = s->next) { mod 1739 scripts/mod/modpost.c if (!exp || exp->module == mod) { mod 1743 scripts/mod/modpost.c s->name, mod->name); mod 1746 scripts/mod/modpost.c s->name, mod->name); mod 1765 scripts/mod/modpost.c for (s = mod->unres; s; s = s->next) { mod 1770 scripts/mod/modpost.c s->name, mod->name); mod 1796 scripts/mod/modpost.c for (s = mod->unres; s; s = s->next) { mod 1818 scripts/mod/modpost.c if (mod->srcversion[0]) { mod 1821 scripts/mod/modpost.c mod->srcversion); mod 1885 scripts/mod/modpost.c struct module *mod; mod 1901 scripts/mod/modpost.c mod = find_module(modname); mod 1902 scripts/mod/modpost.c if (!mod) { mod 1905 scripts/mod/modpost.c mod = new_module(NOFAIL(strdup(modname))); mod 1906 scripts/mod/modpost.c mod->skip = 1; mod 1908 scripts/mod/modpost.c s = sym_add_exported(symname, mod, export_no(export)); mod 1911 scripts/mod/modpost.c sym_update_crc(symname, mod, crc, export_no(export)); mod 1954 scripts/mod/modpost.c asprintf(&line, "%s\t%s\t%s\n", name, mod->name, fmt); mod 1957 scripts/mod/modpost.c mod->markers = NOFAIL(realloc(mod->markers, ((mod->nmarkers + 1) * mod 1958 scripts/mod/modpost.c sizeof mod->markers[0]))); mod 1959 scripts/mod/modpost.c mod->markers[mod->nmarkers++] = line; mod 1973 scripts/mod/modpost.c struct module *mod; mod 1987 scripts/mod/modpost.c mod = find_module(modname); mod 1988 scripts/mod/modpost.c if (!mod) { mod 1989 scripts/mod/modpost.c mod = new_module(NOFAIL(strdup(modname))); mod 1990 scripts/mod/modpost.c mod->skip = 1; mod 1994 scripts/mod/modpost.c mod->skip = 0; mod 1997 scripts/mod/modpost.c if (!mod->skip) mod 1998 scripts/mod/modpost.c add_marker(mod, marker, fmt); mod 2013 scripts/mod/modpost.c struct module *mod; mod 2016 scripts/mod/modpost.c for (mod = modules; mod; mod = mod->next) mod 2017 scripts/mod/modpost.c if ((!external_module || !mod->skip) && mod->markers != NULL) { mod 2022 scripts/mod/modpost.c qsort(mod->markers, mod->nmarkers, mod 2023 scripts/mod/modpost.c sizeof mod->markers[0], &compare_strings); mod 2024 scripts/mod/modpost.c for (i = 0; i < mod->nmarkers; ++i) { mod 2025 scripts/mod/modpost.c char *line = mod->markers[i]; mod 2027 scripts/mod/modpost.c while (i + 1 < mod->nmarkers && mod 2028 scripts/mod/modpost.c !strcmp(mod->markers[i], mod 2029 scripts/mod/modpost.c mod->markers[i + 1])) mod 2030 scripts/mod/modpost.c free(mod->markers[i++]); mod 2031 scripts/mod/modpost.c free(mod->markers[i]); mod 2033 scripts/mod/modpost.c free(mod->markers); mod 2034 scripts/mod/modpost.c mod->markers = NULL; mod 2047 scripts/mod/modpost.c struct module *mod; mod 2121 scripts/mod/modpost.c for (mod = modules; mod; mod = mod->next) { mod 2122 scripts/mod/modpost.c if (mod->skip) mod 2124 scripts/mod/modpost.c check_exports(mod); mod 2129 scripts/mod/modpost.c for (mod = modules; mod; mod = mod->next) { mod 2130 scripts/mod/modpost.c char fname[strlen(mod->name) + 10]; mod 2132 scripts/mod/modpost.c if (mod->skip) mod 2137 scripts/mod/modpost.c add_header(&buf, mod); mod 2138 scripts/mod/modpost.c err |= add_versions(&buf, mod); mod 2139 scripts/mod/modpost.c add_depends(&buf, mod, modules); mod 2140 scripts/mod/modpost.c add_moddevtable(&buf, mod); mod 2141 scripts/mod/modpost.c add_srcversion(&buf, mod); mod 2143 scripts/mod/modpost.c sprintf(fname, "%s.mod.c", mod->name); mod 26 sound/aoa/core/snd-aoa-alsa.c alsa_card = snd_card_new(index, name, mod, sizeof(struct aoa_card)); mod 156 sound/core/hwdep.c struct module *mod = hw->card->module; mod 167 sound/core/hwdep.c module_put(mod); mod 79 sound/mips/hal2.c unsigned short mod; /* MOD value */ mod 323 sound/mips/hal2.c unsigned short mod; mod 326 sound/mips/hal2.c mod = 4 * 44100 / rate; mod 329 sound/mips/hal2.c mod = 4 * 48000 / rate; mod 334 sound/mips/hal2.c codec->mod = mod; mod 335 sound/mips/hal2.c rate = 4 * codec->master / mod; mod 344 sound/mips/hal2.c int mod = hal2->dac.mod; mod 348 sound/mips/hal2.c ((0xffff & (inc - mod - 1)) << 16) | inc); mod 355 sound/mips/hal2.c int mod = hal2->adc.mod; mod 359 sound/mips/hal2.c ((0xffff & (inc - mod - 1)) << 16) | inc); mod 124 sound/soc/s3c24xx/s3c2412-i2s.c u32 fic, con, mod; mod 130 sound/soc/s3c24xx/s3c2412-i2s.c mod = readl(regs + S3C2412_IISMOD); mod 132 sound/soc/s3c24xx/s3c2412-i2s.c DBG("%s: IIS: CON=%x MOD=%x FIC=%x\n", __func__, con, mod, fic); mod 139 sound/soc/s3c24xx/s3c2412-i2s.c switch (mod & S3C2412_IISMOD_MODE_MASK) { mod 146 sound/soc/s3c24xx/s3c2412-i2s.c mod &= ~S3C2412_IISMOD_MODE_MASK; mod 147 sound/soc/s3c24xx/s3c2412-i2s.c mod |= S3C2412_IISMOD_MODE_TXRX; mod 155 sound/soc/s3c24xx/s3c2412-i2s.c writel(mod, regs + S3C2412_IISMOD); mod 166 sound/soc/s3c24xx/s3c2412-i2s.c switch (mod & S3C2412_IISMOD_MODE_MASK) { mod 168 sound/soc/s3c24xx/s3c2412-i2s.c mod &= ~S3C2412_IISMOD_MODE_MASK; mod 169 sound/soc/s3c24xx/s3c2412-i2s.c mod |= S3C2412_IISMOD_MODE_RXONLY; mod 173 sound/soc/s3c24xx/s3c2412-i2s.c mod &= ~S3C2412_IISMOD_MODE_MASK; mod 181 sound/soc/s3c24xx/s3c2412-i2s.c writel(mod, regs + S3C2412_IISMOD); mod 187 sound/soc/s3c24xx/s3c2412-i2s.c DBG("%s: IIS: CON=%x MOD=%x FIC=%x\n", __func__, con, mod, fic); mod 194 sound/soc/s3c24xx/s3c2412-i2s.c u32 fic, con, mod; mod 200 sound/soc/s3c24xx/s3c2412-i2s.c mod = readl(regs + S3C2412_IISMOD); mod 202 sound/soc/s3c24xx/s3c2412-i2s.c DBG("%s: IIS: CON=%x MOD=%x FIC=%x\n", __func__, con, mod, fic); mod 209 sound/soc/s3c24xx/s3c2412-i2s.c switch (mod & S3C2412_IISMOD_MODE_MASK) { mod 216 sound/soc/s3c24xx/s3c2412-i2s.c mod &= ~S3C2412_IISMOD_MODE_MASK; mod 217 sound/soc/s3c24xx/s3c2412-i2s.c mod |= S3C2412_IISMOD_MODE_TXRX; mod 224 sound/soc/s3c24xx/s3c2412-i2s.c writel(mod, regs + S3C2412_IISMOD); mod 233 sound/soc/s3c24xx/s3c2412-i2s.c switch (mod & S3C2412_IISMOD_MODE_MASK) { mod 236 sound/soc/s3c24xx/s3c2412-i2s.c mod &= ~S3C2412_IISMOD_MODE_MASK; mod 240 sound/soc/s3c24xx/s3c2412-i2s.c mod &= ~S3C2412_IISMOD_MODE_MASK; mod 241 sound/soc/s3c24xx/s3c2412-i2s.c mod |= S3C2412_IISMOD_MODE_TXONLY; mod 249 sound/soc/s3c24xx/s3c2412-i2s.c writel(mod, regs + S3C2412_IISMOD); mod 253 sound/soc/s3c24xx/s3c2412-i2s.c DBG("%s: IIS: CON=%x MOD=%x FIC=%x\n", __func__, con, mod, fic);