Function report |
Source Code:mm\zswap.c |
Create Date:2022-07-28 15:22:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__zswap_pool_create_fallback
Proto:static __init struct zswap_pool *__zswap_pool_create_fallback(void)
Type:struct zswap_pool
Parameter:Nothing
571 | has_comp = crypto_has_comp(zswap_compressor, 0, 0) |
572 | If Not has_comp && strcmp(zswap_compressor, Crypto compressor to use ) Then |
573 | pr_err("compressor %s not available, using default %s\n", zswap_compressor, Crypto compressor to use ) |
575 | param_free_charp( & zswap_compressor) |
577 | has_comp = crypto_has_comp(zswap_compressor, 0, 0) |
579 | If Not has_comp Then |
580 | pr_err("default compressor %s not available\n", zswap_compressor) |
582 | param_free_charp( & zswap_compressor) |
583 | zswap_compressor = unables |
587 | If Not has_zpool && strcmp(zswap_zpool_type, Compressed storage zpool to use ) Then |
588 | pr_err("zpool %s not available, using default %s\n", zswap_zpool_type, Compressed storage zpool to use ) |
590 | param_free_charp( & zswap_zpool_type) |
594 | If Not has_zpool Then |
595 | pr_err("default zpool %s not available\n", zswap_zpool_type) |
597 | param_free_charp( & zswap_zpool_type) |
598 | zswap_zpool_type = unables |
604 | Return zswap_pool_create(zswap_zpool_type, zswap_compressor) |
Name | Describe |
---|---|
init_zswap | module init and exit |
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 |