Function report | 
Source Code:lib\kfifo.c | 
Create Date:2022-07-28 06:24:39 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:kfifo_copy_to_user
Proto:static unsigned long kfifo_copy_to_user(struct __kfifo *fifo, void __user *to, unsigned int len, unsigned int off, unsigned int *copied)
Type:unsigned long
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct __kfifo * | fifo | |
| void __user * | to | |
| unsigned int | len | |
| unsigned int | off | |
| unsigned int * | copied | 
| 245 | If esize != 1 Then | 
| 250 | l = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(len, size - off) | 
| 253 | If Value for the false possibility is greater at compile time(ret) Then ret = DIV_ROUND_UP(ret + len - l, esize) | 
| 255 | Else | 
| 257 | If Value for the false possibility is greater at compile time(ret) Then ret = DIV_ROUND_UP(ret, esize) | 
| 264 | smp_wmb() | 
| 267 | Return ret | 
| Name | Describe | 
|---|---|
| __kfifo_to_user | |
| __kfifo_to_user_r | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |