Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-settings.c Create Date:2022-07-28 17:03:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set max hw segments for a request for this queue

Proto:void blk_queue_max_segments(struct request_queue *q, unsigned short max_segments)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
unsigned shortmax_segments
271  If Not max_segments Then
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
Caller
NameDescribe
blk_queue_dma_drainSet up a drain buffer for excess dma