mod                60 arch/x86/include/asm/alternative.h extern void alternatives_smp_module_add(struct module *mod, char *name,
mod                63 arch/x86/include/asm/alternative.h extern void alternatives_smp_module_del(struct module *mod);
mod                68 arch/x86/include/asm/alternative.h static inline void alternatives_smp_module_add(struct module *mod, char *name,
mod                71 arch/x86/include/asm/alternative.h static inline void alternatives_smp_module_del(struct module *mod) {}
mod               202 arch/x86/include/asm/inst.h 	.macro MODRM mod opd1 opd2
mod               299 include/linux/ccp.h 	struct scatterlist *mod;
mod               471 include/linux/ccp.h 	struct scatterlist *mod;
mod               114 include/linux/dynamic_debug.h static inline int ddebug_remove_module(const char *mod)
mod               623 include/linux/fb.h 				u32 height, u32 shift_high, u32 shift_low, u32 mod);
mod               481 include/linux/ftrace.h extern int ftrace_make_nop(struct module *mod,
mod               543 include/linux/ftrace.h extern void ftrace_module_init(struct module *mod);
mod               552 include/linux/ftrace.h static inline void ftrace_release_mod(struct module *mod) {}
mod               553 include/linux/ftrace.h static inline void ftrace_module_init(struct module *mod) {}
mod                44 include/linux/iio/common/st_sensors.h #define ST_SENSORS_LSM_CHANNELS(device_type, mask, index, mod, \
mod                48 include/linux/iio/common/st_sensors.h 	.modified = mod, \
mod               202 include/linux/iio/imu/adis.h #define ADIS_MOD_CHAN(_type, mod, addr, si, info_sep, info_all, bits) { \
mod               205 include/linux/iio/imu/adis.h 	.channel2 = IIO_MOD_ ## mod, \
mod               220 include/linux/iio/imu/adis.h #define ADIS_ACCEL_CHAN(mod, addr, si, info_sep, info_all, bits) \
mod               221 include/linux/iio/imu/adis.h 	ADIS_MOD_CHAN(IIO_ACCEL, mod, addr, si, info_sep, info_all, bits)
mod               223 include/linux/iio/imu/adis.h #define ADIS_GYRO_CHAN(mod, addr, si, info_sep, info_all, bits)		\
mod               224 include/linux/iio/imu/adis.h 	ADIS_MOD_CHAN(IIO_ANGL_VEL, mod, addr, si, info_sep, info_all, bits)
mod               226 include/linux/iio/imu/adis.h #define ADIS_INCLI_CHAN(mod, addr, si, info_sep, info_all, bits) \
mod               227 include/linux/iio/imu/adis.h 	ADIS_MOD_CHAN(IIO_INCLI, mod, addr, si, info_sep, info_all, bits)
mod               229 include/linux/iio/imu/adis.h #define ADIS_ROT_CHAN(mod, addr, si, info_sep, info_all, bits) \
mod               230 include/linux/iio/imu/adis.h 	ADIS_MOD_CHAN(IIO_ROT, mod, addr, si, info_sep, info_all, bits)
mod               135 include/linux/jump_label.h extern void jump_label_apply_nops(struct module *mod);
mod               185 include/linux/jump_label.h static inline int jump_label_apply_nops(struct module *mod)
mod                37 include/linux/kmod.h #define request_module(mod...) __request_module(true, mod)
mod                38 include/linux/kmod.h #define request_module_nowait(mod...) __request_module(false, mod)
mod                39 include/linux/kmod.h #define try_then_request_module(x, mod...) \
mod                40 include/linux/kmod.h 	((x) ?: (__request_module(true, mod), (x)))
mod                44 include/linux/kmod.h #define try_then_request_module(x, mod...) (x)
mod                41 include/linux/module.h 	struct module *mod;
mod               394 include/linux/module.h static inline int module_is_live(struct module *mod)
mod               396 include/linux/module.h 	return mod->state != MODULE_STATE_GOING;
mod               406 include/linux/module.h 				      const struct module *mod)
mod               408 include/linux/module.h 	return (unsigned long)mod->module_core <= addr &&
mod               409 include/linux/module.h 	       addr < (unsigned long)mod->module_core + mod->core_size;
mod               413 include/linux/module.h 				      const struct module *mod)
mod               415 include/linux/module.h 	return (unsigned long)mod->module_init <= addr &&
mod               416 include/linux/module.h 	       addr < (unsigned long)mod->module_init + mod->init_size;
mod               419 include/linux/module.h static inline bool within_module(unsigned long addr, const struct module *mod)
mod               421 include/linux/module.h 	return within_module_init(addr, mod) || within_module_core(addr, mod);
mod               462 include/linux/module.h extern void __module_put_and_exit(struct module *mod, long code)
mod               467 include/linux/module.h unsigned long module_refcount(struct module *mod);
mod               500 include/linux/module.h #define module_name(mod)			\
mod               502 include/linux/module.h 	struct module *__mod = (mod);		\
mod               579 include/linux/module.h #define module_name(mod) "kernel"
mod               673 include/linux/module.h 					struct module *mod)
mod               676 include/linux/module.h static inline void module_bug_cleanup(struct module *mod) {}
mod                19 include/linux/moduleloader.h 			      struct module *mod);
mod                22 include/linux/moduleloader.h unsigned int arch_mod_section_prepend(struct module *mod, unsigned int section);
mod                29 include/linux/moduleloader.h void module_free(struct module *mod, void *module_region);
mod                40 include/linux/moduleloader.h 		   struct module *mod);
mod                63 include/linux/moduleloader.h 		       struct module *mod);
mod                80 include/linux/moduleloader.h 		    struct module *mod);
mod                83 include/linux/moduleloader.h void module_arch_cleanup(struct module *mod);
mod               491 include/linux/moduleparam.h extern int module_param_sysfs_setup(struct module *mod,
mod               495 include/linux/moduleparam.h extern void module_param_sysfs_remove(struct module *mod);
mod               497 include/linux/moduleparam.h static inline int module_param_sysfs_setup(struct module *mod,
mod               504 include/linux/moduleparam.h static inline void module_param_sysfs_remove(struct module *mod)
mod               118 include/linux/mpi.h int mpi_powm(MPI res, MPI base, MPI exp, MPI mod);
mod               121 include/linux/mpi.h int mpi_mulpowm(MPI res, MPI *basearray, MPI *exparray, MPI mod);
mod                50 include/linux/tracepoint.h 	struct module *mod;
mod                53 include/linux/tracepoint.h bool trace_module_has_bad_taint(struct module *mod);
mod                57 include/linux/tracepoint.h static inline bool trace_module_has_bad_taint(struct module *mod)
mod               206 include/linux/usb/composite.h 	struct module		*mod;
mod               555 include/linux/usb/composite.h 	struct module *mod;
mod               586 include/linux/usb/composite.h 		.mod  = THIS_MODULE,					\
mod               107 include/linux/uwb/umc.h 				       struct module *mod,
mod                32 include/trace/events/module.h 	TP_PROTO(struct module *mod),
mod                34 include/trace/events/module.h 	TP_ARGS(mod),
mod                38 include/trace/events/module.h 		__string(	name,		mod->name	)
mod                42 include/trace/events/module.h 		__entry->taints = mod->taints;
mod                43 include/trace/events/module.h 		__assign_str(name, mod->name);
mod                51 include/trace/events/module.h 	TP_PROTO(struct module *mod),
mod                53 include/trace/events/module.h 	TP_ARGS(mod),
mod                56 include/trace/events/module.h 		__string(	name,		mod->name	)
mod                60 include/trace/events/module.h 		__assign_str(name, mod->name);
mod                71 include/trace/events/module.h 	TP_PROTO(struct module *mod, unsigned long ip),
mod                73 include/trace/events/module.h 	TP_ARGS(mod, ip),
mod                78 include/trace/events/module.h 		__string(	name,		mod->name	)
mod                83 include/trace/events/module.h 		__entry->refcnt	= __this_cpu_read(mod->refptr->incs) - __this_cpu_read(mod->refptr->decs);
mod                84 include/trace/events/module.h 		__assign_str(name, mod->name);
mod                93 include/trace/events/module.h 	TP_PROTO(struct module *mod, unsigned long ip),
mod                95 include/trace/events/module.h 	TP_ARGS(mod, ip)
mod               100 include/trace/events/module.h 	TP_PROTO(struct module *mod, unsigned long ip),
mod               102 include/trace/events/module.h 	TP_ARGS(mod, ip)
mod               181 scripts/kconfig/conf.c 		case mod:
mod               190 scripts/kconfig/conf.c 		if (oldval != mod && sym_tristate_within_range(sym, mod))
mod               210 scripts/kconfig/conf.c 			newval = mod;
mod               249 scripts/kconfig/conf.c 		case mod:
mod               258 scripts/kconfig/conf.c 		case mod:
mod               395 scripts/kconfig/conf.c 		if (sym->curr.tri != mod)
mod               127 scripts/kconfig/confdata.c 			sym->def[def].tri = mod;
mod               384 scripts/kconfig/confdata.c 			case mod:
mod              1178 scripts/kconfig/confdata.c 				sym->def[S_DEF_USER].tri = mod;
mod              1193 scripts/kconfig/confdata.c 						sym->def[S_DEF_USER].tri = mod;
mod               841 scripts/kconfig/gconf.c 		newval = mod;
mod              1151 scripts/kconfig/gconf.c 		case mod:
mod              1166 scripts/kconfig/gconf.c 		if (val != mod && sym_tristate_within_range(sym, mod))
mod               548 scripts/kconfig/mconf.c 				case mod: ch = 'M'; break;
mod               601 scripts/kconfig/mconf.c 				case mod: ch = 'M'; break;
mod               605 scripts/kconfig/mconf.c 					if (sym->rev_dep.tri == mod)
mod               725 scripts/kconfig/mconf.c 				if (sym_set_tristate_value(sym, mod))
mod               735 scripts/kconfig/mconf.c 				sym_set_tristate_value(sym, mod);
mod               815 scripts/kconfig/nconf.c 				case mod:
mod               870 scripts/kconfig/nconf.c 				case mod:
mod               878 scripts/kconfig/nconf.c 					if (sym->rev_dep.tri == mod)
mod              1195 scripts/kconfig/nconf.c 				if (sym_set_tristate_value(sym, mod))
mod              1205 scripts/kconfig/nconf.c 				sym_set_tristate_value(sym, mod);
mod               189 scripts/kconfig/qconf.cc 		case mod:
mod               205 scripts/kconfig/qconf.cc 		if (expr != mod)
mod               206 scripts/kconfig/qconf.cc 			setText(modColIdx, sym_tristate_within_range(sym, mod) ? "_" : 0);
mod               705 scripts/kconfig/qconf.cc 		setValue(item, mod);
mod               764 scripts/kconfig/qconf.cc 		setValue(item, mod);
mod              1009 scripts/kconfig/qconf.cc 	str += sym->visible == yes ? "y" : sym->visible == mod ? "m" : "n";
mod                20 scripts/kconfig/symbol.c 	.curr = { "m", mod },
mod               200 scripts/kconfig/symbol.c 	if (tri == mod && (sym->type != S_TRISTATE || modules_val == no))
mod               212 scripts/kconfig/symbol.c 	if (tri == mod)
mod               221 scripts/kconfig/symbol.c 	if (tri == mod && sym_get_type(sym) == S_BOOLEAN)
mod               382 scripts/kconfig/symbol.c 		if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN)
mod               484 scripts/kconfig/symbol.c 	if (type == S_BOOLEAN && val == mod)
mod               537 scripts/kconfig/symbol.c 			newval = mod;
mod               539 scripts/kconfig/symbol.c 		case mod:
mod               627 scripts/kconfig/symbol.c 			return sym_tristate_within_range(sym, mod);
mod               650 scripts/kconfig/symbol.c 			return sym_set_tristate_value(sym, mod);
mod               732 scripts/kconfig/symbol.c 	if (val == mod)
mod               737 scripts/kconfig/symbol.c 	if (sym->type == S_BOOLEAN && val == mod)
mod               745 scripts/kconfig/symbol.c 		case mod: return "m";
mod               771 scripts/kconfig/symbol.c 		case mod:
mod               176 scripts/mod/file2alias.c 			 unsigned char max, struct module *mod)
mod               237 scripts/mod/file2alias.c 	buf_printf(&mod->dev_table_buf,
mod               280 scripts/mod/file2alias.c static void do_usb_entry_multi(void *symval, struct module *mod)
mod               327 scripts/mod/file2alias.c 			do_usb_entry(symval, devlo, ndigits, clo, chi, max, mod);
mod               335 scripts/mod/file2alias.c 				     ndigits, clo, max, max, mod);
mod               341 scripts/mod/file2alias.c 				     ndigits, 0x0, chi, max, mod);
mod               346 scripts/mod/file2alias.c 			 struct module *mod)
mod               351 scripts/mod/file2alias.c 	device_id_check(mod->name, "usb", size, id_size, symval);
mod               357 scripts/mod/file2alias.c 		do_usb_entry_multi(symval + i, mod);
mod               526 scripts/mod/file2alias.c 				struct module *mod)
mod               532 scripts/mod/file2alias.c 	device_id_check(mod->name, "pnp", size, id_size, symval);
mod               539 scripts/mod/file2alias.c 		buf_printf(&mod->dev_table_buf,
mod               545 scripts/mod/file2alias.c 		buf_printf(&mod->dev_table_buf,
mod               552 scripts/mod/file2alias.c 				struct module *mod)
mod               558 scripts/mod/file2alias.c 	device_id_check(mod->name, "pnp", size, id_size, symval);
mod               594 scripts/mod/file2alias.c 				buf_printf(&mod->dev_table_buf,
mod               600 scripts/mod/file2alias.c 				buf_printf(&mod->dev_table_buf,
mod              1192 scripts/mod/file2alias.c 		     struct module *mod)
mod              1198 scripts/mod/file2alias.c 	device_id_check(mod->name, device_id, size, id_size, symval);
mod              1203 scripts/mod/file2alias.c 		if (do_entry(mod->name, symval+i, alias)) {
mod              1204 scripts/mod/file2alias.c 			buf_printf(&mod->dev_table_buf,
mod              1213 scripts/mod/file2alias.c void handle_moddevtable(struct module *mod, struct elf_info *info,
mod              1256 scripts/mod/file2alias.c 		do_usb_table(symval, sym->st_size, mod);
mod              1258 scripts/mod/file2alias.c 		do_pnp_device_entry(symval, sym->st_size, mod);
mod              1260 scripts/mod/file2alias.c 		do_pnp_card_entries(symval, sym->st_size, mod);
mod              1268 scripts/mod/file2alias.c 					 (*p)->device_id, (*p)->function, mod);
mod              1277 scripts/mod/file2alias.c void add_moddevtable(struct buffer *buf, struct module *mod)
mod              1280 scripts/mod/file2alias.c 	buf_write(buf, mod->dev_table_buf.p, mod->dev_table_buf.pos);
mod              1281 scripts/mod/file2alias.c 	free(mod->dev_table_buf.p);
mod               121 scripts/mod/modpost.c 	struct module *mod;
mod               123 scripts/mod/modpost.c 	for (mod = modules; mod; mod = mod->next)
mod               124 scripts/mod/modpost.c 		if (strcmp(mod->name, modname) == 0)
mod               126 scripts/mod/modpost.c 	return mod;
mod               131 scripts/mod/modpost.c 	struct module *mod;
mod               134 scripts/mod/modpost.c 	mod = NOFAIL(malloc(sizeof(*mod)));
mod               135 scripts/mod/modpost.c 	memset(mod, 0, sizeof(*mod));
mod               141 scripts/mod/modpost.c 		mod->is_dot_o = 1;
mod               145 scripts/mod/modpost.c 	mod->name = p;
mod               146 scripts/mod/modpost.c 	mod->gpl_compatible = -1;
mod               147 scripts/mod/modpost.c 	mod->next = modules;
mod               148 scripts/mod/modpost.c 	modules = mod;
mod               150 scripts/mod/modpost.c 	return mod;
mod               305 scripts/mod/modpost.c static struct symbol *sym_add_exported(const char *name, struct module *mod,
mod               311 scripts/mod/modpost.c 		s = new_symbol(name, mod, export);
mod               315 scripts/mod/modpost.c 			     "was in %s%s\n", mod->name, name,
mod               320 scripts/mod/modpost.c 			s->module = mod;
mod               324 scripts/mod/modpost.c 	s->vmlinux   = is_vmlinux(mod->name);
mod               330 scripts/mod/modpost.c static void sym_update_crc(const char *name, struct module *mod,
mod               336 scripts/mod/modpost.c 		s = new_symbol(name, mod, export);
mod               605 scripts/mod/modpost.c static void handle_modversions(struct module *mod, struct elf_info *info,
mod               611 scripts/mod/modpost.c 	if ((!is_vmlinux(mod->name) || mod->is_dot_o) &&
mod               620 scripts/mod/modpost.c 		sym_update_crc(symname + strlen(CRC_PFX), mod, crc,
mod               629 scripts/mod/modpost.c 			warn("\"%s\" [%s] is COMMON symbol\n", symname, mod->name);
mod               664 scripts/mod/modpost.c 		mod->unres = alloc_symbol(symname,
mod               666 scripts/mod/modpost.c 					  mod->unres);
mod               671 scripts/mod/modpost.c 			sym_add_exported(symname + strlen(KSYMTAB_PFX), mod,
mod               675 scripts/mod/modpost.c 			mod->has_init = 1;
mod               677 scripts/mod/modpost.c 			mod->has_cleanup = 1;
mod              1659 scripts/mod/modpost.c static void check_sec_ref(struct module *mod, const char *modname,
mod              1693 scripts/mod/modpost.c 	struct module *mod;
mod              1700 scripts/mod/modpost.c 	mod = new_module(modname);
mod              1706 scripts/mod/modpost.c 		mod->skip = 1;
mod              1716 scripts/mod/modpost.c 			mod->gpl_compatible = 1;
mod              1718 scripts/mod/modpost.c 			mod->gpl_compatible = 0;
mod              1728 scripts/mod/modpost.c 		handle_modversions(mod, &info, sym, symname);
mod              1729 scripts/mod/modpost.c 		handle_moddevtable(mod, &info, sym, symname);
mod              1733 scripts/mod/modpost.c 		check_sec_ref(mod, modname, &info);
mod              1740 scripts/mod/modpost.c 		get_src_version(modname, mod->srcversion,
mod              1741 scripts/mod/modpost.c 				sizeof(mod->srcversion)-1);
mod              1750 scripts/mod/modpost.c 		mod->unres = alloc_symbol("module_layout", 0, mod->unres);
mod              1844 scripts/mod/modpost.c static void check_exports(struct module *mod)
mod              1848 scripts/mod/modpost.c 	for (s = mod->unres; s; s = s->next) {
mod              1851 scripts/mod/modpost.c 		if (!exp || exp->module == mod)
mod              1853 scripts/mod/modpost.c 		basename = strrchr(mod->name, '/');
mod              1857 scripts/mod/modpost.c 			basename = mod->name;
mod              1858 scripts/mod/modpost.c 		if (!mod->gpl_compatible)
mod              1867 scripts/mod/modpost.c static void add_header(struct buffer *b, struct module *mod)
mod              1878 scripts/mod/modpost.c 	if (mod->has_init)
mod              1880 scripts/mod/modpost.c 	if (mod->has_cleanup)
mod              1905 scripts/mod/modpost.c static int add_versions(struct buffer *b, struct module *mod)
mod              1910 scripts/mod/modpost.c 	for (s = mod->unres; s; s = s->next) {
mod              1912 scripts/mod/modpost.c 		if (!exp || exp->module == mod) {
mod              1916 scripts/mod/modpost.c 					     s->name, mod->name);
mod              1919 scripts/mod/modpost.c 					       s->name, mod->name);
mod              1938 scripts/mod/modpost.c 	for (s = mod->unres; s; s = s->next) {
mod              1943 scripts/mod/modpost.c 				s->name, mod->name);
mod              1955 scripts/mod/modpost.c static void add_depends(struct buffer *b, struct module *mod,
mod              1970 scripts/mod/modpost.c 	for (s = mod->unres; s; s = s->next) {
mod              1990 scripts/mod/modpost.c static void add_srcversion(struct buffer *b, struct module *mod)
mod              1992 scripts/mod/modpost.c 	if (mod->srcversion[0]) {
mod              1995 scripts/mod/modpost.c 			   mod->srcversion);
mod              2059 scripts/mod/modpost.c 		struct module *mod;
mod              2075 scripts/mod/modpost.c 		mod = find_module(modname);
mod              2076 scripts/mod/modpost.c 		if (!mod) {
mod              2079 scripts/mod/modpost.c 			mod = new_module(modname);
mod              2080 scripts/mod/modpost.c 			mod->skip = 1;
mod              2082 scripts/mod/modpost.c 		s = sym_add_exported(symname, mod, export_no(export));
mod              2085 scripts/mod/modpost.c 		sym_update_crc(symname, mod, crc, export_no(export));
mod              2134 scripts/mod/modpost.c 	struct module *mod;
mod              2206 scripts/mod/modpost.c 	for (mod = modules; mod; mod = mod->next) {
mod              2207 scripts/mod/modpost.c 		if (mod->skip)
mod              2209 scripts/mod/modpost.c 		check_exports(mod);
mod              2214 scripts/mod/modpost.c 	for (mod = modules; mod; mod = mod->next) {
mod              2217 scripts/mod/modpost.c 		if (mod->skip)
mod              2222 scripts/mod/modpost.c 		add_header(&buf, mod);
mod              2224 scripts/mod/modpost.c 		add_staging_flag(&buf, mod->name);
mod              2225 scripts/mod/modpost.c 		err |= add_versions(&buf, mod);
mod              2226 scripts/mod/modpost.c 		add_depends(&buf, mod, modules);
mod              2227 scripts/mod/modpost.c 		add_moddevtable(&buf, mod);
mod              2228 scripts/mod/modpost.c 		add_srcversion(&buf, mod);
mod              2230 scripts/mod/modpost.c 		sprintf(fname, "%s.mod.c", mod->name);
mod               169 scripts/mod/modpost.h void handle_moddevtable(struct module *mod, struct elf_info *info,
mod               171 scripts/mod/modpost.h void add_moddevtable(struct buffer *buf, struct module *mod);