函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:void disk_stack_limits(struct gendisk *disk, struct block_device *bdev, sector_t offset)

返回类型:void

参数:

类型参数名称
struct gendisk *disk
struct block_device *bdev
sector_toffset
656  t等于queue
658  如果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:小于0则
659  char top[32], bottom[32]
661  disk_name(disk, 0, top)
662  bdevname(bdev, bottom)
664  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers