Home
last modified time | relevance | path

Searched refs:init_module (Results 1 - 20 of 20) sorted by relevance

/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/
H A Dlinux_init_module_test.cpp5 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 DMakefile5 obj-m := init_module.o
16 MAKE_TARGETS := init_module01 init_module02 init_module.ko
H A Dinit_module01.c9 * 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 Dinit_module02.c9 * 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 Dinsmod.c24 #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 Dmod.rs37 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 Dmodule.c3 int init_module(void *a, unsigned long b, const char *c) in init_module() function
/third_party/ltp/include/lapi/
H A Dinit_module.h14 static inline int init_module(void *module_image, unsigned long len, in init_module() function
/third_party/nghttp2/src/
H A Dshrpx_mruby_module.h42 mrb_value init_module(mrb_state *mrb);
H A Dshrpx_mruby_module.cc73 mrb_value init_module(mrb_state *mrb) { in init_module() function
H A Dshrpx_mruby.cc205 auto env = init_module(mrb); in create_mruby_context()
/third_party/rust/crates/nix/test/test_kmod/hello_mod/
H A Dhello.c15 int init_module(void) in init_module() function
/third_party/rust/crates/nix/src/
H A Dkmod.rs36 /// 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 DLtpfsCmds.c179 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 DMachOYAML.cpp416 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 DMachO.h649 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 DMachO.h663 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 Dltp_acpi_cmds.c623 int init_module(void) in init_module() function
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/
H A Dpvr_srv_bridge.h823 uint32_t init_module; member
H A Dpvr_srv_bridge.c77 struct drm_srvkm_init_data init_data = { .init_module = module }; in pvr_srv_init_module()

Completed in 22 milliseconds