Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set max segment size for blk_rq_map_sg

Proto:void blk_queue_max_segment_size(struct request_queue *q, unsigned int max_size)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
unsigned intmax_size
308  If max_size < PAGE_SIZE Then
309  max_size = PAGE_SIZE
310  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
315  WARN_ON_ONCE(virt_boundary_mask)
317  max_segment_size = max_size