函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:获得gen_pool(如果有的话)的设备

函数原型:struct gen_pool *gen_pool_get(struct device *dev, const char *name)

返回类型:struct gen_pool

参数:

类型参数名称
struct device *dev
const char *name
803  p等于devres_find(dev, devm_gen_pool_release, devm_gen_pool_match, (void * )name)
805  如果非p则返回:NULL
807  返回:p
调用者
名称描述
devm_gen_pool_createdevm_gen_pool_create - managed gen_pool_create*@dev: device that provides the gen_pool*@min_alloc_order: log base 2 of number of bytes each bitmap bit represents*@nid: node selector for allocated gen_pool, %NUMA_NO_NODE for all nodes*@name: name of a