Function report | 
Source Code:block\genhd.c | 
Create Date:2022-07-28 17:17:45 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:lk_mangle_minor - scatter minor numbers apart*@minor: minor number to mangle* Scatter consecutively allocated @minor number apart if MANGLE_DEVT* is enabled. Mangling twice gives the original value.* RETURNS:* Mangled value.* CONTEXT:* Don't care.
Proto:static int blk_mangle_minor(int minor)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | minor | 
| 471 | Return minor | 
| Name | Describe | 
|---|---|
| blk_alloc_devt | lk_alloc_devt - allocate a dev_t for a partition*@part: partition to allocate dev_t for*@devt: out parameter for resulting dev_t* Allocate a dev_t for block device | 
| blk_free_devt | lk_free_devt - free a dev_t*@devt: dev_t to free* Free @devt which was allocated using blk_alloc_devt().* CONTEXT:* Might sleep. | 
| blk_invalidate_devt | We invalidate devt by assigning NULL pointer for devt in idr. | 
| get_gendisk | get_gendisk - get partitioning information for a given device*@devt: device to get partitioning information for*@partno: returned partition index* This function gets the structure containing partitioning* information for the given device @devt. | 
| 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  |