函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lk_queue_max_segments - set max hw segments for a request for this queue*@q: the request queue for the device*@max_segments: max number of segments* Description:* Enables a low level driver to set an upper limit on the number of

函数原型:void blk_queue_max_segments(struct request_queue *q, unsigned short max_segments)

返回类型:void

参数:

类型参数名称
struct request_queue *q
unsigned shortmax_segments
271  如果非max_segments
272  max_segments等于1
273  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
277  max_segments等于max_segments
调用者
名称描述
blk_queue_dma_drainlk_queue_dma_drain - Set up a drain buffer for excess dma