| /linux/scripts/ |
| H A D | Makefile.modinst | 19 install-$(CONFIG_MODULES) += $(addprefix $(MODLIB)/, build modules.order) 27 $(MODLIB)/modules.order: modules.order FORCE 34 install-y += $(addprefix $(MODLIB)/, modules.builtin modules.builtin.modinfo) 36 install-$(CONFIG_BUILTIN_MODULE_RANGES) += $(MODLIB)/modules.builtin.ranges 38 $(addprefix $(MODLIB)/, modules.builtin modules.builtin.modinfo modules.builtin.ranges): $(MODLIB)/… 43 modules := $(call read-file, modules.order) 62 modules := $(patsubst %.o, $(dst)/%.ko$(suffix-y), $(modules)) 63 install-$(CONFIG_MODULES) += $(modules)
|
| H A D | Makefile.vmlinux | 120 targets += modules.builtin.modinfo 121 modules.builtin.modinfo: vmlinux.unstripped FORCE 127 __default: modules.builtin 137 targets += modules.builtin 138 modules.builtin: modules.builtin.modinfo FORCE 144 __default: modules.builtin.ranges 149 targets += modules.builtin.ranges 150 modules.builtin.ranges: $(srctree)/scripts/generate_builtin_ranges.awk \ 151 modules.builtin vmlinux.map vmlinux.o.map FORCE
|
| H A D | Makefile.modfinal | 14 modules := $(call read-file, modules.order) 16 __modfinal: $(modules:%.o=%.ko) 66 targets += $(modules:%.o=%.ko) $(modules:%.o=%.mod.o) .module-common.o
|
| H A D | Makefile.build | 69 obj-m := $(patsubst %/,%/modules.order, $(filter %/, $(obj-y)) $(obj-m)) 139 subdir-modorder := $(sort $(filter %/modules.order, $(obj-m))) 151 targets-for-modules := $(foreach x, o mod, \ 155 targets-for-modules += $(obj)/modules.order 158 targets += $(targets-for-builtin) $(targets-for-modules) 282 …2, $(modname-multi)),$(warning $(kbuild-file): $*.o is added to multiple modules: $(modname-multi)… 459 $(subdir-modorder): $(obj)/%/modules.order: $(obj)/% ; 482 $(obj)/modules.order: $(obj-m) FORCE 538 $(if $(KBUILD_MODULES), $(targets-for-modules)) \ 558 need-modorder=$(if $(filter $@/modules.order, $(subdir-modorder)),1) \
|
| H A D | Makefile.modpost | 51 $(if $(KBUILD_NSDEPS),-d modules.nsdeps) \ 66 modpost-args += -T modules.order 67 modpost-deps += modules.order 106 output-symdump := modules-only.symvers
|
| /linux/kernel/module/ |
| H A D | Kconfig | 4 modules 7 Kernel modules are small pieces of compiled code which can 11 many parts of the kernel can be built as modules (by 18 modules_install" to put the modules under /lib/modules/ 34 modules. You don't need these options on production systems. 44 For example, size of all modules, average size, text size, a list 45 of failed modules and the size for each of those. For failed 46 modules we keep track of modules which failed due to either the 52 with loading modules when it shouldn't or if you want to help 54 You might want to do this because failed modules tend to use [all …]
|
| /linux/Documentation/admin-guide/ |
| H A D | module-signing.rst | 10 .. - Manually signing modules. 11 .. - Signed modules and stripping. 12 .. - Loading signed modules. 13 .. - Non-valid signatures and unsigned modules. 21 The kernel module signing facility cryptographically signs modules during 23 allows increased kernel security by disallowing the loading of unsigned modules 24 or modules signed with an invalid key. Module signing increases security by 49 (1) :menuselection:`Require modules to be validly signed` 55 If this is off (ie. "permissive"), then modules for which the key is not 56 available and modules that are unsigned are permitted, but the kernel will [all …]
|
| /linux/scripts/package/ |
| H A D | kernel.spec | 40 Summary: Development package for building kernel modules to match the %{version} kernel 44 This package provides kernel headers and makefiles sufficient to build modules 75 find %{buildroot}/lib/modules/%{KERNELRELEASE} -name "*.ko" -type f \\\ 87 mkdir -p %{buildroot}/lib/modules/%{KERNELRELEASE} 88 cp $(%{make} %{makeflags} -s image_name) %{buildroot}/lib/modules/%{KERNELRELEASE}/vmlinuz 92 cp System.map %{buildroot}/lib/modules/%{KERNELRELEASE} 93 cp .config %{buildroot}/lib/modules/%{KERNELRELEASE}/config 95 %{make} %{makeflags} INSTALL_DTBS_PATH=%{buildroot}/lib/modules/%{KERNELRELEASE}/dtb dtbs_install 97 ln -fns /usr/src/kernels/%{KERNELRELEASE} %{buildroot}/lib/modules/%{KERNELRELEASE}/build 123 find %{buildroot}/lib/modules/%{KERNELRELEASE} -name "*.ko" -type f \ [all …]
|
| H A D | builddeb | 123 done < modules.order 129 mkdir -p ${pdir}/usr/lib/debug/lib/modules/${KERNELRELEASE}/ 130 cp vmlinux ${pdir}/usr/lib/debug/lib/modules/${KERNELRELEASE}/ 133 ln -s ../lib/modules/${KERNELRELEASE}/vmlinux ${pdir}/usr/lib/debug/boot/vmlinux-${KERNELRELEASE} 135 ln -s lib/modules/${KERNELRELEASE}/vmlinux ${pdir}/usr/lib/debug/vmlinux-${KERNELRELEASE} 144 mkdir -p $pdir/lib/modules/$version/ 145 ln -s /usr/src/linux-headers-$version $pdir/lib/modules/$version/build
|
| /linux/Documentation/kbuild/ |
| H A D | kbuild.rst | 9 modules.order 11 This file records the order in which modules appear in Makefiles. This 13 multiple modules. 15 modules.builtin 17 This file lists all modules that are built into the kernel. This is used 20 modules.builtin.modinfo 22 This file contains modinfo from all modules that are built into the kernel. 25 modules.builtin.ranges 27 This file contains address offset ranges (per ELF section) for all modules 42 Additional options to the assembler (for built-in and modules). [all …]
|
| /linux/tools/testing/selftests/livepatch/ |
| H A D | README | 7 The test suite loads and unloads several test kernel modules to verify 26 The command above will compile all test modules and test programs, making them 32 Test kernel modules are built before running the livepatch selftests. The 33 modules are located under test_modules directory, and are built as out-of-tree 34 modules. This is specially useful since the same sources can be built and 36 compatible. The modules will be loaded by the test scripts using insmod.
|
| /linux/Documentation/translations/zh_CN/kbuild/ |
| H A D | kbuild.rst | 16 modules.order 21 modules.builtin 26 modules.builtin.modinfo 31 modules.builtin.ranges 231 $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE) 288 用于依赖其他模块符号的模块。详见 modules.rst。
|
| /linux/ |
| H A D | .gitignore | 59 modules.order 65 /modules-only.symvers 75 /modules.builtin 76 /modules.builtin.modinfo 77 /modules.builtin.ranges 78 /modules.nsdeps
|
| /linux/tools/testing/crypto/chacha20-s390/ |
| H A D | Makefile | 10 make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) modules 12 make -C /lib/modules/$(shell uname -r)/build/ M=$(PWD) clean
|
| /linux/samples/ |
| H A D | Kconfig | 14 tristate "Build trace_events examples -- loadable modules only" 20 tristate "Build custom trace event example -- loadable modules only" 67 different kobject sample modules showing how to use kobjects, 73 tristate "Build kprobes examples -- loadable modules only" 76 This build several kprobes example modules. 79 tristate "Build kretprobes example -- loadable modules only" 87 This builds kernel hardware breakpoint example modules. 90 tristate "Build fprobe examples -- loadable modules only" 97 tristate "Build kfifo examples -- loadable modules only" 101 different kfifo sample modules showing how to use the [all …]
|
| /linux/Documentation/i2c/busses/ |
| H A D | i2c-taos-evm.rst | 7 This is a driver for the evaluation modules for TAOS I2C/SMBus chips. 8 The modules include an SMBus master with limited capabilities, which can 9 be controlled over the serial port. Virtually all evaluation modules 38 modules: 48 practice, as these modules are meant for evaluation and testing only.
|
| /linux/tools/power/cpupower/debug/kernel/ |
| H A D | Makefile | 4 KDIR := /lib/modules/$(shell uname -r)/build 5 KMISC := /lib/modules/$(shell uname -r)/cpufrequtils/ 16 - rm -rf Module.symvers modules.order
|
| /linux/Documentation/security/ |
| H A D | lsm.rst | 33 framework could then be used by loadable kernel modules to implement any 50 security modules. In particular, the LSM framework is primarily focused 51 on supporting access control modules, although future development is 54 the infrastructure to support security modules. The LSM framework is 63 It also adds functions for registering security modules. 65 of security modules that are active on the system. 69 the framework or by the individual security modules that use it. 87 ``include/linux/shm.h`` as appropriate) to allow the security modules to 95 32-bit integer. The security modules are required to map or otherwise 130 blobs, unlike other modules. The reasons are historical and are
|
| /linux/Documentation/userspace-api/ |
| H A D | lsm.rst | 12 Linux security modules (LSM) provide a mechanism to implement 15 The various security modules may support any of these attributes: 20 This is supported by the SELinux, Smack and AppArmor security modules. 27 This is supported by the SELinux and AppArmor security modules. 43 This is supported by the SELinux and AppArmor security modules.
|
| /linux/Documentation/core-api/ |
| H A D | symbol-namespaces.rst | 17 kernel. As of today, modules that make use of symbols exported into namespaces, 22 limiting which modules are allowed to use these symbols. 84 intended for in-tree modules. 87 modules to access this symbol. Simple tail-globs are supported. 93 will limit usage of this symbol to modules whose name matches the given 99 In order to use symbols that are exported into namespaces, kernel modules need 127 the kernel is to reject loading modules that don't specify sufficient imports. 129 allow loading of modules that don't satisfy this precondition, a configuration 155 in-tree modules:: 159 modules)
|
| /linux/Documentation/driver-api/media/drivers/ |
| H A D | pvrusb2.rst | 63 To build these modules essentially amounts to just running "Make", 115 modules should have any business using this header. All external 130 pvrusb2-i2c-chips-\*.c - These modules implement the glue logic to 131 tie together and configure various I2C modules as they attach to 136 V4L, where we might encounter other possibly "challenging" modules 137 from ivtv or older kernel snapshots (or even the support modules 141 compatible commands to the I2C modules. It is here where state 143 commands that are in turn send to the various I2C modules. 146 compatible commands to the I2C modules. It is here where state 148 commands that are in turn send to the various I2C modules. [all …]
|
| /linux/sound/soc/sof/ |
| H A D | ipc4-loader.c | 91 fw_lib->modules = devm_kmalloc_array(sdev->dev, fw_header->num_module_entries, in sof_ipc4_fw_parse_ext_man() 93 if (!fw_lib->modules) in sof_ipc4_fw_parse_ext_man() 98 fw_module = fw_lib->modules; in sof_ipc4_fw_parse_ext_man() 224 fw_lib->modules[i].man4_module_entry.id |= (lib_id << SOF_IPC4_MOD_LIB_ID_SHIFT); in sof_ipc4_load_library() 256 devm_kfree(sdev->dev, fw_lib->modules); in sof_ipc4_load_library() 375 if (guid_equal(uuid, &fw_lib->modules[i].man4_module_entry.uuid)) in sof_ipc4_find_module_by_uuid() 376 return &fw_lib->modules[i]; in sof_ipc4_find_module_by_uuid() 399 if (guid_equal(uuid, &fw_lib->modules[i].man4_module_entry.uuid)) in sof_ipc4_find_module_by_uuid() 400 return &fw_lib->modules[i]; in sof_ipc4_find_module_by_uuid()
|
| /linux/tools/testing/selftests/net/bench/page_pool/ |
| H A D | Makefile | 2 KDIR ?= /lib/modules/$(shell uname -r)/build 14 +$(Q)make -C $(KDIR) M=$(BENCH_PAGE_POOL_SIMPLE_TEST_DIR) modules
|
| /linux/Documentation/scsi/ |
| H A D | scsi.rst | 12 Notes on using modules in the SCSI subsystem 22 loaded, and if you unload the modules, it will have to be the last one 24 will enforce the correct ordering of loading and unloading modules in 40 Adaptec. Almost all lower level drivers can be built either as modules or
|
| /linux/Documentation/admin-guide/media/ |
| H A D | technisat.rst | 32 get rid of unnecessary modules and check this one: 34 ``Multimedia support`` => ``Customise analog and hybrid tuner modules to build`` 53 => ``Customise the frontend modules to build`` ``Customise DVB frontends`` => 99 …#) ``Multimedia support`` => ``Customise analog and hybrid tuner modules to build`` => ``Simple tu…
|