Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Not all gfp_t flags (besides GFP_KERNEL) are allowed. See* documentation for vmalloc for which of them are legal.

Proto:static inline void **__ptr_ring_init_queue_alloc(unsigned int size, gfp_t gfp)

Type:void

Parameter:

TypeParameterName
unsigned intsize
gfp_tgfp
468  If size > Maximum allocatable size / size of * Then Return NULL
470  Return kvmalloc_array(size, size of * , gfp | __GFP_ZERO)