Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\padata.c Create Date:2022-07-28 13:48:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:padata_free_shell - free a padata shell*@ps: padata shell to free

Proto:void padata_free_shell(struct padata_shell *ps)

Type:void

Parameter:

TypeParameterName
struct padata_shell *ps
1120  pinst = pinst
1122  mutex_lock( & lock)
1123  deletes entry from list
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)