Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dmacg_register_device - register rdmacg device to rdma controller

Proto:void rdmacg_register_device(struct rdmacg_device *device)

Type:void

Parameter:

TypeParameterName
struct rdmacg_device *device
316  Initialization list head
317  Initialization list head
319  mutex_lock( & Protects list of resource pools maintained on per cgroup basis* and rdma device list.)
320  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
321  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.