Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blkdev.h Create Date:2022-07-28 05:46:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static inline unsigned short blk_rq_nr_discard_segments(struct request *rq)

Type:unsigned short

Parameter:

TypeParameterName
struct request *rq
1135  Return 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)
Caller
NameDescribe
bio_attempt_discard_merge
req_attempt_discard_merge