Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Replace the internal control structure with a new one.

Proto:static int padata_replace_one(struct padata_shell *ps)

Type:int

Parameter:

TypeParameterName
struct padata_shell *ps
505  pd_new = Allocate and initialize the internal cpumask dependend resources.
506  If Not pd_new Then Return -ENOMEM
509  opd = 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)
510  cu_assign_pointer() - assign to RCU-protected pointer*@p: pointer to assign to*@v: value to assign (publish)* Assigns the specified value to the specified RCU-protected* pointer, ensuring that any concurrent RCU readers will see* any prior initialization(pd, pd_new)
512  Return 0
Caller
NameDescribe
padata_replace