Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\rdma.c Create Date:2022-07-28 11:15:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rdmacg_get_device_locked

Proto:static struct rdmacg_device *rdmacg_get_device_locked(const char *name)

Type:struct rdmacg_device

Parameter:

TypeParameterName
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  If Not strcmp(name, name) Then Return device
422  Return NULL
Caller
NameDescribe
rdmacg_resource_set_max