Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\percpu.c Create Date:2022-07-28 14:25:53
Last Modify:2022-05-23 13:52:24 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__pcpu_chunk_move

Proto:static void __pcpu_chunk_move(struct pcpu_chunk *chunk, int slot, bool move_front)

Type:void

Parameter:

TypeParameterName
struct pcpu_chunk *chunk
intslot
boolmove_front
528  If chunk != Optional reserved chunk. This chunk reserves part of the first* chunk and serves it for reserved allocations. When the reserved* region doesn't exist, the following variable is NULL. Then
529  If move_front Then list_move - delete from one list and add as another's head*@list: the entry to move*@head: the head that will precede our entry
531  Else list_move_tail - delete from one list and add as another's tail*@list: the entry to move*@head: the head that will follow our entry
Caller
NameDescribe
pcpu_chunk_move
pcpu_chunk_relocatepcpu_chunk_relocate - put chunk in the appropriate chunk slot*@chunk: chunk of interest*@oslot: the previous slot it was on* This function is called after an allocation or free changed @chunk