Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pcpu_chunk_addr_search - determine chunk containing specified address*@addr: address for which the chunk needs to be determined.* This is an internal function that handles all but static allocations.

Proto:static struct pcpu_chunk *pcpu_chunk_addr_search(void *addr)

Type:struct pcpu_chunk

Parameter:

TypeParameterName
void *addr
1553  If pcpu_addr_in_chunk - check if the address is served from this chunk*@chunk: chunk of interest*@addr: percpu address* RETURNS:* True if the address is served from this chunk. Then Return The first chunk which always exists. Note that unlike other* chunks, this one can be allocated and mapped in several different* ways and thus often doesn't live in the vmalloc area.
1557  If pcpu_addr_in_chunk - check if the address is served from this chunk*@chunk: chunk of interest*@addr: percpu address* RETURNS:* True if the address is served from this chunk. Then Return 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.
1567  addr += pcpu_unit_offsets[These macros fold the SMP functionality into a single CPU system()]
1568  Return btain pointer to a chunk from a page struct
Caller
NameDescribe
free_percpufree previously allocated percpu memory