Function report |
Source Code:lib\kfifo.c |
Create Date:2022-07-28 06:24:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__kfifo_alloc
Proto:int __kfifo_alloc(struct __kfifo *fifo, unsigned int size, size_t esize, gfp_t gfp_mask)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct __kfifo * | fifo | |
| unsigned int | size | |
| size_t | esize | |
| gfp_t | gfp_mask |
| 33 | in = 0 |
| 34 | out = 0 |
| 37 | If size < 2 Then |
| 43 | data = kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
| 45 | If Not data Then |
| 51 | Return 0 |
| 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 |