Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slob.c Create Date:2022-07-28 15:35:50
Last Modify:2022-05-20 09:26:42 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Return the next free slob block pointer after this one.

Proto:static slob_t *slob_next(slob_t *s)

Type:slob_t

Parameter:

TypeParameterName
slob_t *s
173  base = s & PAGE_MASK
176  If units < 0 Then next = -units
178  Else next = units
180  Return base + next
Caller
NameDescribe
slob_lastReturns true if s is the last free block in its page.
slob_page_allocslob_page_alloc() - Allocate a slob block within a given slob_page sp.*@sp: Page to look in.*@size: Size of the allocation.*@align: Allocation alignment.*@align_offset: Offset in the allocated block that will be aligned.
slob_freeslob_free: entry point into the slob allocator.