Home
last modified time | relevance | path

Searched refs:ph (Results 1 – 2 of 2) sorted by relevance

/block/partitions/
Dldm.c81 static bool ldm_parse_privhead(const u8 *data, struct privhead *ph) in ldm_parse_privhead() argument
85 BUG_ON(!data || !ph); in ldm_parse_privhead()
91 ph->ver_major = get_unaligned_be16(data + 0x000C); in ldm_parse_privhead()
92 ph->ver_minor = get_unaligned_be16(data + 0x000E); in ldm_parse_privhead()
93 ph->logical_disk_start = get_unaligned_be64(data + 0x011B); in ldm_parse_privhead()
94 ph->logical_disk_size = get_unaligned_be64(data + 0x0123); in ldm_parse_privhead()
95 ph->config_start = get_unaligned_be64(data + 0x012B); in ldm_parse_privhead()
96 ph->config_size = get_unaligned_be64(data + 0x0133); in ldm_parse_privhead()
98 if (ph->ver_major == 2 && ph->ver_minor == 12) in ldm_parse_privhead()
100 if (!is_vista && (ph->ver_major != 2 || ph->ver_minor != 11)) { in ldm_parse_privhead()
[all …]
Dldm.h200 struct privhead ph; member