Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__kfifo_dma_in_prepare_r

Proto:unsigned int __kfifo_dma_in_prepare_r(struct __kfifo *fifo, struct scatterlist *sgl, int nents, unsigned int len, size_t recsize)

Type:unsigned int

Parameter:

TypeParameterName
struct __kfifo *fifo
struct scatterlist *sgl
intnents
unsigned intlen
size_trecsize
551  BUG_ON(!nents)
553  len = __kfifo_max_r(len, recsize)
555  If len + recsize > rnal helper to calculate the unused elements in a fifo Then Return 0
558  Return setup_sgl(fifo, sgl, nents, len, in + recsize)