Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\espfix_64.c Create Date:2022-07-28 07:42:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:init_espfix_random

Proto:static void init_espfix_random(void)

Type:void

Parameter:Nothing

103  If Not arch_get_random_long( & rand) Then
105  rand = dtsc() - returns the current TSC without ordering constraints* rdtsc() returns the result of RDTSC as a 64-bit integer
106  rand *= 0xc345c6b72fd16123UL
109  slot_random = rand % ESPFIX_STACKS_PER_PAGE
110  page_random = rand / ESPFIX_STACKS_PER_PAGE & There is address space for how many espfix pages? - 1
Caller
NameDescribe
init_espfix_bsp