函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:为blk_rq_map_sg设置段

函数原型:void blk_queue_max_segment_size(struct request_queue *q, unsigned int max_size)

返回类型:void

参数:

类型参数名称
struct request_queue *q
unsigned intmax_size
308  如果max_size小于PAGE_SIZE
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