/linux-4.1.27/arch/x86/lib/ |
H A D | msr-reg-export.c | 1 #include <linux/module.h>
|
H A D | cache-smp.c | 2 #include <linux/module.h>
|
/linux-4.1.27/net/ieee802154/ |
H A D | trace.c | 1 #include <linux/module.h>
|
/linux-4.1.27/net/wireless/ |
H A D | trace.c | 1 #include <linux/module.h>
|
/linux-4.1.27/drivers/misc/ibmasm/ |
H A D | Makefile | 4 ibmasm-y := module.o \
|
/linux-4.1.27/drivers/staging/lustre/lnet/selftest/ |
H A D | Makefile | 4 module.o ping_test.o brw_test.o
|
/linux-4.1.27/fs/nfs/filelayout/ |
H A D | Makefile | 2 # Makefile for the pNFS Files Layout Driver kernel module
|
/linux-4.1.27/fs/nfs/flexfilelayout/ |
H A D | Makefile | 2 # Makefile for the pNFS Flexfile Layout Driver kernel module
|
/linux-4.1.27/arch/mips/include/asm/mach-loongson/cs5536/ |
H A D | cs5536_vsm.h | 20 /* ide module */ 22 /* acc module */ 24 /* ohci module */ 26 /* isa module */ 28 /* ehci module */
|
/linux-4.1.27/scripts/gdb/linux/ |
H A D | modules.py | 4 # module tools 19 module_type = utils.CachedType("struct module") 35 for module in module_list(): 36 if module['name'].string() == name: 37 return module 42 """Find module by name and return the module variable. 45 of the target and return that module variable which MODULE matches.""" 52 module = find_module_by_name(mod_name) 53 if module: 54 return module.dereference() 75 for module in module_list(): 77 address=str(module['module_core']).split()[0], 78 name=module['name'].string(), 79 size=str(module['core_size']), 80 ref=str(module['refcnt']['counter']))) 82 source_list = module['source_list']
|
H A D | symbols.py | 4 # load kernel and module symbols 30 module = gdb.parse_and_eval("mod") 31 module_name = module['name'].string() 45 gdb.write("refreshing all symbols to reload module " 49 cmd.load_module_symbols(module) 61 are scanned recursively, starting in the same directory. Optionally, the module 93 def _section_arguments(self, module): 95 sect_attrs = module['sect_attrs'].dereference() 110 def load_module_symbols(self, module): 111 module_name = module['name'].string() 112 module_addr = str(module['module_core']).split()[0] 125 sections=self._section_arguments(module)) 130 gdb.write("no module object found for '{0}'\n".format(module_name)) 151 [self.load_module_symbols(module) for module in module_list] 171 "kernel/module.c:do_init_module", self) 173 gdb.write("Note: symbol update on module loading not supported "
|
/linux-4.1.27/include/linux/ |
H A D | moduleloader.h | 5 #include <linux/module.h> 9 * module loader code. Architectures that don't need to do anything special 10 * can just rely on the 'weak' default hooks defined in kernel/module.c. 19 struct module *mod); 22 unsigned int arch_mod_section_prepend(struct module *mod, unsigned int section); 24 /* Allocator used for allocating struct module, core sections and init 40 struct module *mod); 46 struct module *me) apply_relocate() 48 printk(KERN_ERR "module %s: REL relocation unsupported\n", apply_relocate() 63 struct module *mod); 69 struct module *me) apply_relocate_add() 71 printk(KERN_ERR "module %s: REL relocation unsupported\n", apply_relocate_add() 77 /* Any final processing of module before access. Return -error or 0. */ 80 struct module *mod); 82 /* Any cleanup needed when module leaves. */ 83 void module_arch_cleanup(struct module *mod); 86 void module_arch_freeing_init(struct module *mod);
|
H A D | module.h | 22 #include <asm/module.h> 37 struct module; 41 struct module *mod; 53 void (*setup)(struct module *, const char *); 54 int (*test)(struct module *); 55 void (*free)(struct module *); 69 /* These are either module local, or the kernel's dummy ones. */ 83 void trim_init_extable(struct module *m); 91 /* Soft module dependencies. See man modprobe.d for details. 92 * Example: MODULE_SOFTDEP("pre: module-foo module-bar post: module-baz") 132 /* What your module does. */ 181 /* Optional firmware file (or files) needed by the module 203 struct module *source, *target; 219 struct module { struct 225 /* Unique handle for this module */ 290 /* Size of RO sections of the module (text+rodata) */ 293 /* Arch-specific module values */ 380 (IDE & SCSI) require entry into the module during init.*/ module_is_live() 381 static inline int module_is_live(struct module *mod) module_is_live() 386 struct module *__module_text_address(unsigned long addr); 387 struct module *__module_address(unsigned long addr); 393 const struct module *mod) within_module_core() 400 const struct module *mod) within_module_init() 406 static inline bool within_module(unsigned long addr, const struct module *mod) within_module() 411 /* Search for module by name: must hold module_mutex. */ 412 struct module *find_module(const char *name); 427 struct module **owner, 434 struct module *owner, 442 /* Look for this name: can be of form module:name. */ 446 struct module *, unsigned long), 449 extern void __module_put_and_exit(struct module *mod, long code) 454 int module_refcount(struct module *mod); 461 extern void __module_get(struct module *module); 463 /* This is the Right Way to get a module: if it fails, it's being removed, 465 extern bool try_module_get(struct module *module); 467 extern void module_put(struct module *module); 470 static inline int try_module_get(struct module *module) try_module_get() argument 472 return !module || module_is_live(module); try_module_get() 474 static inline void module_put(struct module *module) module_put() argument 477 static inline void __module_get(struct module *module) __module_get() argument 484 int ref_module(struct module *a, struct module *b); 489 struct module *__mod = (mod); \ 521 static inline struct module *__module_address(unsigned long addr) __module_address() 526 static inline struct module *__module_text_address(unsigned long addr) __module_text_address() 551 static inline void __module_get(struct module *module) __module_get() argument 555 static inline int try_module_get(struct module *module) try_module_get() argument 560 static inline void module_put(struct module *module) module_put() argument 599 struct module *, module_kallsyms_on_each_symbol() 646 struct module *); set_all_modules_text_ro() 647 void module_bug_cleanup(struct module *); set_all_modules_text_ro() 653 struct module *mod) module_bug_finalize() 656 static inline void module_bug_cleanup(struct module *mod) {}
|
H A D | b1pcmcia.h | 3 * Exported functions of module b1pcmcia to be called by 4 * avm_cs card services module.
|
H A D | cdev.h | 10 struct module; 14 struct module *owner;
|
H A D | firmware.h | 20 struct module; 45 struct module *module, bool uevent, 60 struct module *module, bool uevent, request_firmware_nowait() 59 request_firmware_nowait( struct module *module, bool uevent, const char *name, struct device *device, gfp_t gfp, void *context, void (*cont)(const struct firmware *fw, void *context)) request_firmware_nowait() argument
|
H A D | devcoredump.h | 5 #include <linux/module.h> 12 void dev_coredumpm(struct device *dev, struct module *owner, 25 dev_coredumpm(struct device *dev, struct module *owner, dev_coredumpm()
|
H A D | atm_tcp.h | 16 struct module *owner;
|
H A D | kobj_map.h | 13 int kobj_map(struct kobj_map *, dev_t, unsigned long, struct module *,
|
H A D | isdn_divertif.h | 20 /* structure exchanging data between isdn hl and divert module */ 25 int (*stat_callback)(isdn_ctrl *); /* supplied by divert module when calling */
|
H A D | mdio-bitbang.h | 6 struct module; 11 struct module *owner;
|
/linux-4.1.27/include/uapi/linux/netfilter_ipv6/ |
H A D | ip6t_HL.h | 1 /* Hop Limit modification module for ip6tables 3 * Based on HW's TTL module */
|
H A D | ip6t_hl.h | 1 /* ip6tables module for matching the Hop Limit value 3 * Based on HW's ttl module */
|
/linux-4.1.27/arch/avr32/kernel/ |
H A D | module.c | 2 * AVR32-specific kernel module loader 18 #include <linux/module.h> 22 void module_arch_freeing_init(struct module *mod) module_arch_freeing_init() 28 static inline int check_rela(Elf32_Rela *rela, struct module *module, check_rela() argument 33 info = module->arch.syminfo + ELF32_R_SYM(rela->r_info); check_rela() 49 info->got_offset = module->arch.got_size; check_rela() 50 module->arch.got_size += sizeof(void *); check_rela() 61 char *secstrings, struct module *module) module_frob_arch_sections() 79 printk(KERN_ERR "module %s: no symbol table\n", module->name); module_frob_arch_sections() 84 module->arch.nsyms = symtab->sh_size / sizeof(Elf_Sym); module_frob_arch_sections() 85 module->arch.syminfo = vmalloc(module->arch.nsyms module_frob_arch_sections() 87 if (!module->arch.syminfo) module_frob_arch_sections() 92 for (i = 0; i < module->arch.nsyms; i++) { module_frob_arch_sections() 98 module->arch.syminfo[i].got_offset = -1UL; module_frob_arch_sections() 99 module->arch.syminfo[i].got_initialized = 0; module_frob_arch_sections() 103 module->arch.got_size = 0; module_frob_arch_sections() 110 ret = check_rela(rela + j, module, module_frob_arch_sections() 121 module->core_size = ALIGN(module->core_size, 4); module_frob_arch_sections() 122 module->arch.got_offset = module->core_size; module_frob_arch_sections() 123 module->core_size += module->arch.got_size; module_frob_arch_sections() 128 vfree(module->arch.syminfo); module_frob_arch_sections() 129 module->arch.syminfo = NULL; module_frob_arch_sections() 134 static inline int reloc_overflow(struct module *module, const char *reloc_name, reloc_overflow() argument 137 printk(KERN_ERR "module %s: Value %lx does not fit relocation %s\n", reloc_overflow() 138 module->name, (unsigned long)relocation, reloc_name); reloc_overflow() 147 struct module *module) apply_relocate_add() 167 info = module->arch.syminfo + ELF32_R_SYM(rel->r_info); apply_relocate_add() 180 gotent = (module->module_core apply_relocate_add() 181 + module->arch.got_offset apply_relocate_add() 200 return reloc_overflow(module, apply_relocate_add() 216 return reloc_overflow(module, apply_relocate_add() 229 return reloc_overflow(module, apply_relocate_add() 240 return reloc_overflow(module, apply_relocate_add() 257 relocation, module->arch.got_offset, apply_relocate_add() 258 module->module_core); apply_relocate_add() 259 relocation -= ((unsigned long)module->module_core apply_relocate_add() 260 + module->arch.got_offset); apply_relocate_add() 266 return reloc_overflow(module, "R_AVR32_GOT18SW", apply_relocate_add() 273 return reloc_overflow(module, "R_AVR32_GOT16S", apply_relocate_add() 284 printk(KERN_ERR "module %s: Unknown relocation: %u\n", apply_relocate_add() 285 module->name, ELF32_R_TYPE(rel->r_info)); apply_relocate_add() 60 module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, char *secstrings, struct module *module) module_frob_arch_sections() argument 145 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relindex, struct module *module) apply_relocate_add() argument
|
H A D | Makefile | 12 obj-$(CONFIG_MODULES) += module.o avr32_ksyms.o
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | sdhci-pci-data.c | 1 #include <linux/module.h>
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | mmc-davinci.h | 13 int (*get_cd)(int module); 14 int (*get_ro)(int module); 16 void (*set_power)(int module, bool on); 29 void davinci_setup_mmc(int module, struct davinci_mmc_config *config);
|
H A D | spi-imx.h | 10 * selects as the CSPI module tries to be intelligent about 11 * when to assert the chipselect: The CSPI module deasserts the
|
H A D | voltage-omap.h | 18 * control module base address) from where to read 19 * the n-target value for the smartreflex module.
|
/linux-4.1.27/arch/xtensa/include/asm/ |
H A D | module.h | 2 * include/asm-xtensa/module.h 4 * This file contains the module code specific to the Xtensa architecture. 18 #include <asm-generic/module.h>
|
/linux-4.1.27/arch/frv/include/asm/ |
H A D | module.h | 0 /* module.h: FRV module stuff 14 #include <asm-generic/module.h>
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | module.h | 4 #include <asm-generic/module.h> 37 struct module; 38 extern void module_fixup(struct module *mod, struct m68k_fixup_info *start,
|
/linux-4.1.27/drivers/isdn/act2000/ |
H A D | Makefile | 9 act2000-y := module.o capi.o act2000_isa.o
|
/linux-4.1.27/drivers/isdn/divert/ |
H A D | Makefile | 1 # Makefile for the dss1_divert ISDN module
|
H A D | divert_init.c | 12 #include <linux/module.h> 48 printk(KERN_WARNING "dss1_divert: error %d registering module, not loaded\n", i); divert_init() 51 printk(KERN_INFO "dss1_divert module successfully installed\n"); divert_init() 66 printk(KERN_WARNING "dss1_divert: error %d releasing module\n", i); divert_exit() 78 printk(KERN_INFO "dss1_divert module successfully removed \n"); divert_exit()
|
/linux-4.1.27/drivers/isdn/pcbit/ |
H A D | Makefile | 9 pcbit-y := module.o edss1.o drv.o layer2.o capi.o callbacks.o
|
/linux-4.1.27/drivers/s390/char/ |
H A D | hmcdrv_mod.c | 12 #include <linux/module.h> 25 * module parameter 'cachesize' 31 * hmcdrv_mod_init() - module init function 54 * hmcdrv_mod_exit() - module exit function
|
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/ |
H A D | Makefile | 4 lib-md.o lib-ptl.o lib-move.o module.o lo.o router.o \
|
/linux-4.1.27/arch/um/kernel/ |
H A D | gmon_syms.c | 6 #include <linux/module.h>
|
H A D | gprof_syms.c | 6 #include <linux/module.h>
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | module.h | 4 #include <asm-generic/module.h> 7 * This file contains the s390 architecture specific module code. 20 /* Starting offset of got in the module core memory. */ 22 /* Starting offset of plt in the module core memory. */
|
H A D | livepatch.h | 20 #include <linux/module.h> 28 static inline int klp_write_module_reloc(struct module *mod, unsigned long klp_write_module_reloc()
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | s390_ksyms.c | 1 #include <linux/module.h>
|
/linux-4.1.27/arch/score/kernel/ |
H A D | Makefile | 11 obj-$(CONFIG_MODULES) += module.o
|
/linux-4.1.27/arch/openrisc/kernel/ |
H A D | Makefile | 11 obj-$(CONFIG_MODULES) += module.o
|
/linux-4.1.27/arch/alpha/include/asm/ |
H A D | module.h | 4 #include <asm-generic/module.h>
|
/linux-4.1.27/lib/ |
H A D | test_module.c | 2 * This module emits "Hello, world" on printk when loaded. 4 * It is designed to be used for basic evaluation of the module loading 5 * subsystem (for example when validating module signing/verification). It 13 #include <linux/module.h>
|
H A D | cpu-notifier-error-inject.c | 2 #include <linux/module.h> 48 MODULE_DESCRIPTION("CPU notifier error injection module");
|
H A D | memory-notifier-error-inject.c | 2 #include <linux/module.h> 46 MODULE_DESCRIPTION("memory notifier error injection module");
|
H A D | of-reconfig-notifier-error-inject.c | 2 #include <linux/module.h> 49 MODULE_DESCRIPTION("OF reconfig notifier error injection module");
|
H A D | pm-notifier-error-inject.c | 2 #include <linux/module.h> 47 MODULE_DESCRIPTION("PM notifier error injection module");
|
/linux-4.1.27/drivers/md/ |
H A D | dm-builtin.c | 4 * The kobject release method must not be placed in the module itself, 5 * otherwise we are subject to module unload races. 11 * The release method suffers from module unload race. We may prevent the 12 * module from being unloaded at the start of the release method (using 13 * increased module reference count or synchronizing against the release 14 * method), however there is no way to prevent the module from being 17 * If this code were placed in the dm module, the following race may 28 * 8. dm_sysfs_exit continues, the dm device is unloaded, module reference 30 * 9. The user unloads the dm module 32 * it is now executing code in unloaded module, so it crashes 39 * In order to fix this module unload race, we place the release method
|
/linux-4.1.27/include/trace/events/ |
H A D | module.h | 2 * Because linux/module.h has tracepoints in the header, and ftrace.h 3 * used to include this file, define_trace.h includes linux/module.h 4 * But we do not want the module.h to override the TRACE_SYSTEM macro 6 * when module events are being processed, which would happen when 11 #define TRACE_SYSTEM module 21 struct module; 32 TP_PROTO(struct module *mod), 51 TP_PROTO(struct module *mod), 71 TP_PROTO(struct module *mod, unsigned long ip), 93 TP_PROTO(struct module *mod, unsigned long ip), 100 TP_PROTO(struct module *mod, unsigned long ip),
|
/linux-4.1.27/drivers/scsi/bfa/ |
H A D | bfa_modules.h | 32 struct bfa_fcdiag_s fcdiag; /* fcdiag module */ 33 struct bfa_fcport_s fcport; /* fc port module */ 34 struct bfa_fcxp_mod_s fcxp_mod; /* fcxp module */ 35 struct bfa_lps_mod_s lps_mod; /* fcxp module */ 36 struct bfa_uf_mod_s uf_mod; /* unsolicited frame module */ 37 struct bfa_rport_mod_s rport_mod; /* remote port module */ 38 struct bfa_fcp_mod_s fcp_mod; /* FCP initiator module */ 39 struct bfa_sgpg_mod_s sgpg_mod; /* SG page module */ 40 struct bfa_port_s port; /* Physical port module */ 41 struct bfa_ablk_s ablk; /* ASIC block config module */ 43 struct bfa_sfp_s sfp; /* SFP module */ 44 struct bfa_flash_s flash; /* flash module */ 45 struct bfa_diag_s diag_mod; /* diagnostics module */ 46 struct bfa_phy_s phy; /* phy module */ 47 struct bfa_dconf_mod_s dconf_mod; /* DCONF common module */ 48 struct bfa_fru_s fru; /* fru module */ 64 * Macro to define a new BFA module 94 * Each sub module needs to implement only the entry points relevant to it (and 115 struct bfa_ioc_s ioc; /* IOC module */ 116 struct bfa_iocfc_s iocfc; /* IOCFC module */ 117 struct bfa_timer_mod_s timer_mod; /* timer module */
|
H A D | bfa_port.c | 52 * @param[in] port - Pointer to the port module 69 * @param[in] port - Pointer to the port module 86 * @param[in] port - Pointer to the Port module 118 * @param[in] port - Pointer to the Port module 147 * @param[in] Pointer to the Port module data structure. 209 * @param[in] port Port module pointer 227 * @param[in] Pointer to the Port module data structure. 283 * @param[in] Pointer to the Port module data structure. 339 * @param[in] Pointer to the Port module data structure. 378 * @param[in] Pointer to the Port module data structure. 414 * Port module IOC event handler 416 * @param[in] Pointer to the Port module data structure. 460 * @param[in] port - Pointer to the Port module data structure 461 * ioc - Pointer to the ioc module data structure 462 * dev - Pointer to the device driver module data structure 505 * Port module- set pbc disabled flag 507 * @param[in] port - Pointer to the Port module data structure 518 * CEE module specific definitions 526 * @param[in] cee - Pointer to the CEE module 558 * @param[in] cee - Pointer to the CEE module 594 * @param[in] cee - Pointer to the CEE module 611 * @brief Returns the size of the DMA memory needed by CEE module 629 * @param[in] cee CEE module pointer 655 * @param[in] Pointer to the CEE module data structure. 695 * @param[in] Pointer to the CEE module data structure. 734 * @param[in] Pointer to the CEE module data structure. 768 * @brief Handles Mail-box interrupts for CEE module. 770 * @param[in] Pointer to the CEE module data structure. 803 * @brief CEE module IOC event handler. 805 * @param[in] Pointer to the CEE module data structure. 858 * @brief CEE module-attach API 860 * @param[in] cee - Pointer to the CEE module data structure 861 * ioc - Pointer to the ioc module data structure 862 * dev - Pointer to the device driver module data structure
|
/linux-4.1.27/arch/sparc/crypto/ |
H A D | crop_devid.c | 1 #include <linux/module.h> 5 * opcode drivers. It serves to trigger the module autoloading
|
/linux-4.1.27/drivers/base/ |
H A D | module.c | 2 * module.c - module sysfs fun for drivers 8 #include <linux/module.h> 33 void module_add_driver(struct module *mod, struct device_driver *drv) module_add_driver() 47 /* Lookup built-in module entry in /sys/modules */ module_add_driver() 51 /* remember our module structure */ module_add_driver() 62 no_warn = sysfs_create_link(&drv->p->kobj, &mk->kobj, "module"); module_add_driver() 80 sysfs_remove_link(&drv->p->kobj, "module"); module_remove_driver()
|
H A D | firmware.c | 12 #include <linux/module.h>
|
H A D | map.c | 12 #include <linux/module.h> 24 struct module *owner; 33 struct module *module, kobj_probe_t *probe, kobj_map() 49 p->owner = module; kobj_map() 105 struct module *owner; kobj_lookup() 32 kobj_map(struct kobj_map *domain, dev_t dev, unsigned long range, struct module *module, kobj_probe_t *probe, int (*lock)(dev_t, void *), void *data) kobj_map() argument
|
/linux-4.1.27/arch/parisc/include/asm/ |
H A D | module.h | 4 #include <asm-generic/module.h> 7 * This file contains the parisc architecture specific module code.
|
/linux-4.1.27/arch/avr32/include/asm/ |
H A D | module.h | 4 #include <asm-generic/module.h> 12 /* Starting offset of got in the module core memory. */
|
/linux-4.1.27/drivers/uwb/ |
H A D | umc-drv.c | 12 int __umc_driver_register(struct umc_driver *umc_drv, struct module *module, __umc_driver_register() argument 16 umc_drv->driver.owner = module; __umc_driver_register()
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | module-rela.c | 26 extern int apply_r_mips_none(struct module *me, u32 *location, Elf_Addr v); 28 static int apply_r_mips_32_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_mips_32_rela() 35 static int apply_r_mips_26_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_mips_26_rela() 38 pr_err("module %s: dangerous R_MIPS_26 RELArelocation\n", apply_r_mips_26_rela() 45 "module %s: relocation overflow\n", apply_r_mips_26_rela() 55 static int apply_r_mips_hi16_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_mips_hi16_rela() 63 static int apply_r_mips_lo16_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_mips_lo16_rela() 70 static int apply_r_mips_64_rela(struct module *me, u32 *location, Elf_Addr v) apply_r_mips_64_rela() 77 static int apply_r_mips_higher_rela(struct module *me, u32 *location, apply_r_mips_higher_rela() 86 static int apply_r_mips_highest_rela(struct module *me, u32 *location, apply_r_mips_highest_rela() 95 static int (*reloc_handlers_rela[]) (struct module *me, u32 *location, 109 struct module *me) apply_relocate_add()
|
H A D | module.c | 55 int apply_r_mips_none(struct module *me, u32 *location, Elf_Addr v) apply_r_mips_none() 60 static int apply_r_mips_32_rel(struct module *me, u32 *location, Elf_Addr v) apply_r_mips_32_rel() 67 static int apply_r_mips_26_rel(struct module *me, u32 *location, Elf_Addr v) apply_r_mips_26_rel() 70 pr_err("module %s: dangerous R_MIPS_26 REL relocation\n", apply_r_mips_26_rel() 77 "module %s: relocation overflow\n", apply_r_mips_26_rel() 88 static int apply_r_mips_hi16_rel(struct module *me, u32 *location, Elf_Addr v) apply_r_mips_hi16_rel() 120 static int apply_r_mips_lo16_rel(struct module *me, u32 *location, Elf_Addr v) apply_r_mips_lo16_rel() 181 pr_err("module %s: dangerous R_MIPS_LO16 REL relocation\n", me->name); apply_r_mips_lo16_rel() 186 static int (*reloc_handlers_rel[]) (struct module *me, u32 *location, 197 struct module *me) apply_relocate() 249 /* Given an address, look for it in the module exception tables. */ search_module_dbetables() 265 we cannot unload the module, hence no refcnt needed. */ search_module_dbetables() 272 struct module *me) module_finalize() 293 void module_arch_cleanup(struct module *mod) module_arch_cleanup()
|
/linux-4.1.27/arch/mn10300/include/asm/ |
H A D | module.h | 1 /* MN10300 Arch-specific module definitions 5 * Derived from include/asm-i386/module.h 15 #include <asm-generic/module.h>
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | cm2xxx_3xxx.h | 53 static inline u32 omap2_cm_read_mod_reg(s16 module, u16 idx) omap2_cm_read_mod_reg() argument 55 return readl_relaxed(cm_base + module + idx); omap2_cm_read_mod_reg() 58 static inline void omap2_cm_write_mod_reg(u32 val, s16 module, u16 idx) omap2_cm_write_mod_reg() argument 60 writel_relaxed(val, cm_base + module + idx); omap2_cm_write_mod_reg() 63 /* Read-modify-write a register in a CM module. Caller must lock */ omap2_cm_rmw_mod_reg_bits() 64 static inline u32 omap2_cm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, omap2_cm_rmw_mod_reg_bits() argument 69 v = omap2_cm_read_mod_reg(module, idx); omap2_cm_rmw_mod_reg_bits() 72 omap2_cm_write_mod_reg(v, module, idx); omap2_cm_rmw_mod_reg_bits() 89 static inline u32 omap2_cm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) omap2_cm_set_mod_reg_bits() argument 91 return omap2_cm_rmw_mod_reg_bits(bits, bits, module, idx); omap2_cm_set_mod_reg_bits() 94 static inline u32 omap2_cm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) omap2_cm_clear_mod_reg_bits() argument 96 return omap2_cm_rmw_mod_reg_bits(bits, 0x0, module, idx); omap2_cm_clear_mod_reg_bits()
|
H A D | cm2xxx.h | 22 #define OMAP2420_CM_REGADDR(module, reg) \ 23 OMAP2_L4_IO_ADDRESS(OMAP2420_CM_BASE + (module) + (reg)) 24 #define OMAP2430_CM_REGADDR(module, reg) \ 25 OMAP2_L4_IO_ADDRESS(OMAP2430_CM_BASE + (module) + (reg))
|
H A D | cm2xxx.c | 2 * OMAP2xxx CM module functions 46 static void _write_clktrctrl(u8 c, s16 module, u32 mask) _write_clktrctrl() argument 50 v = omap2_cm_read_mod_reg(module, OMAP2_CM_CLKSTCTRL); _write_clktrctrl() 53 omap2_cm_write_mod_reg(v, module, OMAP2_CM_CLKSTCTRL); _write_clktrctrl() 56 static bool omap2xxx_cm_is_clkdm_in_hwsup(s16 module, u32 mask) omap2xxx_cm_is_clkdm_in_hwsup() argument 60 v = omap2_cm_read_mod_reg(module, OMAP2_CM_CLKSTCTRL); omap2xxx_cm_is_clkdm_in_hwsup() 67 static void omap2xxx_cm_clkdm_enable_hwsup(s16 module, u32 mask) omap2xxx_cm_clkdm_enable_hwsup() argument 69 _write_clktrctrl(OMAP24XX_CLKSTCTRL_ENABLE_AUTO, module, mask); omap2xxx_cm_clkdm_enable_hwsup() 72 static void omap2xxx_cm_clkdm_disable_hwsup(s16 module, u32 mask) omap2xxx_cm_clkdm_disable_hwsup() argument 74 _write_clktrctrl(OMAP24XX_CLKSTCTRL_DISABLE_AUTO, module, mask); omap2xxx_cm_clkdm_disable_hwsup() 241 * omap2xxx_cm_wait_module_ready - wait for a module to leave idle or standby 243 * @prcm_mod: PRCM module offset 247 * Wait for the PRCM to indicate that the module identified by 249 * success or -EBUSY if the module doesn't enable in time.
|
H A D | prm2xxx_3xxx.h | 56 static inline u32 omap2_prm_read_mod_reg(s16 module, u16 idx) omap2_prm_read_mod_reg() argument 58 return readl_relaxed(prm_base + module + idx); omap2_prm_read_mod_reg() 61 static inline void omap2_prm_write_mod_reg(u32 val, s16 module, u16 idx) omap2_prm_write_mod_reg() argument 63 writel_relaxed(val, prm_base + module + idx); omap2_prm_write_mod_reg() 66 /* Read-modify-write a register in a PRM module. Caller must lock */ omap2_prm_rmw_mod_reg_bits() 67 static inline u32 omap2_prm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, omap2_prm_rmw_mod_reg_bits() argument 72 v = omap2_prm_read_mod_reg(module, idx); omap2_prm_rmw_mod_reg_bits() 75 omap2_prm_write_mod_reg(v, module, idx); omap2_prm_rmw_mod_reg_bits() 92 static inline u32 omap2_prm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) omap2_prm_set_mod_reg_bits() argument 94 return omap2_prm_rmw_mod_reg_bits(bits, bits, module, idx); omap2_prm_set_mod_reg_bits() 97 static inline u32 omap2_prm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) omap2_prm_clear_mod_reg_bits() argument 99 return omap2_prm_rmw_mod_reg_bits(bits, 0x0, module, idx); omap2_prm_clear_mod_reg_bits() 186 * Bits common to module-shared registers
|
H A D | prm2xxx.c | 2 * OMAP2xxx PRM module functions 118 * omap2xxx_prm_clear_mod_irqs - clear wakeup status bits for a module 119 * @module: PRM module to clear wakeups from 123 * Clears wakeup status bits for a given module, so that the device can 126 static int omap2xxx_prm_clear_mod_irqs(s16 module, u8 regs, u32 wkst_mask) omap2xxx_prm_clear_mod_irqs() argument 130 wkst = omap2_prm_read_mod_reg(module, regs); omap2xxx_prm_clear_mod_irqs() 132 omap2_prm_write_mod_reg(wkst, module, regs); omap2xxx_prm_clear_mod_irqs()
|
/linux-4.1.27/drivers/tc/ |
H A D | tc.c | 18 #include <linux/module.h> 40 void __iomem *module; tc_bus_add_devices() local 49 module = ioremap_nocache(slotaddr, slotsize); tc_bus_add_devices() 50 BUG_ON(!module); tc_bus_add_devices() 55 err |= tc_preadb(pattern + 0, module + offset + TC_PATTERN0); tc_bus_add_devices() 56 err |= tc_preadb(pattern + 1, module + offset + TC_PATTERN1); tc_bus_add_devices() 57 err |= tc_preadb(pattern + 2, module + offset + TC_PATTERN2); tc_bus_add_devices() 58 err |= tc_preadb(pattern + 3, module + offset + TC_PATTERN3); tc_bus_add_devices() 68 module + offset + TC_PATTERN0); tc_bus_add_devices() 70 module + offset + TC_PATTERN1); tc_bus_add_devices() 72 module + offset + TC_PATTERN2); tc_bus_add_devices() 74 module + offset + TC_PATTERN3); tc_bus_add_devices() 97 readb(module + offset + TC_FIRM_VER + 4 * i); tc_bus_add_devices() 99 readb(module + offset + TC_VENDOR + 4 * i); tc_bus_add_devices() 101 readb(module + offset + TC_MODULE + 4 * i); tc_bus_add_devices() 110 devsize = readb(module + offset + TC_SLOT_SIZE); tc_bus_add_devices() 138 iounmap(module); tc_bus_add_devices()
|
/linux-4.1.27/drivers/net/caif/ |
H A D | Makefile | 6 # SPI slave physical interfaces module
|
/linux-4.1.27/drivers/ssb/ |
H A D | b43_pci_bridge.c | 2 * Broadcom 43xx PCI-SSB bridge module 4 * This technically is a separate PCI driver module, but 6 * instead of creating a standalone module. 14 #include <linux/module.h>
|
/linux-4.1.27/drivers/staging/ |
H A D | staging.c | 3 #include <linux/module.h>
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
H A D | Makefile | 3 obdclass-y := linux/linux-module.o linux/linux-obdo.o linux/linux-sysctl.o \
|
/linux-4.1.27/arch/x86/um/ |
H A D | ksyms.c | 1 #include <linux/module.h>
|
H A D | fault.c | 8 /* These two are from asm-um/uaccess.h and linux/module.h, check them. */
|
/linux-4.1.27/arch/x86/xen/ |
H A D | debugfs.c | 4 #include <linux/module.h>
|
/linux-4.1.27/arch/sh/kernel/ |
H A D | kdebugfs.c | 1 #include <linux/module.h>
|
/linux-4.1.27/arch/sh/mm/ |
H A D | extable_32.c | 7 #include <linux/module.h>
|
/linux-4.1.27/arch/metag/mm/ |
H A D | extable.c | 2 #include <linux/module.h>
|
/linux-4.1.27/include/uapi/linux/netfilter_ipv4/ |
H A D | ipt_TTL.h | 1 /* TTL modification module for IP tables
|
H A D | ipt_ttl.h | 1 /* IP tables module for matching the value of the TTL
|
/linux-4.1.27/arch/arm64/mm/ |
H A D | extable.c | 5 #include <linux/module.h>
|
/linux-4.1.27/arch/blackfin/include/asm/ |
H A D | module.h | 10 #include <asm-generic/module.h>
|
/linux-4.1.27/arch/c6x/kernel/ |
H A D | Makefile | 12 obj-$(CONFIG_MODULES) += module.o
|
/linux-4.1.27/arch/cris/arch-v10/kernel/ |
H A D | crisksyms.c | 1 #include <linux/module.h>
|
/linux-4.1.27/arch/cris/kernel/ |
H A D | Makefile | 13 obj-$(CONFIG_MODULES) += module.o
|
/linux-4.1.27/arch/frv/kernel/ |
H A D | module.c | 0 /* module.c: FRV specific module loading bits 5 * - Derived from arch/i386/kernel/module.c, Copyright (C) 2001 Rusty Russell. 26 * implemented in order to get working module support.
|
/linux-4.1.27/arch/m32r/kernel/ |
H A D | Makefile | 11 obj-$(CONFIG_MODULES) += module.o
|
/linux-4.1.27/arch/m32r/mm/ |
H A D | extable.c | 5 #include <linux/module.h>
|
/linux-4.1.27/arch/alpha/lib/ |
H A D | fls.c | 5 #include <linux/module.h>
|
/linux-4.1.27/kernel/trace/ |
H A D | power-traces.c | 11 #include <linux/module.h>
|
H A D | rpm-traces.c | 11 #include <linux/module.h>
|
/linux-4.1.27/lib/zlib_deflate/ |
H A D | deflate_syms.c | 8 #include <linux/module.h>
|
/linux-4.1.27/lib/zlib_inflate/ |
H A D | inflate_syms.c | 8 #include <linux/module.h>
|
/linux-4.1.27/samples/hidraw/ |
H A D | Makefile | 1 # kbuild trick to avoid linker error. Can be omitted if a module is built.
|
/linux-4.1.27/samples/uhid/ |
H A D | Makefile | 1 # kbuild trick to avoid linker error. Can be omitted if a module is built.
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-scan-pci.c | 12 #include <linux/module.h> 25 * @module: owner module of the driver 35 int __ide_pci_register_driver(struct pci_driver *driver, struct module *module, __ide_pci_register_driver() argument 39 return __pci_register_driver(driver, module, mod_name); __ide_pci_register_driver() 40 driver->driver.owner = module; __ide_pci_register_driver() 81 * module ordering not traditionally ordered.
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
H A D | Makefile | 7 libcfs-linux-objs += linux-module.o 13 libcfs-all-objs := debug.o fail.o nidstrings.o module.o tracefile.o \
|
/linux-4.1.27/arch/unicore32/kernel/ |
H A D | module.c | 2 * linux/arch/unicore32/kernel/module.c 12 #include <linux/module.h> 34 unsigned int relindex, struct module *module) apply_relocate() 52 module->name, relindex, i); apply_relocate() 62 module->name, relindex, i, rel->r_offset, apply_relocate() 91 "%d reloc %d sym '%s'\n", module->name, apply_relocate() 104 module->name, ELF32_R_TYPE(rel->r_info)); apply_relocate() 33 apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relindex, struct module *module) apply_relocate() argument
|
H A D | Makefile | 9 obj-$(CONFIG_MODULES) += ksyms.o module.o
|
/linux-4.1.27/arch/metag/include/asm/ |
H A D | module.h | 4 #include <asm-generic/module.h> 12 /* Indices of PLT sections within module. */
|
/linux-4.1.27/net/netfilter/ |
H A D | xt_TRACE.c | 1 /* This is a module which is used to mark packets for tracing. 3 #include <linux/module.h>
|
H A D | xt_realm.c | 1 /* IP tables module for matching the routing realm 10 #include <linux/module.h>
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_defs.h | 44 * The Scatter Gather Engine (SGE), Multiport Support module (MPS), PIO Local 45 * bus module (PL) and CPU Interface Module (CIM) components are mapped via 74 * This table allows us to map subsets of the various module register sets 76 * module whose registers are being mapped, the offset within the module's 78 * and the offset within the T4VF Register Map to which the module's registers 84 #define T4VF_MOD_MAP(module, index, first, last) \ 85 T4VF_MOD_MAP_##module##_INDEX = (index), \ 86 T4VF_MOD_MAP_##module##_FIRST = (first), \ 87 T4VF_MOD_MAP_##module##_LAST = (last), \ 88 T4VF_MOD_MAP_##module##_OFFSET = ((first)/4), \ 89 T4VF_MOD_MAP_##module##_BASE = \ 90 (T4VF_##module##_BASE_ADDR/4 + (first)/4), \ 91 T4VF_MOD_MAP_##module##_LIMIT = \ 92 (T4VF_##module##_BASE_ADDR/4 + (last)/4),
|
/linux-4.1.27/sound/soc/intel/common/ |
H A D | sst-firmware.c | 114 /* remove module from memory - callers hold locks */ block_list_remove() 417 struct sst_module *module, *mtmp; sst_fw_unload() local 424 /* check module by module */ sst_fw_unload() 425 list_for_each_entry_safe(module, mtmp, &dsp->module_list, list) { sst_fw_unload() 426 if (module->sst_fw == sst_fw) { sst_fw_unload() 429 list_for_each_entry_safe(runtime, rtmp, &module->runtime_list, list) { sst_fw_unload() 436 /* now remove the module */ sst_fw_unload() 437 block_list_remove(dsp, &module->block_list); sst_fw_unload() 438 list_del(&module->list); sst_fw_unload() 439 kfree(module); sst_fw_unload() 483 /* create a new SST generic module from FW template */ sst_module_new() 513 /* free firmware module and remove from available list */ sst_module_free() 526 struct sst_module_runtime *sst_module_runtime_new(struct sst_module *module, sst_module_runtime_new() argument 529 struct sst_dsp *dsp = module->dsp; sst_module_runtime_new() 538 runtime->module = module; sst_module_runtime_new() 542 list_add(&runtime->list, &module->runtime_list); sst_module_runtime_new() 626 /* find first free whole blocks that can hold module */ block_alloc() 645 /* then find free multiple blocks that can hold module */ block_alloc() 685 /* prepare DSP blocks for module usage */ sst_alloc_blocks() 705 /* allocate memory blocks for static module addresses - callers hold locks */ block_alloc_fixed() 718 /* are blocks already attached to this module */ list_for_each_entry_safe() 741 /* module already owns blocks */ list_for_each_entry_safe() 786 /* Load fixed module data into DSP memory blocks */ sst_module_alloc_blocks() 787 int sst_module_alloc_blocks(struct sst_module *module) sst_module_alloc_blocks() argument 789 struct sst_dsp *dsp = module->dsp; sst_module_alloc_blocks() 790 struct sst_fw *sst_fw = module->sst_fw; sst_module_alloc_blocks() 795 ba.size = module->size; sst_module_alloc_blocks() 796 ba.type = module->type; sst_module_alloc_blocks() 797 ba.offset = module->offset; sst_module_alloc_blocks() 805 ret = block_alloc_fixed(dsp, &ba, &module->block_list); sst_module_alloc_blocks() 809 module->offset, module->size); sst_module_alloc_blocks() 814 /* prepare DSP blocks for module copy */ sst_module_alloc_blocks() 815 ret = block_list_prepare(dsp, &module->block_list); sst_module_alloc_blocks() 817 dev_err(dsp->dev, "error: fw module prepare failed\n"); sst_module_alloc_blocks() 821 /* copy partial module data to blocks */ sst_module_alloc_blocks() 824 dsp->addr.lpe_base + module->offset, sst_module_alloc_blocks() 825 sst_fw->dmable_fw_paddr + module->data_offset, sst_module_alloc_blocks() 826 module->size); sst_module_alloc_blocks() 828 dev_err(dsp->dev, "error: module copy failed\n"); sst_module_alloc_blocks() 832 sst_memcpy32(dsp->addr.lpe + module->offset, module->data, sst_module_alloc_blocks() 833 module->size); sst_module_alloc_blocks() 839 block_list_remove(dsp, &module->block_list); sst_module_alloc_blocks() 845 /* Unload entire module from DSP memory */ sst_module_free_blocks() 846 int sst_module_free_blocks(struct sst_module *module) sst_module_free_blocks() argument 848 struct sst_dsp *dsp = module->dsp; sst_module_free_blocks() 851 block_list_remove(dsp, &module->block_list); sst_module_free_blocks() 861 struct sst_module *module = runtime->module; sst_module_runtime_alloc_blocks() local 865 if (module->persistent_size == 0) sst_module_runtime_alloc_blocks() 869 ba.size = module->persistent_size; sst_module_runtime_alloc_blocks() 894 "error: no free blocks for runtime module size 0x%x\n", sst_module_runtime_alloc_blocks() 895 module->persistent_size); sst_module_runtime_alloc_blocks() 901 /* prepare DSP blocks for module copy */ sst_module_runtime_alloc_blocks() 912 block_list_remove(dsp, &module->block_list); sst_module_runtime_alloc_blocks() 933 struct sst_module *module = runtime->module; sst_module_runtime_save() local 938 module->persistent_size); sst_module_runtime_save() 941 module->persistent_size, sst_module_runtime_save() 958 module->persistent_size); sst_module_runtime_save() 967 module->persistent_size); sst_module_runtime_save() 979 struct sst_module *module = runtime->module; sst_module_runtime_restore() local 984 module->persistent_size); sst_module_runtime_restore() 1001 context->dma_buffer, module->persistent_size); sst_module_runtime_restore() 1004 dev_err(dsp->dev, "error: module copy failed\n"); sst_module_runtime_restore() 1009 context->buffer, module->persistent_size); sst_module_runtime_restore() 1011 dma_free_coherent(dsp->dma_dev, module->persistent_size, sst_module_runtime_restore() 1074 struct sst_module *module; sst_block_alloc_scratch() local 1082 list_for_each_entry(module, &dsp->module_list, list) { sst_block_alloc_scratch() 1083 dev_dbg(dsp->dev, "module %d scratch req 0x%x bytes\n", sst_block_alloc_scratch() 1084 module->id, module->scratch_size); sst_block_alloc_scratch() 1085 if (dsp->scratch_size < module->scratch_size) sst_block_alloc_scratch() 1086 dsp->scratch_size = module->scratch_size; sst_block_alloc_scratch() 1098 /* allocate blocks for module scratch buffers */ sst_block_alloc_scratch() 1135 /* assign the same offset of scratch to each module */ sst_block_alloc_scratch() 1151 /* get a module from it's unique ID */ sst_module_get_from_id() 1154 struct sst_module *module; sst_module_get_from_id() local 1158 list_for_each_entry(module, &dsp->module_list, list) { sst_module_get_from_id() 1159 if (module->id == id) { sst_module_get_from_id() 1161 return module; sst_module_get_from_id() 1171 struct sst_module *module, u32 id) sst_module_runtime_get_from_id() 1174 struct sst_dsp *dsp = module->dsp; sst_module_runtime_get_from_id() 1178 list_for_each_entry(runtime, &module->runtime_list, list) { sst_module_runtime_get_from_id() 1170 sst_module_runtime_get_from_id( struct sst_module *module, u32 id) sst_module_runtime_get_from_id() argument
|
H A D | sst-dsp-priv.h | 64 /* FW module parser/loader */ 129 * Used to define and register a new FW module. This data is extracted from 130 * FW module header information. 150 * Runtime Module Instance - A module object can be instanciated multiple 156 struct sst_module *module; /* parent module we belong too */ member in struct:sst_module_runtime 188 * Each Firmware file can consist of 1..N modules. A module can span multiple 189 * ADSP memory blocks. The simplest FW will be a file with 1 module. A module 196 /* module configuration */ 198 u32 entry; /* module entry point */ 199 s32 offset; /* module offset in firmware file */ 200 u32 size; /* module size */ 205 void *data; /* module data */ 215 struct list_head runtime_list; /* list of runtime module objects*/ 237 struct sst_module *module; /* module that uses this block */ member in struct:sst_mem_block 333 void sst_module_free(struct sst_module *module); 335 int sst_module_alloc_blocks(struct sst_module *module); 336 int sst_module_free_blocks(struct sst_module *module); 338 /* Create/Free firmware module runtime instances */ 339 struct sst_module_runtime *sst_module_runtime_new(struct sst_module *module, 343 struct sst_module *module, u32 id);
|
/linux-4.1.27/scripts/ |
H A D | export_report.pl | 97 my (undef, $symbol, $module, $gpl) = split; 98 $SYMBOL { $symbol } = [ $module , "0" , $symbol, $gpl]; 108 my $module; 110 unless (open ($module, '<', $thismod)) { 116 while ( <$module> ) { 131 my ($module, $value, $symbol, $gpl) = @{$SYMBOL{$sym}}; 132 $SYMBOL{ $sym } = [ $module, $value+1, $symbol, $gpl]; 140 close($module); 158 my ($module, $value, $symbol, $gpl) = @{$list}; 159 printf("%-25s\t%-25s\t%-10s\t", $symbol, $module, $value); 169 modules. Each module lists the modules, and the symbols from that module that 182 my ($module, $value, undef, $gpl) = @{$SYMBOL{$symbol}}; 183 push (@{$depends{"$module"}}, "$symbol $value");
|
/linux-4.1.27/net/netfilter/ipvs/ |
H A D | ip_vs_pe.c | 4 #include <linux/module.h> 30 if (pe->module && __ip_vs_pe_getbyname() 31 !try_module_get(pe->module)) { __ip_vs_pe_getbyname() 40 module_put(pe->module); __ip_vs_pe_getbyname() 55 /* If pe not found, load the module and search again */ ip_vs_pe_getbyname() 69 /* increase the module use count */ register_ip_vs_pe() 103 /* decrease the module use count */ unregister_ip_vs_pe()
|
H A D | ip_vs_sched.c | 3 * LINUX operating system. IPVS is now implemented as a module 23 #include <linux/module.h> 96 if (sched->module && !try_module_get(sched->module)) { ip_vs_sched_getbyname() 107 module_put(sched->module); ip_vs_sched_getbyname() 128 * If scheduler not found, load the module and search again ip_vs_scheduler_get() 140 if (scheduler && scheduler->module) ip_vs_scheduler_put() 141 module_put(scheduler->module); ip_vs_scheduler_put() 186 /* increase the module use count */ register_ip_vs_scheduler() 248 /* decrease the module use count */ unregister_ip_vs_scheduler()
|
/linux-4.1.27/drivers/clk/ti/ |
H A D | clk-3xxx-legacy.c | 95 .module = TI_CLKM_PRM, 110 .module = TI_CLKM_PRM, 131 .module = TI_CLKM_CM, 160 .module = TI_CLKM_CM, 186 .module = TI_CLKM_CM, 224 .module = TI_CLKM_CM, 239 .module = TI_CLKM_CM, 254 .module = TI_CLKM_CM, 280 .module = TI_CLKM_CM, 302 .module = TI_CLKM_CM, 331 .module = TI_CLKM_CM, 357 .module = TI_CLKM_CM, 400 .module = TI_CLKM_CM, 426 .module = TI_CLKM_CM, 441 .module = TI_CLKM_CM, 456 .module = TI_CLKM_CM, 483 .module = TI_CLKM_CM, 504 .module = TI_CLKM_CM, 532 .module = TI_CLKM_CM, 546 .module = TI_CLKM_CM, 587 .module = TI_CLKM_CM, 623 .module = TI_CLKM_CM, 647 .module = TI_CLKM_SCRM, 690 .module = TI_CLKM_CM, 712 .module = TI_CLKM_CM, 764 .module = TI_CLKM_CM, 778 .module = TI_CLKM_CM, 793 .module = TI_CLKM_CM, 808 .module = TI_CLKM_CM, 819 .module = TI_CLKM_CM, 838 .module = TI_CLKM_CM, 853 .module = TI_CLKM_CM, 892 .module = TI_CLKM_CM, 919 .module = TI_CLKM_CM, 933 .module = TI_CLKM_CM, 947 .module = TI_CLKM_CM, 958 .module = TI_CLKM_SCRM, 977 .module = TI_CLKM_CM, 991 .module = TI_CLKM_CM, 1003 .module = TI_CLKM_CM, 1023 .module = TI_CLKM_CM, 1049 .module = TI_CLKM_CM, 1074 .module = TI_CLKM_CM, 1101 .module = TI_CLKM_CM, 1128 .module = TI_CLKM_CM, 1155 .module = TI_CLKM_CM, 1174 .module = TI_CLKM_CM, 1189 .module = TI_CLKM_CM, 1217 .module = TI_CLKM_CM, 1232 .module = TI_CLKM_CM, 1248 .module = TI_CLKM_CM, 1269 .module = TI_CLKM_CM, 1307 .module = TI_CLKM_CM, 1322 .module = TI_CLKM_CM, 1349 .module = TI_CLKM_CM, 1363 .module = TI_CLKM_CM, 1378 .module = TI_CLKM_CM, 1394 .module = TI_CLKM_CM, 1408 .module = TI_CLKM_CM, 1423 .module = TI_CLKM_CM, 1437 .module = TI_CLKM_CM, 1452 .module = TI_CLKM_CM, 1472 .module = TI_CLKM_CM, 1491 .module = TI_CLKM_CM, 1511 .module = TI_CLKM_CM, 1530 .module = TI_CLKM_CM, 1545 .module = TI_CLKM_CM, 1560 .module = TI_CLKM_CM, 1572 .module = TI_CLKM_CM, 1591 .module = TI_CLKM_CM, 1600 .module = TI_CLKM_CM, 1619 .module = TI_CLKM_CM, 1649 .module = TI_CLKM_CM, 1657 .module = TI_CLKM_CM, 1672 .module = TI_CLKM_CM, 1679 .module = TI_CLKM_CM, 1694 .module = TI_CLKM_CM, 1710 .module = TI_CLKM_CM, 1724 .module = TI_CLKM_CM, 1739 .module = TI_CLKM_CM, 1754 .module = TI_CLKM_CM, 1769 .module = TI_CLKM_CM, 1784 .module = TI_CLKM_CM, 1799 .module = TI_CLKM_CM, 1814 .module = TI_CLKM_CM, 1834 .module = TI_CLKM_CM, 1854 .module = TI_CLKM_CM, 1880 .module = TI_CLKM_CM, 1905 .module = TI_CLKM_CM, 1917 .module = TI_CLKM_CM, 1948 .module = TI_CLKM_CM, 1963 .module = TI_CLKM_CM, 1990 .module = TI_CLKM_CM, 2016 .module = TI_CLKM_CM, 2060 .module = TI_CLKM_CM, 2087 .module = TI_CLKM_CM, 2101 .module = TI_CLKM_CM, 2116 .module = TI_CLKM_SCRM, 2131 .module = TI_CLKM_SCRM, 2153 .module = TI_CLKM_CM, 2181 .module = TI_CLKM_CM, 2200 .module = TI_CLKM_SCRM, 2213 .module = TI_CLKM_SCRM, 2221 .module = TI_CLKM_CM, 2228 .module = TI_CLKM_CM, 2248 .module = TI_CLKM_CM, 2256 .module = TI_CLKM_CM, 2271 .module = TI_CLKM_CM, 2293 .module = TI_CLKM_CM, 2308 .module = TI_CLKM_CM, 2322 .module = TI_CLKM_CM, 2329 .module = TI_CLKM_CM, 2348 .module = TI_CLKM_CM, 2356 .module = TI_CLKM_SCRM, 2371 .module = TI_CLKM_CM, 2389 .module = TI_CLKM_CM, 2404 .module = TI_CLKM_CM, 2418 .module = TI_CLKM_CM, 2433 .module = TI_CLKM_CM, 2448 .module = TI_CLKM_CM, 2462 .module = TI_CLKM_SCRM, 2477 .module = TI_CLKM_CM, 2493 .module = TI_CLKM_CM, 2514 .module = TI_CLKM_CM, 2544 .module = TI_CLKM_CM, 2571 .module = TI_CLKM_PRM, 2608 .module = TI_CLKM_CM, 2623 .module = TI_CLKM_CM, 2631 .module = TI_CLKM_CM, 2646 .module = TI_CLKM_CM, 2661 .module = TI_CLKM_CM, 2675 .module = TI_CLKM_CM, 2695 .module = TI_CLKM_SCRM, 2714 .module = TI_CLKM_CM, 2729 .module = TI_CLKM_CM, 2743 .module = TI_CLKM_CM, 2820 .module = TI_CLKM_CM, 2839 .module = TI_CLKM_CM, 2854 .module = TI_CLKM_CM, 2869 .module = TI_CLKM_CM, 2884 .module = TI_CLKM_SCRM, 2897 .module = TI_CLKM_CM, 2904 .module = TI_CLKM_CM, 2911 .module = TI_CLKM_CM, 2923 .module = TI_CLKM_CM, 2942 .module = TI_CLKM_CM, 2968 .module = TI_CLKM_CM, 2988 .module = TI_CLKM_CM, 2996 .module = TI_CLKM_CM, 3011 .module = TI_CLKM_CM, 3026 .module = TI_CLKM_CM, 3053 .module = TI_CLKM_CM, 3068 .module = TI_CLKM_CM, 3083 .module = TI_CLKM_CM, 3098 .module = TI_CLKM_CM, 3113 .module = TI_CLKM_CM, 3139 .module = TI_CLKM_CM, 3156 .module = TI_CLKM_CM, 3247 .module = TI_CLKM_CM, 3281 .module = TI_CLKM_CM, 3299 .module = TI_CLKM_CM, 3314 .module = TI_CLKM_CM, 3353 .module = TI_CLKM_CM, 3368 .module = TI_CLKM_CM, 3383 .module = TI_CLKM_SCRM, 3397 .module = TI_CLKM_CM, 3412 .module = TI_CLKM_CM, 3439 .module = TI_CLKM_CM, 3466 .module = TI_CLKM_CM, 3481 .module = TI_CLKM_CM, 3496 .module = TI_CLKM_CM, 3510 .module = TI_CLKM_CM, 3536 .module = TI_CLKM_CM, 3551 .module = TI_CLKM_CM, 3566 .module = TI_CLKM_CM, 3586 .module = TI_CLKM_CM, 3605 .module = TI_CLKM_CM, 3623 .module = TI_CLKM_CM, 3637 .module = TI_CLKM_CM, 3652 .module = TI_CLKM_CM, 3667 .module = TI_CLKM_CM, 3682 .module = TI_CLKM_CM, 3696 .module = TI_CLKM_CM, 3723 .module = TI_CLKM_CM, 3738 .module = TI_CLKM_CM, 3753 .module = TI_CLKM_CM, 3768 .module = TI_CLKM_CM, 3783 .module = TI_CLKM_CM, 3809 .module = TI_CLKM_CM, 3824 .module = TI_CLKM_CM, 3838 .module = TI_CLKM_CM, 3865 .module = TI_CLKM_CM, 3879 .module = TI_CLKM_CM, 3894 .module = TI_CLKM_CM, 3909 .module = TI_CLKM_CM, 3934 .module = TI_CLKM_CM, 3948 .module = TI_CLKM_CM, 3975 .module = TI_CLKM_CM, 3990 .module = TI_CLKM_CM, 4004 .module = TI_CLKM_CM, 4019 .module = TI_CLKM_CM, 4034 .module = TI_CLKM_CM, 4049 .module = TI_CLKM_CM, 4065 .module = TI_CLKM_CM, 4079 .module = TI_CLKM_CM, 4094 .module = TI_CLKM_SCRM, 4118 .module = TI_CLKM_CM, 4133 .module = TI_CLKM_CM, 4148 .module = TI_CLKM_CM, 4163 .module = TI_CLKM_CM, 4178 .module = TI_CLKM_CM, 4193 .module = TI_CLKM_CM, 4207 .module = TI_CLKM_CM, 4222 .module = TI_CLKM_CM, 4238 .module = TI_CLKM_CM,
|
/linux-4.1.27/drivers/isdn/hysdn/ |
H A D | hysdn_init.c | 13 #include <linux/module.h> 45 /* The module startup and shutdown code. Only compiled when used as module. */ 46 /* Using the driver as module is always advisable, because the booting */ 52 /* init_module is called once when the module is loaded to do all necessary */ 55 /* and the module is added to the list in /proc/modules, otherwise an error */ 56 /* is assumed and the module will not be kept in memory. */ 160 printk(KERN_NOTICE "HYSDN: module loaded\n"); hysdn_init() 190 /* cleanup_module is called when the module is released by the kernel. */ 192 /* the module counter has a value of 0. Otherwise this function will */ 194 /* cated as after the return from this function the module code will */ 209 printk(KERN_NOTICE "HYSDN: module unloaded\n"); hysdn_exit()
|
/linux-4.1.27/arch/metag/kernel/ |
H A D | vmlinux.lds.S | 65 /* When something in the kernel is NOT compiled as a module, the 66 * module cleanup code and data are put into these segments. Both 68 * it's a module.
|
/linux-4.1.27/include/uapi/linux/sunrpc/ |
H A D | debug.h | 4 * Debugging support for sunrpc module 33 * module currently registers its sysctl table dynamically, the sysctl path 34 * for module FOO is <CTL_SUNRPC, CTL_FOODEBUG>.
|
/linux-4.1.27/arch/hexagon/kernel/ |
H A D | module.c | 2 * Kernel module loader for Hexagon 21 #include <asm/module.h> 23 #include <linux/module.h> 38 * @mod - pointer to module 42 struct module *mod) module_frob_arch_sections() 76 * @module - pointer to module 82 struct module *module) apply_relocate_add() 120 module->name, apply_relocate_add() 152 module->name); apply_relocate_add() 156 module->name, apply_relocate_add() 80 apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *module) apply_relocate_add() argument
|
H A D | Makefile | 9 obj-$(CONFIG_MODULES) += module.o hexagon_ksyms.o
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | module.h | 4 #include <asm-generic/module.h> 7 * IA-64-specific support for kernel module loader. 27 unsigned long gp; /* global-pointer for module */
|
/linux-4.1.27/arch/ia64/include/asm/sn/ |
H A D | types.h | 17 typedef unsigned int moduleid_t; /* user-visible module number type */ 18 typedef unsigned int cmoduleid_t; /* kernel compact module id type */ 19 typedef unsigned char slotid_t; /* slot (blade) within module */
|
H A D | geo.h | 21 #define MAX_SLOTS 0xf /* slots per module */ 28 moduleid_t module; /* The module (box) this h/w lives in */ member in struct:geo_common_s 31 slotid_t slot:4; /* slot (Blade), 0 .. 15 within module */ 81 module/001c07/slab/5/node/memory/2/slot/4 */ 127 INVALID_MODULE : g.common.module; geo_module()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | livepatch.c | 21 #include <linux/module.h> 29 * klp_write_module_reloc() - write a relocation in a module 30 * @mod: module in which the section to be modified is found 36 * a particular module. 38 int klp_write_module_reloc(struct module *mod, unsigned long type, klp_write_module_reloc() 70 /* loc does not point to any symbol inside the module */ klp_write_module_reloc()
|
H A D | paravirt-spinlocks.c | 6 #include <linux/module.h>
|
/linux-4.1.27/arch/microblaze/kernel/ |
H A D | module.c | 22 unsigned int symindex, unsigned int relsec, struct module *module) apply_relocate_add() 111 pr_err("module %s: Unknown relocation: %u\n", apply_relocate_add() 112 module->name, apply_relocate_add() 121 struct module *module) module_finalize() 21 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, unsigned int relsec, struct module *module) apply_relocate_add() argument 120 module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, struct module *module) module_finalize() argument
|
/linux-4.1.27/arch/um/drivers/ |
H A D | random.c | 10 #include <linux/module.h> 20 * core module and version information 27 /* Changed at init time, in the non-modular case, and at module load 28 * time, in the module case. Presumably, the module subsystem 29 * protects against a module being loaded twice at the same time. 120 * rng_init - initialize RNG module 155 * rng_cleanup - shutdown RNG module
|
/linux-4.1.27/drivers/acpi/acpica/ |
H A D | uttrack.c | 49 * element contains the caller's component, module name, function name, and 72 u32 component, const char *module, u32 line); 76 u32 component, const char *module, u32 line); 118 * module - Source file name of caller 128 u32 component, const char *module, u32 line) acpi_ut_allocate_and_track() 136 ACPI_WARNING((module, line, acpi_ut_allocate_and_track() 147 ACPI_WARNING((module, line, acpi_ut_allocate_and_track() 154 ACPI_MEM_MALLOC, component, module, acpi_ut_allocate_and_track() 179 * module - Source file name of caller 190 const char *module, u32 line) acpi_ut_allocate_zeroed_and_track() 198 ACPI_WARNING((module, line, acpi_ut_allocate_zeroed_and_track() 210 ACPI_ERROR((module, line, acpi_ut_allocate_zeroed_and_track() 216 ACPI_MEM_CALLOC, component, module, acpi_ut_allocate_zeroed_and_track() 241 * module - Source file name of caller 252 u32 component, const char *module, u32 line) acpi_ut_free_and_track() 260 ACPI_ERROR((module, line, "Attempt to delete a NULL address")); acpi_ut_free_and_track() 273 component, module, line); acpi_ut_free_and_track() 355 * module - Source file name of caller 368 u32 component, const char *module, u32 line) acpi_ut_track_allocation() 405 ACPI_STRNCPY(allocation->module, module, ACPI_MAX_MODULE_NAME); acpi_ut_track_allocation() 406 allocation->module[ACPI_MAX_MODULE_NAME - 1] = 0; acpi_ut_track_allocation() 445 * module - Source file name of caller 456 u32 component, const char *module, u32 line) acpi_ut_remove_allocation() 472 ACPI_ERROR((module, line, acpi_ut_remove_allocation() 566 * module - Module to dump info for. NULL means all. 574 void acpi_ut_dump_allocations(u32 component, const char *module) acpi_ut_dump_allocations() argument 597 ((module == NULL) acpi_ut_dump_allocations() 598 || (0 == ACPI_STRCMP(module, element->module)))) { acpi_ut_dump_allocations() 608 element->module, element->line); acpi_ut_dump_allocations() 617 element->module, element->line, acpi_ut_dump_allocations() 127 acpi_ut_allocate_and_track(acpi_size size, u32 component, const char *module, u32 line) acpi_ut_allocate_and_track() argument 188 acpi_ut_allocate_zeroed_and_track(acpi_size size, u32 component, const char *module, u32 line) acpi_ut_allocate_zeroed_and_track() argument 251 acpi_ut_free_and_track(void *allocation, u32 component, const char *module, u32 line) acpi_ut_free_and_track() argument 365 acpi_ut_track_allocation(struct acpi_debug_mem_block *allocation, acpi_size size, u8 alloc_type, u32 component, const char *module, u32 line) acpi_ut_track_allocation() argument 455 acpi_ut_remove_allocation(struct acpi_debug_mem_block *allocation, u32 component, const char *module, u32 line) acpi_ut_remove_allocation() argument
|
H A D | utxferror.c | 53 * This module is used for the in-kernel ACPICA as well as the ACPICA 56 #ifndef ACPI_NO_ERROR_MESSAGES /* Entire module */ 61 * PARAMETERS: module_name - Caller's module name (for error output) 67 * DESCRIPTION: Print "ACPI Error" message with module/line/version info 92 * PARAMETERS: module_name - Caller's module name (for error output) ACPI_EXPORT_SYMBOL() 99 * DESCRIPTION: Print "ACPI Exception" message with module/line/version info ACPI_EXPORT_SYMBOL() 127 * PARAMETERS: module_name - Caller's module name (for error output) ACPI_EXPORT_SYMBOL() 133 * DESCRIPTION: Print "ACPI Warning" message with module/line/version info ACPI_EXPORT_SYMBOL() 158 * PARAMETERS: module_name - Caller's module name (for error output) ACPI_EXPORT_SYMBOL() 165 * module/line/version info in order to keep the message simple. ACPI_EXPORT_SYMBOL() 192 * PARAMETERS: module_name - Caller's module name (for error output) ACPI_EXPORT_SYMBOL() 198 * DESCRIPTION: Print "ACPI Firmware Error" message with module/line/version ACPI_EXPORT_SYMBOL() 225 * PARAMETERS: module_name - Caller's module name (for error output) ACPI_EXPORT_SYMBOL() 231 * DESCRIPTION: Print "ACPI Firmware Warning" message with module/line/version ACPI_EXPORT_SYMBOL()
|
/linux-4.1.27/drivers/tty/serial/8250/ |
H A D | 8250_accent.c | 9 #include <linux/module.h> 44 MODULE_DESCRIPTION("8250 serial probe module for Accent Async cards");
|
H A D | 8250_hub6.c | 9 #include <linux/module.h> 55 MODULE_DESCRIPTION("8250 serial probe module for Hub6 cards");
|
H A D | 8250_boca.c | 9 #include <linux/module.h> 58 MODULE_DESCRIPTION("8250 serial probe module for Boca cards");
|
H A D | 8250_exar_st16c554.c | 12 #include <linux/module.h> 49 MODULE_DESCRIPTION("8250 serial probe module for Exar cards");
|
H A D | 8250_fourport.c | 9 #include <linux/module.h> 50 MODULE_DESCRIPTION("8250 serial probe module for AST Fourport cards");
|
/linux-4.1.27/drivers/usb/dwc2/ |
H A D | Makefile | 19 # mode. The PCI bus interface module will called dwc2_pci.ko and the platform 20 # interface module will be called dwc2_platform.ko.
|
/linux-4.1.27/fs/nfs/ |
H A D | nfs.h | 4 * Function and structures exported by the NFS module 15 struct module *owner; /* THIS_MODULE pointer */
|
H A D | nfs2super.c | 4 #include <linux/module.h>
|
H A D | nfs3super.c | 4 #include <linux/module.h>
|
/linux-4.1.27/include/uapi/linux/ |
H A D | isdn_divertif.h | 25 #define DIVERT_REG_ERR 0x03 /* module already registered */ 26 #define DIVERT_REL_ERR 0x04 /* module not registered */
|
H A D | tty.h | 19 #define N_MASC 8 /* Reserved for Mobitex module <kaz@cafe.net> */ 20 #define N_R3964 9 /* Reserved for Simatic R3964 module */
|
/linux-4.1.27/arch/mips/lantiq/falcon/ |
H A D | sysctrl.c | 87 do {} while (--err && ((sysctl_r32(clk->module, reg) sysctl_wait() 90 pr_err("module de/activation failed %d %08X %08X %08X\n", sysctl_wait() 91 clk->module, clk->bits, test, sysctl_wait() 92 sysctl_r32(clk->module, reg) & clk->bits); sysctl_wait() 97 sysctl_w32(clk->module, clk->bits, SYSCTL_CLKEN); sysctl_activate() 98 sysctl_w32(clk->module, clk->bits, SYSCTL_ACT); sysctl_activate() 105 sysctl_w32(clk->module, clk->bits, SYSCTL_CLKCLR); sysctl_deactivate() 106 sysctl_w32(clk->module, clk->bits, SYSCTL_DEACT); sysctl_deactivate() 112 sysctl_w32(clk->module, clk->bits, SYSCTL_CLKEN); sysctl_clken() 113 sysctl_w32(clk->module, clk->bits, SYSCTL_ACT); sysctl_clken() 120 sysctl_w32(clk->module, clk->bits, SYSCTL_CLKCLR); sysctl_clkdis() 129 act = sysctl_r32(clk->module, SYSCTL_ACT); sysctl_reboot() 132 sysctl_w32(clk->module, bits, SYSCTL_CLKEN); sysctl_reboot() 133 sysctl_w32(clk->module, bits, SYSCTL_ACT); sysctl_reboot() 136 sysctl_w32(clk->module, act & clk->bits, SYSCTL_RBT); sysctl_reboot() 167 static inline void clkdev_add_sys(const char *dev, unsigned int module, clkdev_add_sys() argument 175 clk->module = module; clkdev_add_sys()
|
/linux-4.1.27/net/dccp/ |
H A D | Makefile | 18 # build dccp_ipv6 as module whenever either IPv6 or DCCP is a module
|
/linux-4.1.27/lib/xz/ |
H A D | xz_dec_syms.c | 2 * XZ decoder module information 10 #include <linux/module.h>
|
/linux-4.1.27/sound/oss/ |
H A D | ad1848.h | 15 int dma_capture, int share_dma, int *osp, struct module *owner); 21 void attach_ms_sound(struct address_info * hw_config, struct resource *ports, struct module * owner);
|
/linux-4.1.27/sound/soc/intel/baytrail/ |
H A D | sst-baytrail-dsp.c | 20 #include <linux/module.h> 59 u32 mod_size; /* size of module */ 66 struct sst_byt_fw_module_header *module) sst_byt_parse_module() 74 template.id = module->type; sst_byt_parse_module() 75 template.entry = module->entry_point; sst_byt_parse_module() 81 block = (void *)module + sizeof(*module); sst_byt_parse_module() 83 for (count = 0; count < module->blocks; count++) { sst_byt_parse_module() 125 struct sst_byt_fw_module_header *module; sst_byt_parse_fw_image() local 145 module = (void *)sst_fw->dma_buf + sizeof(*header); sst_byt_parse_fw_image() 147 /* module */ sst_byt_parse_fw_image() 148 ret = sst_byt_parse_module(dsp, sst_fw, module); sst_byt_parse_fw_image() 150 dev_err(dsp->dev, "invalid module %d\n", count); sst_byt_parse_fw_image() 153 module = (void *)module + sizeof(*module) + module->mod_size; sst_byt_parse_fw_image() 65 sst_byt_parse_module(struct sst_dsp *dsp, struct sst_fw *fw, struct sst_byt_fw_module_header *module) sst_byt_parse_module() argument
|
/linux-4.1.27/kernel/ |
H A D | module.c | 62 #include <uapi/linux/module.h> 63 #include "module-internal.h" 66 #include <trace/events/module.h> 92 /* If this is set, the section belongs in the init part of the module */ 147 /* Block module loading/unloading? */ 151 /* Waiting for a module to finish initializing? */ 156 /* Bounds of module allocation, for speeding __module_address. 191 static inline int strong_try_module_get(struct module *mod) strong_try_module_get() 202 static inline void add_taint_module(struct module *mod, unsigned flag, add_taint_module() 210 * A thread that wants to hold a reference to a module only while it 213 void __module_put_and_exit(struct module *mod, long code) __module_put_and_exit() 220 /* Find a module section: 0 means not found. */ find_sec() 235 /* Find a module section, or NULL. */ section_addr() 242 /* Find a module section, or NULL. Fill in number of "objects" in section. */ section_objs() 282 struct module *owner, each_symbol_in_section() 284 struct module *owner, each_symbol_in_section() 300 struct module *owner, each_symbol_section() 304 struct module *mod; each_symbol_section() 367 struct module *owner; 373 struct module *owner, check_symbol() 382 pr_warn("Symbol %s is being used by a non-GPL module, " check_symbol() 390 pr_warn("Symbol %s is marked as UNUSED, however this module is " check_symbol() 415 struct module *owner, find_symbol_in_section() 431 * (optional) module which owns it. Needs preempt disabled or module_mutex. */ find_symbol() 433 struct module **owner, find_symbol() 457 /* Search for module by name: must hold module_mutex. */ find_module_all() 458 static struct module *find_module_all(const char *name, size_t len, find_module_all() 461 struct module *mod; find_module_all() 472 struct module *find_module(const char *name) find_module() 480 static inline void __percpu *mod_percpu(struct module *mod) mod_percpu() 485 static int percpu_modalloc(struct module *mod, struct load_info *info) percpu_modalloc() 509 static void percpu_modfree(struct module *mod) percpu_modfree() 519 static void percpu_modcopy(struct module *mod, percpu_modcopy() 529 * is_module_percpu_address - test whether address is from module static percpu 532 * Test whether @addr belongs to module static percpu area. 535 * %true if @addr is from module static percpu area 539 struct module *mod; is_module_percpu_address() 566 static inline void __percpu *mod_percpu(struct module *mod) mod_percpu() 570 static int percpu_modalloc(struct module *mod, struct load_info *info) percpu_modalloc() 577 static inline void percpu_modfree(struct module *mod) percpu_modfree() 584 static inline void percpu_modcopy(struct module *mod, percpu_modcopy() 598 static void setup_modinfo_##field(struct module *mod, const char *s) \ 607 static int modinfo_##field##_exists(struct module *mod) \ 611 static void free_modinfo_##field(struct module *mod) \ 636 /* Init the unload section of the module. */ module_unload_init() 637 static int module_unload_init(struct module *mod) module_unload_init() 641 * refcnt == 0 means module is going. module_unload_init() 655 static int already_uses(struct module *a, struct module *b) already_uses() 671 * - we add 'a' as a "source", 'b' as a "target" of module use 676 static int add_module_usage(struct module *a, struct module *b) add_module_usage() 695 int ref_module(struct module *a, struct module *b) ref_module() 702 /* If module isn't available, we fail. */ ref_module() 716 /* Clear the unload stuff of the module. */ module_unload_free() 717 static void module_unload_free(struct module *mod) module_unload_free() 723 struct module *i = use->target; module_unload_free() 748 /* Try to release refcount of module, 0 means success. */ try_release_module_ref() 749 static int try_release_module_ref(struct module *mod) try_release_module_ref() 763 static int try_stop_module(struct module *mod, int flags, int *forced) try_stop_module() 781 * @mod: the module we're checking 784 * -1 if the module is in the process of unloading 785 * otherwise the number of references in the kernel to the module 787 int module_refcount(struct module *mod) module_refcount() 794 static void free_module(struct module *mod); 799 struct module *mod; SYSCALL_DEFINE2() 827 /* FIXME: if (force), slam module count damn the torpedoes */ SYSCALL_DEFINE2() 837 /* This module can't be removed */ SYSCALL_DEFINE2() 843 /* Stop the machine so refcounts can't move and disable module. */ SYSCALL_DEFINE2() 856 /* Store the name of the last unloaded module for diagnostic purposes */ SYSCALL_DEFINE2() 866 static inline void print_unload_info(struct seq_file *m, struct module *mod) print_unload_info() 893 struct module *owner; __symbol_put() 906 struct module *modaddr; symbol_put_addr() 913 * Even though we hold a reference on the module; we still need to symbol_put_addr() 933 void __module_get(struct module *module) __module_get() argument 935 if (module) { __module_get() 937 atomic_inc(&module->refcnt); __module_get() 938 trace_module_get(module, _RET_IP_); __module_get() 944 bool try_module_get(struct module *module) try_module_get() argument 948 if (module) { try_module_get() 951 if (likely(module_is_live(module) && try_module_get() 952 atomic_inc_not_zero(&module->refcnt) != 0)) try_module_get() 953 trace_module_get(module, _RET_IP_); try_module_get() 963 void module_put(struct module *module) module_put() argument 967 if (module) { module_put() 969 ret = atomic_dec_if_positive(&module->refcnt); module_put() 971 trace_module_put(module, _RET_IP_); module_put() 978 static inline void print_unload_info(struct seq_file *m, struct module *mod) print_unload_info() 984 static inline void module_unload_free(struct module *mod) module_unload_free() 988 int ref_module(struct module *a, struct module *b) ref_module() 994 static inline int module_unload_init(struct module *mod) module_unload_init() 1000 static size_t module_flags_taint(struct module *mod, char *buf) module_flags_taint() 1107 static int try_to_force_load(struct module *mod, const char *reason) try_to_force_load() 1122 const struct module *crc_owner) maybe_relocated() 1134 struct module *mod, check_version() 1136 const struct module *crc_owner) check_version() 1141 /* Exporting module didn't supply crcs? OK, we're already tainted. */ check_version() 1159 pr_debug("Found checksum %lX vs module %lX\n", check_version() 1175 struct module *mod) check_modstruct_version() 1189 /* First part is kernel version, which we ignore if module has crcs. */ same_magic() 1203 struct module *mod, check_version() 1205 const struct module *crc_owner) check_version() 1212 struct module *mod) check_modstruct_version() 1224 /* Resolve a symbol for this module. I.e. if we find one, record usage. */ resolve_symbol() 1225 static const struct kernel_symbol *resolve_symbol(struct module *mod, resolve_symbol() 1230 struct module *owner; resolve_symbol() 1268 resolve_symbol_wait(struct module *mod, resolve_symbol_wait() 1279 pr_warn("%s: gave up waiting for init of module %s.\n", resolve_symbol_wait() 1286 * /sys/module/foo/sections stuff 1326 static void add_sect_attrs(struct module *mod, const struct load_info *info) add_sect_attrs() 1380 static void remove_sect_attrs(struct module *mod) remove_sect_attrs() 1393 * /sys/module/foo/notes/.section.name gives contents of SHT_NOTE sections. 1425 static void add_notes_attrs(struct module *mod, const struct load_info *info) add_notes_attrs() 1484 static void remove_notes_attrs(struct module *mod) remove_notes_attrs() 1492 static inline void add_sect_attrs(struct module *mod, add_sect_attrs() 1497 static inline void remove_sect_attrs(struct module *mod) remove_sect_attrs() 1501 static inline void add_notes_attrs(struct module *mod, add_notes_attrs() 1506 static inline void remove_notes_attrs(struct module *mod) remove_notes_attrs() 1511 static void add_usage_links(struct module *mod) add_usage_links() 1526 static void del_usage_links(struct module *mod) del_usage_links() 1538 static int module_add_modinfo_attrs(struct module *mod) module_add_modinfo_attrs() 1565 static void module_remove_modinfo_attrs(struct module *mod) module_remove_modinfo_attrs() 1581 static void mod_kobject_put(struct module *mod) mod_kobject_put() 1589 static int mod_sysfs_init(struct module *mod) mod_sysfs_init() 1595 pr_err("%s: module sysfs not initialized\n", mod->name); mod_sysfs_init() 1602 pr_err("%s: module is already loaded\n", mod->name); mod_sysfs_init() 1622 static int mod_sysfs_setup(struct module *mod, mod_sysfs_setup() 1664 static void mod_sysfs_fini(struct module *mod) mod_sysfs_fini() 1673 static int mod_sysfs_setup(struct module *mod, mod_sysfs_setup() 1681 static void mod_sysfs_fini(struct module *mod) mod_sysfs_fini() 1685 static void module_remove_modinfo_attrs(struct module *mod) module_remove_modinfo_attrs() 1689 static void del_usage_links(struct module *mod) del_usage_links() 1695 static void mod_sysfs_teardown(struct module *mod) mod_sysfs_teardown() 1707 * LKM RO/NX protection: protect module's text/ro-data 1729 * Set RO for module text and RO-data: set_section_ro_nx() 1737 * Set NX permissions for module data: set_section_ro_nx() 1749 static void unset_module_core_ro_nx(struct module *mod) unset_module_core_ro_nx() 1759 static void unset_module_init_ro_nx(struct module *mod) unset_module_init_ro_nx() 1769 /* Iterate through all modules and set each module's text as RW */ set_all_modules_text_rw() 1772 struct module *mod; set_all_modules_text_rw() 1792 /* Iterate through all modules and set each module's text as RO */ set_all_modules_text_ro() 1795 struct module *mod; set_all_modules_text_ro() 1816 static void unset_module_core_ro_nx(struct module *mod) { } unset_module_init_ro_nx() 1817 static void unset_module_init_ro_nx(struct module *mod) { } unset_module_init_ro_nx() 1825 void __weak module_arch_cleanup(struct module *mod) module_arch_cleanup() 1829 void __weak module_arch_freeing_init(struct module *mod) module_arch_freeing_init() 1833 /* Free a module, remove from lists, etc. */ free_module() 1834 static void free_module(struct module *mod) free_module() 1862 /* Remove this module from bug list, this uses list_del_rcu */ free_module() 1878 /* Finally, free the core (containing the module structure) */ free_module() 1889 struct module *owner; __symbol_get() 1904 * in the kernel or in some other module's exported symbol table. 1908 static int verify_export_symbols(struct module *mod) verify_export_symbols() 1911 struct module *owner; verify_export_symbols() 1940 static int simplify_symbols(struct module *mod, const struct load_info *info) simplify_symbols() 2003 static int apply_relocations(struct module *mod, const struct load_info *info) apply_relocations() 2033 unsigned int __weak arch_mod_section_prepend(struct module *mod, arch_mod_section_prepend() 2041 static long get_offset(struct module *mod, unsigned int *size, get_offset() 2056 static void layout_sections(struct module *mod, struct load_info *info) layout_sections() 2132 static void set_license(struct module *mod, const char *license) set_license() 2139 pr_warn("%s: module license '%s' taints kernel.\n", set_license() 2179 static void setup_modinfo(struct module *mod, struct load_info *info) setup_modinfo() 2190 static void free_modinfo(struct module *mod) free_modinfo() 2213 const struct module *mod) is_exported() 2292 static void layout_symtab(struct module *mod, struct load_info *info) layout_symtab() 2299 /* Put symbol section at end of init part of module. */ layout_symtab() 2323 /* Put string table section at end of init part of module. */ layout_symtab() 2342 static void add_kallsyms(struct module *mod, const struct load_info *info) add_kallsyms() 2379 static inline void layout_symtab(struct module *mod, struct load_info *info) layout_symtab() 2383 static void add_kallsyms(struct module *mod, const struct load_info *info) add_kallsyms() 2394 pr_err("dynamic debug error adding module: %s\n", dynamic_debug_setup() 2416 /* Update module bounds. */ module_alloc_update_bounds() 2427 static void kmemleak_load_module(const struct module *mod, kmemleak_load_module() 2433 kmemleak_scan_area(mod, sizeof(struct module), GFP_KERNEL); kmemleak_load_module() 2447 static inline void kmemleak_load_module(const struct module *mod, kmemleak_load_module() 2462 /* We truncate the module to discard the signature */ module_sig_check() 2651 * search for module section index etc), and do some basic section 2654 * Return the temporary module pointer (we'll replace it with the final 2655 * one when we move the module sections around). 2657 static struct module *setup_load_info(struct load_info *info, int flags) setup_load_info() 2661 struct module *mod; setup_load_info() 2685 pr_warn("No module found in object\n"); setup_load_info() 2692 pr_warn("%s: module has no symbols (stripped?)\n", mod->name); setup_load_info() 2698 /* Check module struct version now, before we try to use module. */ setup_load_info() 2705 static int check_modinfo(struct module *mod, struct load_info *info, int flags) check_modinfo() 2729 pr_warn("%s: module is from the staging directory, the quality " check_modinfo() 2739 static int find_module_sections(struct module *mod, struct load_info *info) find_module_sections() 2775 * building all parts of the module. find_module_sections() 2825 static int move_module(struct module *mod, struct load_info *info) move_module() 2833 * The pointer to this block is stored in the module structure move_module() 2847 * The pointer to this block is stored in the module structure move_module() 2850 * after the module is initialized. move_module() 2888 static int check_module_license_and_versions(struct module *mod) check_module_license_and_versions() 2924 static void flush_module_icache(const struct module *mod) flush_module_icache() 2934 * Do it before processing of module parameters, so the module flush_module_icache() 2950 struct module *mod) module_frob_arch_sections() 2955 static struct module *layout_and_allocate(struct load_info *info, int flags) layout_and_allocate() 2958 struct module *mod; layout_and_allocate() 2996 static void module_deallocate(struct module *mod, struct load_info *info) module_deallocate() 3006 struct module *me) module_finalize() 3011 static int post_relocation(struct module *mod, const struct load_info *info) post_relocation() 3023 /* Arch-specific module finalizing. */ post_relocation() 3027 /* Is this module of this name done loading? No locks held. */ finished_loading() 3030 struct module *mod; finished_loading() 3048 /* Call module constructors. */ do_mod_ctors() 3049 static void do_mod_ctors(struct module *mod) do_mod_ctors() 3078 static noinline int do_init_module(struct module *mod) do_init_module() 3097 /* Start the module */ do_init_module() 3106 "%s: loading module anyway...\n", do_init_module() 3117 * We need to finish all async code before the module init sequence do_init_module() 3125 * iff module init queued any async jobs. This isn't a full do_init_module() 3126 * solution as it will deadlock the same if module loading from do_init_module() 3189 static int add_unformed_module(struct module *mod) add_unformed_module() 3192 struct module *old; add_unformed_module() 3222 static int complete_formation(struct module *mod, struct load_info *info) complete_formation() 3271 /* Allocate and load the module: note that size of section 0 is always 3276 struct module *mod; load_module() 3288 /* Figure out module layout, and allocate all the memory. */ load_module() 3303 pr_notice_once("%s: module verification failed: signature " load_module() 3315 /* Now module is in final location, initialize linked lists, etc. */ load_module() 3398 /* we can't deallocate the module until we clear memory protection */ load_module() 3495 static const char *get_ksymbol(struct module *mod, get_ksymbol() 3504 /* At worse, next value is at end of module */ get_ksymbol() 3548 struct module *mod; module_address_lookup() 3573 struct module *mod; lookup_module_symbol_name() 3598 struct module *mod; lookup_module_symbol_attrs() 3626 struct module *mod; module_get_kallsym() 3650 static unsigned long mod_find_symname(struct module *mod, const char *name) mod_find_symname() 3662 /* Look for this name: can be of form module:name. */ module_kallsyms_lookup_name() 3665 struct module *mod; module_kallsyms_lookup_name() 3687 struct module *, unsigned long), module_kallsyms_on_each_symbol() 3690 struct module *mod; module_kallsyms_on_each_symbol() 3711 static char *module_flags(struct module *mod, char *buf) module_flags() 3721 /* Show a - for module-is-being-unloaded */ module_flags() 3724 /* Show a + for module-is-being-loaded */ module_flags() 3754 struct module *mod = list_entry(p, struct module, list); m_show() 3813 /* Given an address, look for it in the module exception tables. */ search_module_extables() 3817 struct module *mod; search_module_extables() 3835 we cannot unload the module, hence no refcnt needed. */ search_module_extables() 3840 * is_module_address - is this address inside a module? 3858 * __module_address - get the module which contains an address. 3861 * Must be called with preempt disabled or module mutex held so that 3862 * module doesn't get freed during this. 3864 struct module *__module_address(unsigned long addr) __module_address() 3866 struct module *mod; __module_address() 3882 * is_module_text_address - is this address inside module code? 3886 * anywhere in a module. See kernel_text_address() for testing if an 3887 * address corresponds to kernel or module code. 3901 * __module_text_address - get the module whose code contains an address. 3904 * Must be called with preempt disabled or module mutex held so that 3905 * module doesn't get freed during this. 3907 struct module *__module_text_address(unsigned long addr) __module_text_address() 3909 struct module *mod = __module_address(addr); __module_text_address() 3923 struct module *mod; print_modules() 3941 /* Generate the signature for all relevant module structures here. 3942 * If these change, we don't want to try to parse the module. */ module_layout() 3943 void module_layout(struct module *mod, module_layout()
|
/linux-4.1.27/arch/sh/lib/ |
H A D | ashldi3.c | 1 #include <linux/module.h>
|
H A D | ashrdi3.c | 1 #include <linux/module.h>
|
H A D | lshrdi3.c | 1 #include <linux/module.h>
|
/linux-4.1.27/arch/sparc/lib/ |
H A D | cmpdi2.c | 1 #include <linux/module.h>
|
H A D | iomap.c | 5 #include <linux/module.h>
|
H A D | ucmpdi2.c | 1 #include <linux/module.h>
|
/linux-4.1.27/drivers/usb/gadget/ |
H A D | configfs.h | 12 struct module *owner);
|
/linux-4.1.27/include/linux/rtc/ |
H A D | sirfsoc_rtciobrg.h | 3 * ARM access the registers of SYSRTC, GPSRTC and PWRC through this module
|
/linux-4.1.27/include/media/ |
H A D | v4l2-clk.h | 22 struct module; 38 struct module *owner; 56 struct module; 59 unsigned long rate, struct module *owner);
|
H A D | videobuf-dvb.h | 44 struct module *module,
|
H A D | videobuf2-dvb.h | 44 struct module *module,
|
/linux-4.1.27/include/uapi/linux/netfilter/ |
H A D | xt_LED.h | 11 /* Kernel data used in the module */
|
/linux-4.1.27/arch/mips/lib/ |
H A D | ashldi3.c | 1 #include <linux/module.h>
|
H A D | ashrdi3.c | 1 #include <linux/module.h>
|
H A D | cmpdi2.c | 1 #include <linux/module.h>
|
H A D | lshrdi3.c | 1 #include <linux/module.h>
|
/linux-4.1.27/arch/powerpc/kvm/ |
H A D | Makefile | 2 # Makefile for Kernel-based Virtual Machine module 63 kvm-book3s_64-module-objs := \ 90 kvm-book3s_64-module-objs += \ 100 kvm-objs-$(CONFIG_KVM_BOOK3S_64) := $(kvm-book3s_64-module-objs)
|
/linux-4.1.27/arch/cris/arch-v32/kernel/ |
H A D | crisksyms.c | 1 #include <linux/module.h>
|
/linux-4.1.27/arch/m68k/coldfire/ |
H A D | dma.c | 12 #include <linux/module.h>
|
/linux-4.1.27/arch/arm/mm/ |
H A D | extable.c | 4 #include <linux/module.h>
|
H A D | proc-syms.c | 10 #include <linux/module.h> 47 * No module should need to touch the TLB (and currently
|
/linux-4.1.27/arch/arm/mach-imx/ |
H A D | ssi-fiq-ksym.c | 11 #include <linux/module.h>
|
/linux-4.1.27/fs/ceph/ |
H A D | ceph_frag.c | 4 #include <linux/module.h>
|
/linux-4.1.27/net/netlink/ |
H A D | af_netlink.h | 46 struct module *module; member in struct:netlink_sock 79 struct module *module; member in struct:netlink_table
|
/linux-4.1.27/sound/aoa/core/ |
H A D | alsa.h | 13 extern int aoa_alsa_init(char *name, struct module *mod, struct device *dev);
|
/linux-4.1.27/tools/lib/lockdep/uinclude/linux/ |
H A D | kallsyms.h | 9 struct module;
|
/linux-4.1.27/drivers/xen/ |
H A D | features.c | 10 #include <linux/module.h>
|
/linux-4.1.27/arch/nios2/kernel/ |
H A D | module.c | 2 * Kernel module support for Nios II. 46 struct module *mod) apply_relocate_add() 81 pr_err("module %s: relocation overflow\n", apply_relocate_add() 91 pr_err("module %s: dangerous relocation\n", apply_relocate_add() 96 pr_err("module %s: relocation overflow\n", apply_relocate_add() 124 pr_err("module %s: Unknown reloc: %u\n", apply_relocate_add() 134 struct module *me) module_finalize()
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_encoder_slave.c | 27 #include <linux/module.h> 41 * Create an I2C device on the specified bus (the module containing its 57 struct module *module = NULL; drm_i2c_encoder_init() local 75 module = client->dev.driver->owner; drm_i2c_encoder_init() 76 if (!try_module_get(module)) { drm_i2c_encoder_init() 97 module_put(module); drm_i2c_encoder_init() 114 struct module *module = client->dev.driver->owner; drm_i2c_encoder_destroy() local 119 module_put(module); drm_i2c_encoder_destroy()
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | cti.h | 99 * cti_enable - enable the cti module 102 * enable the cti module 110 * cti_disable - disable the cti module 113 * enable the cti module 137 * cti_unlock - unlock cti module 140 * unlock the cti module, or else any writes to the cti 141 * module is not allowed. 149 * cti_lock - lock cti module 152 * lock the cti module, so any writes to the cti 153 * module will be not allowed.
|
/linux-4.1.27/drivers/isdn/hardware/eicon/ |
H A D | capimain.c | 3 * ISDN interface module for Eicon active cards DIVA. 13 #include <linux/module.h> 119 * module init 145 * module exit 150 printk(KERN_INFO "%s: module unloaded.\n", DRIVERLNAME); divacapi_exit()
|
H A D | os_capi.h | 3 * ISDN interface module for Eicon active cards DIVA.
|
/linux-4.1.27/drivers/mtd/chips/ |
H A D | chipreg.c | 7 #include <linux/module.h> 46 if (ret && !try_module_get(ret->module)) get_mtd_chip_driver() 73 probe-only module, which is no longer required from this do_map_probe() 77 module_put(drv->module); do_map_probe() 92 module_put(map->fldrv->module); map_destroy()
|
/linux-4.1.27/drivers/pnp/pnpbios/ |
H A D | bioscalls.c | 6 #include <linux/module.h> 153 void pnpbios_print_status(const char *module, u16 status) pnpbios_print_status() argument 157 printk(KERN_ERR "PnPBIOS: %s: function successful\n", module); pnpbios_print_status() 161 module); pnpbios_print_status() 165 module); pnpbios_print_status() 170 module); pnpbios_print_status() 173 printk(KERN_ERR "PnPBIOS: %s: invalid handle\n", module); pnpbios_print_status() 177 module); pnpbios_print_status() 181 module); pnpbios_print_status() 184 printk(KERN_ERR "PnPBIOS: %s: no events are pending\n", module); pnpbios_print_status() 188 module); pnpbios_print_status() 193 module); pnpbios_print_status() 198 module); pnpbios_print_status() 203 module); pnpbios_print_status() 208 module); pnpbios_print_status() 212 module); pnpbios_print_status() 215 printk(KERN_ERR "PnPBIOS: %s: use ESCD instead\n", module); pnpbios_print_status() 219 module); pnpbios_print_status() 223 module); pnpbios_print_status() 226 printk(KERN_ERR "PnPBIOS: %s: unexpected status 0x%x\n", module, pnpbios_print_status()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | module.h | 14 #include <asm-generic/module.h> 23 * trampolines attached to the module (the Procedure Linkage Table) 36 unsigned int stubs_section; /* Index of stubs section in module */ 45 /* Indices of PLT sections within module. */ 82 int module_trampoline_target(struct module *mod, u32 *trampoline,
|
/linux-4.1.27/sound/soc/intel/haswell/ |
H A D | sst-haswell-dsp.c | 24 #include <linux/module.h> 77 unsigned char signature[SST_HSW_FW_SIGNATURE_SIZE]; /* module signature */ 78 __le32 mod_size; /* size of module */ 89 struct fw_module_header *module) hsw_parse_module() 97 /* TODO: allowed module types need to be configurable */ hsw_parse_module() 98 if (module->type != SST_HSW_MODULE_BASE_FW hsw_parse_module() 99 && module->type != SST_HSW_MODULE_PCM_SYSTEM hsw_parse_module() 100 && module->type != SST_HSW_MODULE_PCM hsw_parse_module() 101 && module->type != SST_HSW_MODULE_PCM_REFERENCE hsw_parse_module() 102 && module->type != SST_HSW_MODULE_PCM_CAPTURE hsw_parse_module() 103 && module->type != SST_HSW_MODULE_WAVES hsw_parse_module() 104 && module->type != SST_HSW_MODULE_LPAL) hsw_parse_module() 107 dev_dbg(dsp->dev, "new module sign 0x%s size 0x%x blocks 0x%x type 0x%x\n", hsw_parse_module() 108 module->signature, module->mod_size, hsw_parse_module() 109 module->blocks, module->type); hsw_parse_module() 110 dev_dbg(dsp->dev, " entrypoint 0x%x\n", module->entry_point); hsw_parse_module() 112 module->info.persistent_size, module->info.scratch_size); hsw_parse_module() 115 template.id = module->type; hsw_parse_module() 116 template.entry = module->entry_point - 4; hsw_parse_module() 117 template.persistent_size = module->info.persistent_size; hsw_parse_module() 118 template.scratch_size = module->info.scratch_size; hsw_parse_module() 124 block = (void *)module + sizeof(*module); hsw_parse_module() 126 for (count = 0; count < module->blocks; count++) { hsw_parse_module() 159 dev_dbg(dsp->dev, "module block %d type 0x%x " hsw_parse_module() 166 dev_err(dsp->dev, "error: could not allocate blocks for module %d\n", hsw_parse_module() 182 struct fw_module_header *module; hsw_parse_fw_image() local 200 /* parse each module */ hsw_parse_fw_image() 201 module = (void *)sst_fw->dma_buf + sizeof(*header); hsw_parse_fw_image() 204 /* module */ hsw_parse_fw_image() 205 ret = hsw_parse_module(dsp, sst_fw, module); hsw_parse_fw_image() 207 dev_err(dsp->dev, "error: invalid module %d\n", count); hsw_parse_fw_image() 210 module = (void *)module + sizeof(*module) + module->mod_size; hsw_parse_fw_image() 88 hsw_parse_module(struct sst_dsp *dsp, struct sst_fw *fw, struct fw_module_header *module) hsw_parse_module() argument
|
/linux-4.1.27/drivers/net/fddi/skfp/h/ |
H A D | hwmtm.h | 202 * function MACRO (hardware module, hwmtm.h) 203 * This macro may be invoked by the OS-specific module to read 216 * function MACRO (hardware module, hwmtm.h) 217 * This macro may be invoked by the OS-specific module to read 232 * function MACRO (hardware module, hwmtm.h) 233 * This macro may be invoked by the OS-specific module to get the 249 * function MACRO (hardware module, hwmtm.h) 250 * This macro may be invoked by the OS-specific module to get the 268 * function MACRO (hardware module, hwmtm.h) 269 * This macro may be invoked by the OS-specific module to read 285 * function MACRO (hardware module, hwmtm.h) 286 * This macro may be invoked by the OS-specific module to read 301 * function MACRO (hardware module, hwmtm.h) 302 * This macro may be invoked by the OS-specific module to get 318 * function MACRO (hardware module, hwmtm.h) 319 * This macro may be invoked by the OS-specific module to get 332 * function MACRO (hardware module, hwmtm.h) 333 * This macro may be invoked by the OS-specific module to get the 348 * function MACRO (hardware module, hwmtm.h)
|
/linux-4.1.27/arch/mips/lantiq/xway/ |
H A D | sysctrl.c | 89 void ltq_pmu_enable(unsigned int module) ltq_pmu_enable() argument 93 pmu_w32(pmu_r32(PMU_PWDCR) & ~module, PMU_PWDCR); ltq_pmu_enable() 94 do {} while (--err && (pmu_r32(PMU_PWDSR) & module)); ltq_pmu_enable() 97 panic("activating PMU module failed!"); ltq_pmu_enable() 102 void ltq_pmu_disable(unsigned int module) ltq_pmu_disable() argument 104 pmu_w32(pmu_r32(PMU_PWDCR) | module, PMU_PWDCR); ltq_pmu_disable() 126 pmu_w32(pmu_r32(PWDCR(clk->module)) & ~clk->bits, pmu_enable() 127 PWDCR(clk->module)); pmu_enable() 128 do {} while (--retry && (pmu_r32(PWDSR(clk->module)) & clk->bits)); pmu_enable() 131 panic("activating PMU module failed!"); pmu_enable() 139 pmu_w32(pmu_r32(PWDCR(clk->module)) | clk->bits, pmu_disable() 140 PWDCR(clk->module)); pmu_disable() 190 int shift = 14 - (2 * clk->module); clkout_enable() 191 int enable = 7 - clk->module; clkout_enable() 206 unsigned int module, unsigned int bits) clkdev_add_pmu() 215 clk->module = module; clkdev_add_pmu() 251 clk->module = 0; clkdev_add_pci() 290 clk->module = i; clkdev_add_clkout() 205 clkdev_add_pmu(const char *dev, const char *con, unsigned int module, unsigned int bits) clkdev_add_pmu() argument
|
/linux-4.1.27/drivers/net/irda/ |
H A D | sir_dongle.c | 14 #include <linux/module.h> 90 /* handling of SMP races with dongle module removal - three cases: sirdev_get_dongle() 93 * 2) the module is already marked deleted but the driver is still sirdev_get_dongle() 95 * 3) the try_module_get() below succeeds before the module is marked sirdev_get_dongle() 97 * because the module is in use. sirdev_get_dongle() 129 module_put(drv->owner);/* decrement driver's module refcount */ sirdev_put_dongle()
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
H A D | unioxx5.c | 35 During attaching unioxx5 module displays modules identifiers 41 #include <linux/module.h> 172 /* defining if given module can work on input */ __unioxx5_analog_read() 175 "module in position %d with id 0x%02x is for output only", __unioxx5_analog_read() 181 /* sends module number to card(1 .. 12) */ __unioxx5_analog_read() 183 outb('V', usp->usp_iobase + 6); /* sends to module (V)erify command */ __unioxx5_analog_read() 240 int module, i; __unioxx5_analog_write() local 242 module = channel / 2; /* definig module number(0 .. 11) */ __unioxx5_analog_write() 245 /* defining if given module can work on output */ __unioxx5_analog_write() 246 if (!(usp->usp_module_type[module] & MODULE_OUTPUT_MASK)) { __unioxx5_analog_write() 248 "module in position %d with id 0x%0x is for input only!\n", __unioxx5_analog_write() 249 module, usp->usp_module_type[module]); __unioxx5_analog_write() 255 usp->usp_extra_data[module][i++] = (unsigned char)(*data & 0x00FF); __unioxx5_analog_write() 257 usp->usp_extra_data[module][i] = (unsigned char)((*data & 0xFF00) >> 8); __unioxx5_analog_write() 260 /* sending module number to card(1 .. 12) */ __unioxx5_analog_write() 261 outb(module + 1, usp->usp_iobase + 5); __unioxx5_analog_write() 262 outb('W', usp->usp_iobase + 6); /* sends (W)rite command to module */ __unioxx5_analog_write() 264 /* sending for bytes to module(one byte per cycle iteration) */ __unioxx5_analog_write() 268 outb(usp->usp_extra_data[module][i], usp->usp_iobase + 6); __unioxx5_analog_write() 282 /* defining module type(analog or digital) */ unioxx5_subdev_read() 304 /* defining module type(analog or digital) */ unioxx5_subdev_write() 498 .module = THIS_MODULE,
|
/linux-4.1.27/include/net/9p/ |
H A D | transport.h | 33 * struct p9_trans_module - transport module interface 45 * This is the basic API for a transport module which is registered by the 46 * transport module with the 9P core network module and used by the client 49 * The transport module list is protected by v9fs_trans_lock. 57 struct module *owner;
|
/linux-4.1.27/arch/m68k/kernel/ |
H A D | module.c | 26 struct module *me) apply_relocate() 54 printk(KERN_ERR "module %s: Unknown relocation: %u\n", apply_relocate() 66 struct module *me) apply_relocate_add() 94 printk(KERN_ERR "module %s: Unknown relocation: %u\n", apply_relocate_add() 104 struct module *mod) module_finalize() 112 void module_fixup(struct module *mod, struct m68k_fixup_info *start, module_fixup()
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
H A D | netcp_core.c | 23 #include <linux/module.h> 68 #define for_each_netcp_module(module) \ 69 list_for_each_entry(module, &netcp_modules, module_list) 215 struct netcp_module *module) netcp_module_probe() 226 /* Find this module in the sub-tree for this device */ netcp_module_probe() 236 if (!strcasecmp(module->name, name)) for_each_available_child_of_node() 241 /* If module not used for this device, skip it */ 243 dev_warn(dev, "module(%s) not used for device\n", module->name); 254 inst_modpriv->netcp_module = module; 257 ret = module->probe(netcp_device, dev, child, 261 dev_err(dev, "Probe of module(%s) failed with %d\n", 262 module->name, ret); 268 /* Attach modules only if the primary module is probed */ for_each_netcp_module() 277 /* Attach module to interfaces */ 295 module->name, 0); 298 intf_modpriv->netcp_module = module; 302 ret = module->attach(inst_modpriv->module_priv, 307 dev_dbg(dev, "Attach of module %s declined with %d\n", 308 module->name, ret); 317 int netcp_register_module(struct netcp_module *module) netcp_register_module() argument 323 if (!module->name) { netcp_register_module() 324 WARN(1, "error registering netcp module: no name\n"); netcp_register_module() 328 if (!module->probe) { netcp_register_module() 329 WARN(1, "error registering netcp module: no probe\n"); netcp_register_module() 336 if (!strcasecmp(tmp->name, module->name)) { for_each_netcp_module() 341 list_add_tail(&module->module_list, &netcp_modules); 344 ret = netcp_module_probe(netcp_device, module); 354 netcp_unregister_module(module); 360 struct netcp_module *module) netcp_release_module() 366 /* Release the module from each interface */ netcp_release_module() 375 if (intf_modpriv->netcp_module == module) { netcp_release_module() 376 module->release(intf_modpriv->module_priv); netcp_release_module() 384 /* Remove the module from each instance */ netcp_release_module() 387 if (inst_modpriv->netcp_module == module) { netcp_release_module() 388 module->remove(netcp_device, netcp_release_module() 397 void netcp_unregister_module(struct netcp_module *module) netcp_unregister_module() argument 405 netcp_release_module(netcp_device, module); netcp_unregister_module() 408 /* Remove the module from the module list */ for_each_netcp_module() 410 if (module == module_tmp) { for_each_netcp_module() 411 list_del(&module->module_list); for_each_netcp_module() 420 void *netcp_module_get_intf_data(struct netcp_module *module, netcp_module_get_intf_data() argument 426 if (intf_modpriv->netcp_module == module) netcp_module_get_intf_data() 1370 struct netcp_module *module; netcp_addr_sweep_del() local 1380 module = priv->netcp_module; for_each_module() 1381 if (!module->del_addr) for_each_module() 1383 error = module->del_addr(priv->module_priv, for_each_module() 1396 struct netcp_module *module; netcp_addr_sweep_add() local 1406 module = priv->netcp_module; for_each_module() 1407 if (!module->add_addr) for_each_module() 1409 error = module->add_addr(priv->module_priv, naddr); for_each_module() 1598 struct netcp_module *module; netcp_ndo_open() local 1610 module = intf_modpriv->netcp_module; for_each_module() 1611 if (module->open) { for_each_module() 1612 ret = module->open(intf_modpriv->module_priv, ndev); for_each_module() 1614 dev_err(netcp->ndev_dev, "module open failed\n"); for_each_module() 1632 module = intf_modpriv->netcp_module; for_each_module() 1633 if (module->close) for_each_module() 1634 module->close(intf_modpriv->module_priv, ndev); for_each_module() 1648 struct netcp_module *module; netcp_ndo_stop() local 1662 module = intf_modpriv->netcp_module; for_each_module() 1663 if (module->close) { for_each_module() 1664 err = module->close(intf_modpriv->module_priv, ndev); for_each_module() 1691 struct netcp_module *module; netcp_ndo_ioctl() local 1699 module = intf_modpriv->netcp_module; for_each_module() 1700 if (!module->ioctl) for_each_module() 1703 err = module->ioctl(intf_modpriv->module_priv, req, cmd); for_each_module() 1747 struct netcp_module *module; netcp_rx_add_vid() local 1754 module = intf_modpriv->netcp_module; for_each_module() 1755 if ((module->add_vid) && (vid != 0)) { for_each_module() 1756 err = module->add_vid(intf_modpriv->module_priv, vid); for_each_module() 1772 struct netcp_module *module; netcp_rx_kill_vid() local 1779 module = intf_modpriv->netcp_module; for_each_module() 1780 if (module->del_vid) { for_each_module() 1781 err = module->del_vid(intf_modpriv->module_priv, vid); for_each_module() 2008 struct netcp_module *module; netcp_delete_interface() local 2016 module = intf_modpriv->netcp_module; netcp_delete_interface() 2017 dev_dbg(netcp_device->device, "Releasing module \"%s\"\n", netcp_delete_interface() 2018 module->name); netcp_delete_interface() 2019 if (module->release) netcp_delete_interface() 2020 module->release(intf_modpriv->module_priv); netcp_delete_interface() 2024 WARN(!list_empty(&netcp->module_head), "%s interface module list is not empty!\n", netcp_delete_interface() 2042 struct netcp_module *module; netcp_probe() local 2091 for_each_netcp_module(module) { for_each_netcp_module() 2092 ret = netcp_module_probe(netcp_device, module); for_each_netcp_module() 2094 dev_err(dev, "module(%s) probe failed\n", module->name); for_each_netcp_module() 2117 struct netcp_module *module; netcp_remove() local 2121 module = inst_modpriv->netcp_module; netcp_remove() 2122 dev_dbg(&pdev->dev, "Removing module \"%s\"\n", module->name); netcp_remove() 2123 module->remove(netcp_device, inst_modpriv->module_priv); netcp_remove() 214 netcp_module_probe(struct netcp_device *netcp_device, struct netcp_module *module) netcp_module_probe() argument 359 netcp_release_module(struct netcp_device *netcp_device, struct netcp_module *module) netcp_release_module() argument
|
/linux-4.1.27/sound/soc/intel/atom/sst/ |
H A D | sst_loader.c | 116 struct fw_module_header **module, u32 *num_modules) sst_validate_fw_image() 138 *module = (void *)sst_fw_in_mem + sizeof(*header); sst_validate_fw_image() 175 * @module : FW module header 178 * returns error or 0 if module sizes are proper 181 struct fw_module_header *module, struct list_head *memcpy_list) sst_parse_module_memcpy() 188 dev_dbg(sst_drv_ctx->dev, "module sign %s size %x blocks %x type %x\n", sst_parse_module_memcpy() 189 module->signature, module->mod_size, sst_parse_module_memcpy() 190 module->blocks, module->type); sst_parse_module_memcpy() 191 dev_dbg(sst_drv_ctx->dev, "module entrypoint 0x%x\n", module->entry_point); sst_parse_module_memcpy() 193 block = (void *)module + sizeof(*module); sst_parse_module_memcpy() 195 for (count = 0; count < module->blocks; count++) { sst_parse_module_memcpy() 242 struct fw_module_header *module; sst_parse_fw_memcpy() local 246 ret_val = sst_validate_fw_image(ctx, size, &module, &num_modules); sst_parse_fw_memcpy() 251 ret_val = sst_parse_module_memcpy(ctx, module, fw_list); sst_parse_fw_memcpy() 254 module = (void *)module + sizeof(*module) + module->mod_size; sst_parse_fw_memcpy() 115 sst_validate_fw_image(struct intel_sst_drv *ctx, unsigned long size, struct fw_module_header **module, u32 *num_modules) sst_validate_fw_image() argument 180 sst_parse_module_memcpy(struct intel_sst_drv *sst_drv_ctx, struct fw_module_header *module, struct list_head *memcpy_list) sst_parse_module_memcpy() argument
|
/linux-4.1.27/drivers/scsi/ |
H A D | scsi_module.c | 12 #include <linux/module.h> 31 sht->module = THIS_MODULE; init_this_scsi_driver()
|
/linux-4.1.27/drivers/sh/superhyway/ |
H A D | superhyway.c | 15 #include <linux/module.h> 37 * superhyway_add_device - Add a SuperHyway module 38 * @base: Physical address where module is mapped. 40 * @bus: Bus where SuperHyway module resides. 42 * This is responsible for adding a new SuperHyway module. This sets up a new 43 * struct superhyway_device for the module being added if @sdev == NULL. 47 * they are added. Any manual addition of a module will thus get the ID after 187 * the exit path of any module drivers.
|
/linux-4.1.27/arch/x86/include/asm/crypto/ |
H A D | twofish.h | 19 /* regular block cipher functions from twofish_x86_64 module */ 31 /* helpers from twofish_x86_64-3way module */
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-elecom.c | 5 * (This module is based on "hid-ortek".) 19 #include <linux/module.h>
|
/linux-4.1.27/include/target/ |
H A D | target_core_configfs.h | 43 /* Pointer to fabric's struct module */ 44 struct module *tf_module;
|
/linux-4.1.27/arch/mips/include/asm/sn/ |
H A D | types.h | 19 typedef signed short moduleid_t; /* user-visible module number type */ 20 typedef signed short cmoduleid_t; /* kernel compact module id type */
|
/linux-4.1.27/sound/soc/spear/ |
H A D | spear_pcm.c | 14 #include <linux/module.h> 54 MODULE_DESCRIPTION("SPEAr PCM DMA module");
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | trace.c | 5 #include <linux/module.h>
|
/linux-4.1.27/drivers/clk/versatile/ |
H A D | clk-versatile.c | 24 /* Base offset for the core module */ 68 /* Remap the core module base if not done yet */ cm_osc_setup() 73 pr_err("no parent on core module clock\n"); cm_osc_setup() 78 pr_err("could not remap core module base\n"); cm_osc_setup()
|
/linux-4.1.27/drivers/edac/ |
H A D | edac_module.c | 46 /* scope is to module level only */ 96 * module initialization entry point 108 * module initialization. We should also do an initial clear edac_init() 137 * module exit/termination function
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | mbus.h | 31 /* HW Mbus module bugs we have to deal with */ 42 /* First the module type values. To find out which you have, just load 68 #define FMI_AURORA 0x4 /* MB8690x, a Swift module... */ 69 #define FMI_TURBO 0x5 /* MB86907, a TurboSparc module... */
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | sparc_ksyms_32.c | 8 #include <linux/module.h>
|
/linux-4.1.27/arch/unicore32/mm/ |
H A D | extable.c | 12 #include <linux/module.h>
|