函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rdmacg_get_device_locked

函数原型:static struct rdmacg_device *rdmacg_get_device_locked(const char *name)

返回类型:struct rdmacg_device

参数:

类型参数名称
const char *name
416  lockdep_assert_held( & Protects list of resource pools maintained on per cgroup basis* and rdma device list.)
418  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(device, & rdmacg_devices, dev_node)
419  如果非字符串比较则返回:device
422  返回:NULL
调用者
名称描述
rdmacg_resource_set_max