Lines Matching refs:pm
70 static int hfs_parse_old_pmap(struct super_block *sb, struct old_pmap *pm, in hfs_parse_old_pmap() argument
77 struct old_pmap_entry *p = &pm->pdEntry[i]; in hfs_parse_old_pmap()
92 struct new_pmap *pm, sector_t *part_start, sector_t *part_size) in hfs_parse_new_pmap() argument
95 int size = be32_to_cpu(pm->pmMapBlkCnt); in hfs_parse_new_pmap()
101 if (!memcmp(pm->pmPartType, "Apple_HFS", 9) && in hfs_parse_new_pmap()
103 *part_start += be32_to_cpu(pm->pmPyPartStart); in hfs_parse_new_pmap()
104 *part_size = be32_to_cpu(pm->pmPartBlkCnt); in hfs_parse_new_pmap()
111 pm = (struct new_pmap *)((u8 *)pm + HFSPLUS_SECTOR_SIZE); in hfs_parse_new_pmap()
112 if ((u8 *)pm - (u8 *)buf >= buf_size) { in hfs_parse_new_pmap()
115 buf, (void **)&pm, READ); in hfs_parse_new_pmap()
119 } while (pm->pmSig == cpu_to_be16(HFS_NEW_PMAP_MAGIC)); in hfs_parse_new_pmap()