| Function report | 
| Source Code: mm\backing-dev.c | Create Date:2022-07-28 14:24:17 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:cgwb_bdi_init
Proto:static int cgwb_bdi_init(struct backing_dev_info *bdi)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct backing_dev_info * | bdi | 
| 816 | wb_congested = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). | 
| 817 | If Not wb_congested Then Return -ENOMEM | 
| 822 | err = wb_init( & the root writeback info for this bdi , bdi, 1, GFP_KERNEL) | 
| 823 | If err Then | 
| 825 | Return err | 
| 827 | Return 0 | 
| Name | Describe | 
|---|---|
| bdi_init | 
| 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 |