函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:padata_replace

函数原型:static int padata_replace(struct padata_instance *pinst)

返回类型:int

参数:

类型参数名称
struct padata_instance *pinst
517  notification_mask等于0
521  flags或等于PADATA_RESET
523  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
524  pumask_and - *dstp = *src1p & *src2p*@dstp: the cpumask result*@src1p: the first input*@src2p: the second input* If *@dstp is empty, returns 0, else returns 1
526  如果非pumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second inputnotification_mask或等于PADATA_CPU_PARALLEL
529  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
530  pumask_and - *dstp = *src1p & *src2p*@dstp: the cpumask result*@src1p: the first input*@src2p: the second input* If *@dstp is empty, returns 0, else returns 1
532  如果非pumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second inputnotification_mask或等于PADATA_CPU_SERIAL
536  err等于Replace the internal control structure with a new one.
537  如果err退出
541  Wait for a grace period to elapse. But it is illegal to invoke* synchronize_rcu() from within an RCU read-side critical section.* Therefore, any legal call to synchronize_rcu() is a quiescent
543  list_for_each_entry_continue_reverse - iterate backwards from the given point*@pos: the type * to use as a loop cursor(ps, & pslist, list)
544  如果atomic_dec_and_test( & refcnt)则padata_free_pd(opd)
547  如果notification_maskblocking_notifier_call_chain( & cpumask_change_notifier, notification_mask, & cpumask)
552  flags与等于PADATA_RESET的反
554  返回:err
调用者
名称描述
__padata_set_cpumasks