Lines Matching full:wd
93 static int hfsplus_read_mdb(void *bufptr, struct hfsplus_wd *wd) in hfsplus_read_mdb() argument
109 wd->ablk_size = in hfsplus_read_mdb()
111 if (wd->ablk_size < HFSPLUS_SECTOR_SIZE) in hfsplus_read_mdb()
113 if (wd->ablk_size % HFSPLUS_SECTOR_SIZE) in hfsplus_read_mdb()
115 wd->ablk_start = in hfsplus_read_mdb()
119 wd->embed_start = (extent >> 16) & 0xFFFF; in hfsplus_read_mdb()
120 wd->embed_count = extent & 0xFFFF; in hfsplus_read_mdb()
164 struct hfsplus_wd wd; in hfsplus_read_wrapper() local
202 if (!hfsplus_read_mdb(sbi->s_vhdr, &wd)) in hfsplus_read_wrapper()
204 wd.ablk_size >>= HFSPLUS_SECTOR_SHIFT; in hfsplus_read_wrapper()
205 part_start += (sector_t)wd.ablk_start + in hfsplus_read_wrapper()
206 (sector_t)wd.embed_start * wd.ablk_size; in hfsplus_read_wrapper()
207 part_size = (sector_t)wd.embed_count * wd.ablk_size; in hfsplus_read_wrapper()