Function report |
Source Code:lib\kfifo.c |
Create Date:2022-07-28 06:24:38 |
| 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_from_user
Proto:static unsigned long kfifo_copy_from_user(struct __kfifo *fifo, const void __user *from, unsigned int len, unsigned int off, unsigned int *copied)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct __kfifo * | fifo | |
| const void __user * | from | |
| unsigned int | len | |
| unsigned int | off | |
| unsigned int * | copied |
| 185 | If esize != 1 Then |
| 190 | l = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(len, size - off) |
| 193 | If Value for the false possibility is greater at compile time(ret) Then ret = DIV_ROUND_UP(ret + len - l, esize) |
| 195 | Else |
| 197 | If Value for the false possibility is greater at compile time(ret) Then ret = DIV_ROUND_UP(ret, esize) |
| 204 | smp_wmb() |
| 207 | Return ret |
| Name | Describe |
|---|---|
| __kfifo_from_user | |
| __kfifo_from_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 |