Function report |
Source Code:lib\kunit\test.c |
Create Date:2022-07-28 06:38:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kunit_kmalloc
Proto:void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kunit * | test | |
| size_t | size | |
| gfp_t | gfp |
| Name | Describe |
|---|---|
| string_stream_fragment_init | |
| kunit_try_catch_test_init | |
| kunit_kzalloc | kunit_kzalloc() - Just like kunit_kmalloc(), but zeroes the allocation.*@test: The test context object.*@size: The size in bytes of the desired memory.*@gfp: flags passed to underlying kmalloc().* See kzalloc() and kunit_kmalloc() for more information. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |