Function report |
Source Code:fs\super.c |
Create Date:2022-07-28 20:02:26 |
| Last Modify:2022-05-24 06:42:17 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__get_super
Proto:static struct super_block *__get_super(struct block_device *bdev, bool excl)
Type:struct super_block
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct block_device * | bdev | |
| bool | excl |
| 747 | If Not bdev Then Return NULL |
| 751 | rescan : |
| 753 | If hlist_unhashed( & s_instances) Then Continue |
| 756 | s_count++ |
| 757 | spin_unlock( & sb_lock) |
| 758 | If Not excl Then lock for reading |
| 760 | Else lock for writing |
| 765 | If Not excl Then lease a read lock |
| 767 | Else lease a write lock |
| 772 | Go to rescan |
| 775 | spin_unlock( & sb_lock) |
| 776 | Return NULL |
| Name | Describe |
|---|---|
| get_super | get the superblock of a device |
| __get_super_thawed |
| 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 |