Lines Matching refs:sbd
1092 struct gfs2_sb *sbd; in probe_gfs() local
1095 sbd = (struct gfs2_sb *)buf; in probe_gfs()
1097 if (blkid_be32(sbd->sb_fs_format) == GFS_FORMAT_FS && in probe_gfs()
1098 blkid_be32(sbd->sb_multihost_format) == GFS_FORMAT_MULTI) in probe_gfs()
1102 if (strlen(sbd->sb_locktable)) in probe_gfs()
1103 label = sbd->sb_locktable; in probe_gfs()
1104 blkid_set_tag(probe->dev, "LABEL", label, sizeof(sbd->sb_locktable)); in probe_gfs()
1114 struct gfs2_sb *sbd; in probe_gfs2() local
1117 sbd = (struct gfs2_sb *)buf; in probe_gfs2()
1119 if (blkid_be32(sbd->sb_fs_format) == GFS2_FORMAT_FS && in probe_gfs2()
1120 blkid_be32(sbd->sb_multihost_format) == GFS2_FORMAT_MULTI) in probe_gfs2()
1124 if (strlen(sbd->sb_locktable)) in probe_gfs2()
1125 label = sbd->sb_locktable; in probe_gfs2()
1126 blkid_set_tag(probe->dev, "LABEL", label, sizeof(sbd->sb_locktable)); in probe_gfs2()
1229 struct hfs_mdb *sbd = (struct hfs_mdb *) buf; in probe_hfsplus() local
1250 if (memcmp(sbd->signature, "BD", 2) == 0) { in probe_hfsplus()
1251 if ((memcmp(sbd->embed_sig, "H+", 2) != 0) && in probe_hfsplus()
1252 (memcmp(sbd->embed_sig, "HX", 2) != 0)) in probe_hfsplus()
1256 alloc_block_size = blkid_be32(sbd->al_blk_size); in probe_hfsplus()
1257 alloc_first_block = blkid_be16(sbd->al_bl_st); in probe_hfsplus()
1258 embed_first_block = blkid_be16(sbd->embed_startblock); in probe_hfsplus()
1262 sizeof(*sbd)); in probe_hfsplus()