函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-settings.c Create Date:2022-07-27 18:39:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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:

函数原型:int bdev_stack_limits(struct queue_limits *t, struct block_device *bdev, sector_t start)

返回类型:int

参数:

类型参数名称
struct queue_limits *t
struct block_device *bdev
sector_tstart
635  bq等于bdev_get_queue(bdev)
637  start加等于get_start_sect(bdev)
639  返回: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
调用者
名称描述
disk_stack_limitsdisk_stack_limits - adjust queue limits for stacked drivers*@disk: MD/DM gendisk (top)*@bdev: the underlying block device (bottom)*@offset: offset to beginning of data within component device* Description:* Merges the limits for a top level gendisk and a