函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\zpool.c Create Date:2022-07-27 18:00:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:his assumes @type is null-terminated.

函数原型:static struct zpool_driver *zpool_get_driver(const char *type)

返回类型:struct zpool_driver

参数:

类型参数名称
const char *type
81  加自旋锁
83  如果非字符串比较
84  got等于判断模块是否处于活动状态
86  如果gotatomic_inc( & refcount)
88  自旋锁解锁
89  返回:got ? driver : NULL
93  自旋锁解锁
94  返回:NULL
调用者
名称描述
zpool_has_poolzpool_has_pool() - Check if the pool driver is available*@type: The type of the zpool to check (e
zpool_create_poolzpool_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.