Function report |
Source Code:kernel\padata.c |
Create Date:2022-07-28 13:47:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:padata_replace
Proto:static int padata_replace(struct padata_instance *pinst)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct padata_instance * | pinst |
517 | notification_mask = 0 |
521 | flags |= PADATA_RESET |
526 | If Not pumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second input Then notification_mask |= PADATA_CPU_PARALLEL |
532 | If Not pumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second input Then notification_mask |= PADATA_CPU_SERIAL |
537 | If err Then Break |
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 | If atomic_dec_and_test( & refcnt) Then padata_free_pd(opd) |
547 | If notification_mask Then blocking_notifier_call_chain( & cpumask_change_notifier, notification_mask, & cpumask) |
552 | flags &= ~PADATA_RESET |
554 | Return err |
Name | Describe |
---|---|
__padata_set_cpumasks |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |