Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:void padata_do_serial(struct padata_priv *padata)

Type:void

Parameter:

TypeParameterName
struct padata_priv *padata
328  pd = pd
329  pqueue = per_cpu_ptr(pqueue, cpu)
333  spin_lock( & lock)
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  If seq_nr < seq_nr Then Break
338  list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks.
339  atomic_inc( & reorder_objects)
340  spin_unlock( & lock)
347  smp_mb__after_atomic()
349  padata_reorder(pd)