Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:____bpf_user_rnd_u32

Proto:static inline __attribute__((__always_inline__)) u64 ____bpf_user_rnd_u32(void)

Type:u64

Parameter:Nothing

2126  state = Must be an lvalue. Since @var must be a simple identifier,* we force a syntax error here if it isn't.(RNG for unpriviledged user space with separated state from prandom_u32(). )
2127  res = prandom_u32_state - seeded pseudo-random number generator.*@state: pointer to state structure holding seeded state.* This is used for pseudo-randomness with no outside seeding.* For more random results, use prandom_u32().
2128  The weird & is necessary because sparse considers (void)(var) to be* a direct dereference of percpu variable (var).(RNG for unpriviledged user space with separated state from prandom_u32(). )
2130  Return res