Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:blk_rq_cur_sectors

Proto:static inline unsigned int blk_rq_cur_sectors(const struct request *rq)

Type:unsigned int

Parameter:

TypeParameterName
const struct request *rq
946  Return blk_rq_cur_bytes(rq) >> The basic unit of block I/O is a sector. It is used in a number of contexts* in Linux (blk, bio, genhd). The size of one sector is 512 = 2**9* bytes. Variables of type sector_t represent an offset or size that is a* multiple of 512 bytes
Caller
NameDescribe
blk_dump_rq_flags