函数逻辑报告 |
Source Code:block\blk-settings.c |
Create Date:2022-07-27 18:39:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:lk_stack_limits - adjust queue_limits for stacked devices*@t: the stacking driver limits (top device)*@b: the underlying queue limits (bottom, component device)*@start: first data sector within component device* Description:* This function is used by
函数原型:int blk_stack_limits(struct queue_limits *t, struct queue_limits *b, sector_t start)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct queue_limits * | t | |
| struct queue_limits * | b | |
| sector_t | start |
| 500 | ret等于0 |
| 502 | max_sectors等于min_not_zero - return the minimum that is _not_ zero, unless both are zero*@x: value1*@y: value2(max_sectors, max_sectors) |
| 503 | max_hw_sectors等于min_not_zero - return the minimum that is _not_ zero, unless both are zero*@x: value1*@y: value2(max_hw_sectors, max_hw_sectors) |
| 504 | max_dev_sectors等于min_not_zero - return the minimum that is _not_ zero, unless both are zero*@x: value1*@y: value2(max_dev_sectors, max_dev_sectors) |
| 509 | bounce_pfn等于min_not_zero - return the minimum that is _not_ zero, unless both are zero*@x: value1*@y: value2(bounce_pfn, bounce_pfn) |
| 511 | seg_boundary_mask等于min_not_zero - return the minimum that is _not_ zero, unless both are zero*@x: value1*@y: value2(seg_boundary_mask, seg_boundary_mask) |
| 513 | virt_boundary_mask等于min_not_zero - return the minimum that is _not_ zero, unless both are zero*@x: value1*@y: value2(virt_boundary_mask, virt_boundary_mask) |
| 516 | max_segments等于min_not_zero - return the minimum that is _not_ zero, unless both are zero*@x: value1*@y: value2(max_segments, max_segments) |
| 517 | max_discard_segments等于min_not_zero - return the minimum that is _not_ zero, unless both are zero*@x: value1*@y: value2(max_discard_segments, max_discard_segments) |
| 519 | max_integrity_segments等于min_not_zero - return the minimum that is _not_ zero, unless both are zero*@x: value1*@y: value2(max_integrity_segments, max_integrity_segments) |
| 522 | max_segment_size等于min_not_zero - return the minimum that is _not_ zero, unless both are zero*@x: value1*@y: value2(max_segment_size, max_segment_size) |
| 525 | misaligned或等于misaligned |
| 532 | 如果alignment_offset不等于alignment则 |
| 536 | bottom等于两数取大(physical_block_size, io_min)加alignment |
| 540 | misaligned等于1 |
| 541 | ret等于负1 |
| 552 | io_opt等于lcm_not_zero(io_opt, io_opt) |
| 555 | 如果physical_block_size按位与logical_block_size减1则 |
| 562 | 如果io_min按位与physical_block_size减1则 |
| 569 | 如果io_opt按位与physical_block_size减1则 |
| 575 | raid_partial_stripes_expensive等于两数取大(raid_partial_stripes_expensive, raid_partial_stripes_expensive) |
| 584 | 如果alignment_offset按位与logical_block_size减1则 |
| 585 | misaligned等于1 |
| 586 | ret等于负1 |
| 590 | 如果discard_granularity则 |
| 593 | 如果discard_granularity不等于0且discard_alignment不等于alignment则 |
| 603 | max_discard_sectors等于min_not_zero - return the minimum that is _not_ zero, unless both are zero*@x: value1*@y: value2(max_discard_sectors, max_discard_sectors) |
| 613 | 如果chunk_sectors则chunk_sectors等于min_not_zero - return the minimum that is _not_ zero, unless both are zero*@x: value1*@y: value2(chunk_sectors, chunk_sectors) |
| 617 | 返回:ret |
| 名称 | 描述 |
|---|---|
| blk_queue_stack_limits | 继承底层驱动的底层队列限制 |
| bdev_stack_limits | dev_stack_limits - adjust queue limits for stacked drivers*@t: the stacking driver limits (top device)*@bdev: the component block_device (bottom)*@start: first data sector within component device* Description: |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |