Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\partitions\ibm.c Create Date:2022-07-28 17:30:40
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 structure

Proto:static sector_t cchh2blk(struct vtoc_cchh *ptr, struct hd_geometry *geo)

Type:sector_t

Parameter:

TypeParameterName
struct vtoc_cchh *ptr
struct hd_geometry *geo
37  cyl = hh & 0xFFF0
38  cyl <<= 12
39  cyl |= cc
40  head = hh & 0x000F
41  Return cyl * heads * sectors + head * sectors
Caller
NameDescribe
find_vol1_partitions