/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/ |
H A D | linux_init_module_test.cpp | 5 extern "C" int init_module(void* a, unsigned long b, const char* c); 14 * @tc.desc: Verify if the init_module operation is normal. 19 int result1 = init_module(reinterpret_cast<void*>(const_cast<char*>("example_module")), 0, nullptr); in HWTEST_F() 20 int result2 = init_module(nullptr, 0, nullptr); in HWTEST_F()
|
/third_party/ltp/testcases/kernel/syscalls/init_module/ |
H A D | Makefile | 5 obj-m := init_module.o 16 MAKE_TARGETS := init_module01 init_module02 init_module.ko
|
H A D | init_module01.c | 9 * Basic init_module() tests. 17 #include "lapi/init_module.h" 20 #define MODULE_NAME "init_module.ko" 39 TST_EXP_PASS(init_module(buf, sb.st_size, "status=valid")); in run()
|
H A D | init_module02.c | 9 * Basic init_module() failure tests. 13 * Tests various failure scenarios for init_module(). 18 #include "lapi/init_module.h" 22 #define MODULE_NAME "init_module.ko" 83 TST_EXP_FAIL(init_module(*tc->buf, *tc->size, tc->param), in run()
|
/third_party/toybox/toys/other/ |
H A D | insmod.c | 24 #define init_module(mod, len, opts) syscall(SYS_init_module, mod, len, opts) macro 40 // so we fall back to init_module if necessary. in insmod_main() 47 rc = init_module(buf, len, toybuf); in insmod_main()
|
/third_party/rust/crates/nix/test/test_kmod/ |
H A D | mod.rs | 37 use nix::kmod::{finit_module, init_module, ModuleInitFlags}; 99 init_module(&contents, &CString::new("").unwrap()) in test_init_and_delete_module() 124 init_module(&contents, &CString::new("who=Nix number=2015").unwrap()) in test_init_and_delete_module_with_params()
|
/third_party/musl/src/linux/ |
H A D | module.c | 3 int init_module(void *a, unsigned long b, const char *c) in init_module() function
|
/third_party/ltp/include/lapi/ |
H A D | init_module.h | 14 static inline int init_module(void *module_image, unsigned long len, in init_module() function
|
/third_party/nghttp2/src/ |
H A D | shrpx_mruby_module.h | 42 mrb_value init_module(mrb_state *mrb);
|
H A D | shrpx_mruby_module.cc | 73 mrb_value init_module(mrb_state *mrb) { in init_module() function
|
H A D | shrpx_mruby.cc | 205 auto env = init_module(mrb); in create_mruby_context()
|
/third_party/rust/crates/nix/test/test_kmod/hello_mod/ |
H A D | hello.c | 15 int init_module(void) in init_module() function
|
/third_party/rust/crates/nix/src/ |
H A D | kmod.rs | 36 /// use nix::kmod::init_module; 41 /// init_module(&mut contents, &CString::new("who=Rust when=Now,12").unwrap()).unwrap(); 44 /// See [`man init_module(2)`](https://man7.org/linux/man-pages/man2/init_module.2.html) for more information. 45 pub fn init_module(module_image: &[u8], param_values: &CStr) -> Result<()> { in init_module() functions 81 /// See [`man init_module(2)`](https://man7.org/linux/man-pages/man2/init_module.2.html) for more information.
|
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/ |
H A D | LtpfsCmds.c | 179 int init_module(void) in init_module() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
H A D | MachOYAML.cpp | 416 IO.mapRequired("init_module", LoadCommand.init_module); in mapping() 428 IO.mapRequired("init_module", LoadCommand.init_module); in mapping()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | MachO.h | 649 uint32_t init_module; member 662 uint64_t init_module; member 1130 sys::swapByteOrder(r.init_module); in swapStruct() 1143 sys::swapByteOrder(r.init_module); in swapStruct()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/ |
H A D | MachO.h | 663 uint32_t init_module; member 676 uint64_t init_module; member 1161 sys::swapByteOrder(r.init_module); in swapStruct() 1174 sys::swapByteOrder(r.init_module); in swapStruct()
|
/third_party/ltp/testcases/kernel/device-drivers/acpi/ |
H A D | ltp_acpi_cmds.c | 623 int init_module(void) in init_module() function
|
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/ |
H A D | pvr_srv_bridge.h | 823 uint32_t init_module; member
|
H A D | pvr_srv_bridge.c | 77 struct drm_srvkm_init_data init_data = { .init_module = module }; in pvr_srv_init_module()
|