Lines Matching full:wd
94 static int hfsplus_read_mdb(void *bufptr, struct hfsplus_wd *wd) in hfsplus_read_mdb() argument
110 wd->ablk_size = in hfsplus_read_mdb()
112 if (wd->ablk_size < HFSPLUS_SECTOR_SIZE) in hfsplus_read_mdb()
114 if (wd->ablk_size % HFSPLUS_SECTOR_SIZE) in hfsplus_read_mdb()
116 wd->ablk_start = in hfsplus_read_mdb()
120 wd->embed_start = (extent >> 16) & 0xFFFF; in hfsplus_read_mdb()
121 wd->embed_count = extent & 0xFFFF; in hfsplus_read_mdb()
165 struct hfsplus_wd wd; in hfsplus_read_wrapper() local
201 if (!hfsplus_read_mdb(sbi->s_vhdr, &wd)) in hfsplus_read_wrapper()
203 wd.ablk_size >>= HFSPLUS_SECTOR_SHIFT; in hfsplus_read_wrapper()
204 part_start += (sector_t)wd.ablk_start + in hfsplus_read_wrapper()
205 (sector_t)wd.embed_start * wd.ablk_size; in hfsplus_read_wrapper()
206 part_size = (sector_t)wd.embed_count * wd.ablk_size; in hfsplus_read_wrapper()