Function report |
Source Code:include\linux\blkdev.h |
Create Date:2022-07-28 05:46:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:queue_limit_discard_alignment
Proto:static inline int queue_limit_discard_alignment(struct queue_limits *lim, sector_t sector)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct queue_limits * | lim | |
sector_t | sector |
1381 | If Not max_discard_sectors Then Return 0 |
1387 | If Not granularity Then Return 0 |
1391 | offset = sector_div(sector, granularity) |
1394 | offset = ( granularity + alignment - offset) % granularity |
Name | Describe |
---|---|
blk_stack_limits | adjust queue_limits for stacked devices |
add_partition | Must be called either with bd_mutex held, before a disk can be opened or* after all disk users are gone. |
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 |