Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kfifo_copy_in

Proto:static void kfifo_copy_in(struct __kfifo *fifo, const void *src, unsigned int len, unsigned int off)

Type:void

Parameter:

TypeParameterName
struct __kfifo *fifo
const void *src
unsigned intlen
unsigned intoff
92  size = mask + 1
93  esize = esize
96  off &= mask
97  If esize != 1 Then
98  off *= esize
99  size *= esize
100  len *= esize
102  l = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(len, size - off)
104  No 3D Now!(data + off, src, l)
105  No 3D Now!(data, src + l, len - l)
110  smp_wmb()
Caller
NameDescribe
__kfifo_in
__kfifo_in_r