函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lk_cloned_rq_check_limits - Helper function to check a cloned request* for new the queue limits*@q: the queue*@rq: the request being checked* Description:*@rq may have been made based on weaker limitations of upper-level queues

函数原型:static int blk_cloned_rq_check_limits(struct request_queue *q, struct request *rq)

返回类型:int

参数:

类型参数名称
struct request_queue *q
struct request *rq
1224  如果blk_rq_sectors(rq)大于blk_queue_get_max_sectors(q, req_op(rq))则
1225  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
1228  返回:负EIO
1237  * Number of scatter-gather DMA addr+len pairs after * physical address coalescing is performed.等于blk_recalc_rq_segments(rq)
1238  如果* Number of scatter-gather DMA addr+len pairs after * physical address coalescing is performed.大于queue_max_segments(q)则
1239  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
1241  返回:负EIO
1244  返回:0
调用者
名称描述
blk_insert_cloned_requestlk_insert_cloned_request - Helper for stacking drivers to submit a request*@q: the queue to submit the request*@rq: the request being queued