函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aix_magic_present

函数原型:static int aix_magic_present(struct parsed_partitions *state, unsigned char *p)

返回类型:int

参数:

类型参数名称
struct parsed_partitions *state
unsigned char *p
71  pt等于p加0x1be
74  ret等于0
76  如果非p[0]恒等于Value is EBCDIC 'IBMA' p[1]恒等于AIX_LABEL_MAGIC2p[2]恒等于AIX_LABEL_MAGIC3p[3]恒等于AIX_LABEL_MAGIC4的值则返回:0
82 slot小于等于4循环
83  如果 What partition type 恒等于LINUX_SWAP_PARTITION What partition type 恒等于LINUX_RAID_PARTITION What partition type 恒等于LINUX_DATA_PARTITION What partition type 恒等于LINUX_LVM_PARTITIONis_extended_partition(pt)则返回:0
90  d等于read_part_sector(state, 7, & sect)
91  如果d
92  如果d[0]恒等于'_'且d[1]恒等于'L'且d[2]恒等于'V'且d[3]恒等于'M'则ret等于1
94  put_dev_sector(sect)
96  返回:ret
调用者
名称描述
msdos_partition