Lines Matching refs:wd
92 static int hfsplus_read_mdb(void *bufptr, struct hfsplus_wd *wd) in hfsplus_read_mdb() argument
108 wd->ablk_size = in hfsplus_read_mdb()
110 if (wd->ablk_size < HFSPLUS_SECTOR_SIZE) in hfsplus_read_mdb()
112 if (wd->ablk_size % HFSPLUS_SECTOR_SIZE) in hfsplus_read_mdb()
114 wd->ablk_start = in hfsplus_read_mdb()
118 wd->embed_start = (extent >> 16) & 0xFFFF; in hfsplus_read_mdb()
119 wd->embed_count = extent & 0xFFFF; in hfsplus_read_mdb()
160 struct hfsplus_wd wd; in hfsplus_read_wrapper() local
196 if (!hfsplus_read_mdb(sbi->s_vhdr, &wd)) in hfsplus_read_wrapper()
198 wd.ablk_size >>= HFSPLUS_SECTOR_SHIFT; in hfsplus_read_wrapper()
199 part_start += (sector_t)wd.ablk_start + in hfsplus_read_wrapper()
200 (sector_t)wd.embed_start * wd.ablk_size; in hfsplus_read_wrapper()
201 part_size = (sector_t)wd.embed_count * wd.ablk_size; in hfsplus_read_wrapper()