函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\partitions\atari.c Create Date:2022-07-27 19:01:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:atari_partition

函数原型:int atari_partition(struct parsed_partitions *state)

返回类型:int

参数:

类型参数名称
struct parsed_partitions *state
43  part_fmt等于0
50  如果bdev_logical_block_size(bdev)不等于512则返回:0
53  rs等于read_part_sector(state, 0, & sect)
54  如果非rs则返回:负1
58  hd_size等于i_size右移9位
59  如果非check if a partition entry looks valid -- Atari format is assumed if atleast one of the primary entries is ok this way ( & part[0], hd_size)且非check if a partition entry looks valid -- Atari format is assumed if atleast one of the primary entries is ok this way ( & part[1], hd_size)且非check if a partition entry looks valid -- Atari format is assumed if atleast one of the primary entries is ok this way ( & part[2], hd_size)且非check if a partition entry looks valid -- Atari format is assumed if atleast one of the primary entries is ok this way ( & part[3], hd_size)则
68  put_dev_sector(sect)
69  返回:0
72  pi等于part[0]
73  长字符串拼接
74 pi小于part[4]且slot小于limit循环
79  如果非 0: active; bit 7: bootable 按位与1的值则继续下一循环
82  如果内存比较不等于0则
86  继续下一循环
90  part_fmt等于1
92  长字符串拼接
93  partsect等于extensect等于be32_to_cpu(start of partition )
94  当1循环
96  如果非xrs
103  如果非 0: active; bit 7: bootable 按位与1的值则
113  如果非 0: active; bit 7: bootable 按位与1的值则
116  退出
118  如果内存比较不等于0则
126  如果slot先自加恒等于limit
131  长字符串拼接
134  如果part_fmt不等于1则
135  pi等于 info for ICD-partitions 5..12 [0]
152  put_dev_sector(sect)
154  长字符串拼接
156  返回:1