Function report | 
Source Code:mm\backing-dev.c | 
Create Date:2022-07-28 14:24:23 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:di_get_by_id - lookup and get bdi from its id*@id: bdi id to lookup* Find bdi matching @id and get it. Returns NULL if the matching bdi* doesn't exist or is already unregistered.
Proto:struct backing_dev_info *bdi_get_by_id(u64 id)
Type:struct backing_dev_info
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| u64 | id | 
| 919 | struct backing_dev_info * bdi = NULL | 
| 922 | spin_lock_bh( & di_lock protects bdi_tree and updates to bdi_list. bdi_list has RCU* reader side locking.) | 
| 923 | p = bdi_lookup_rb_node(id, NULL) | 
| 924 | If p Then | 
| 928 | spin_unlock_bh( & di_lock protects bdi_tree and updates to bdi_list. bdi_list has RCU* reader side locking.) | 
| 930 | Return bdi | 
| 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  |