Function report |
Source Code:mm\zpool.c |
Create Date:2022-07-28 16:25:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:his assumes @type is null-terminated.
Proto:static struct zpool_driver *zpool_get_driver(const char *type)
Type:struct zpool_driver
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | type |
81 | spin_lock( & drivers_lock) |
84 | got = try_module_get(owner) |
86 | If got Then atomic_inc( & refcount) |
88 | spin_unlock( & drivers_lock) |
93 | spin_unlock( & drivers_lock) |
94 | Return NULL |
Name | Describe |
---|---|
zpool_has_pool | zpool_has_pool() - Check if the pool driver is available*@type: The type of the zpool to check (e |
zpool_create_pool | zpool_create_pool() - Create a new zpool*@type: The type of the zpool to create (e.g. zbud, zsmalloc)*@name: The name of the zpool (e.g. zram0, zswap)*@gfp: The GFP flags to use when allocating the pool.*@ops: The optional ops callback. |
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 |