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 physical segments as sent to the device

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

Type:unsigned short

Parameter:

TypeParameterName
struct request *rq
1124  If rq_flags & Look at ->special_vec for the actual data payload instead of thebio chain. Then Return 1
1126  Return * Number of scatter-gather DMA addr+len pairs after * physical address coalescing is performed.
Caller
NameDescribe
blk_rq_map_sgmap a request to scatterlist, return number of sg entries setup. Caller* must make sure sg can hold rq->nr_phys_segments entries