Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mm.h Create Date:2022-07-28 05:43:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kvmalloc_array

Proto:static inline void *kvmalloc_array(size_t n, size_t size, gfp_t flags)

Type:void

Parameter:

TypeParameterName
size_tn
size_tsize
gfp_tflags
670  If Value for the false possibility is greater at compile time(check_mul_overflow(n, size, & bytes)) Then Return NULL
673  Return kvmalloc(bytes, flags)
Caller
NameDescribe
get_pages_array
__alloc_bucket_spinlocksAllocate an array of spinlocks to be accessed by a hash. Two arguments* indicate the number of elements to allocate in the array. max_size* gives the maximum number of elements to allocate. cpu_mult gives* the number of locks per CPU to allocate
pidlist_array_loadLoad a cgroup's pidarray with either procs' tgids or tasks' pids
semctl_main
do_semtimedop
alloc_fdtable
io_sqe_buffer_register