函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:padata_do_serial - padata serialization function*@padata: object to be serialized.* padata_do_serial must be called for every parallelized object.* The serialization callback function will run with BHs off.

函数原型:void padata_do_serial(struct padata_priv *padata)

返回类型:void

参数:

类型参数名称
struct padata_priv *padata
328  pd等于pd
329  pqueue等于per_cpu_ptr(pqueue, cpu)
333  加自旋锁
335  list_for_each_entry_reverse - iterate backwards over list of given type.*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(cur, & list, list)
336  如果seq_nr小于seq_nr退出
338  添加链表项
339  atomic_inc( & reorder_objects)
340  自旋锁解锁
347  smp_mb__after_atomic()
349  padata_reorder(pd)