函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\kfifo.c Create Date:2022-07-27 07:21:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__kfifo_dma_out_prepare_r

函数原型:unsigned int __kfifo_dma_out_prepare_r(struct __kfifo *fifo, struct scatterlist *sgl, int nents, unsigned int len, size_t recsize)

返回类型:unsigned int

参数:

类型参数名称
struct __kfifo *fifo
struct scatterlist *sgl
intnents
unsigned intlen
size_trecsize
574  BUG_ON(!nents)
576  len等于__kfifo_max_r(len, recsize)
578  如果lenrecsize大于inout则返回:0
581  返回:setup_sgl(fifo, sgl, nents, len, out + recsize)