函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blkdev.h Create Date:2022-07-27 06:47:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Number of discard segments (or ranges) the driver needs to fill in.* Each discard bio merged into a request is counted as one segment.

函数原型:static inline unsigned short blk_rq_nr_discard_segments(struct request *rq)

返回类型:unsigned short

参数:

类型参数名称
struct request *rq
1135  返回:max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedshort, * Number of scatter-gather DMA addr+len pairs after * physical address coalescing is performed., 1)
调用者
名称描述
bio_attempt_discard_merge
req_attempt_discard_merge