Lines Matching refs:hfs
67 } PACKED *hfs;
175 hfs = (struct hfs_mdb *) buf;
176 if (memcmp(hfs->signature, "BD", 2) != 0)
179 /* it may be just a hfs wrapper for hfs+ */
180 if (memcmp(hfs->embed_sig, "H+", 2) == 0) {
181 alloc_block_size = be32_to_cpu(hfs->al_blk_size);
184 alloc_first_block = be16_to_cpu(hfs->al_bl_st);
187 embed_first_block = be16_to_cpu(hfs->embed_startblock);
192 dbg("hfs wrapped hfs+ found at offset 0x%llx", (unsigned long long) off);
200 if (hfs->label_len > 0 && hfs->label_len < 28) {
201 volume_id_set_label_raw(id, hfs->label, hfs->label_len);
202 volume_id_set_label_string(id, hfs->label, hfs->label_len) ;
205 hfsid_set_uuid(id, hfs->finder_info.id);
208 id->type = "hfs";