函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:padata_free_shell - free a padata shell*@ps: padata shell to free

函数原型:void padata_free_shell(struct padata_shell *ps)

返回类型:void

参数:

类型参数名称
struct padata_shell *ps
1120  pinst等于pinst
1122  mutex_lock( & lock)
1123  删除链表项
1124  padata_free_pd(cu_dereference_protected() - fetch RCU pointer when updates prevented*@p: The pointer to read, prior to dereferencing*@c: The conditions under which the dereference will take place* Return the value of the specified RCU-protected pointer, but omit(pd, 1))
1125  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.
1127  kfree(ps)