Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\partitions\ibm.c Create Date:2022-07-28 17:30:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mpute the block number from a* cyl-cyl-head-head-block structure

Proto:static sector_t cchhb2blk(struct vtoc_cchhb *ptr, struct hd_geometry *geo)

Type:sector_t

Parameter:

TypeParameterName
struct vtoc_cchhb *ptr
struct hd_geometry *geo
55  cyl = hh & 0xFFF0
56  cyl <<= 12
57  cyl |= cc
58  head = hh & 0x000F
59  Return cyl * heads * sectors + head * sectors + b
Caller
NameDescribe
find_vol1_partitions