Lines Matching defs:vh
34 {0x00, "SGI vh"},
155 static efs_block_t efs_validate_vh(struct volume_header *vh) {
163 if (be32_to_cpu(vh->vh_magic) != VHMAGIC) {
172 ui = ((__be32 *) (vh + 1)) - 1;
173 for(csum = 0; ui >= ((__be32 *) vh);) {
183 pr_debug("bf: \"%16s\"\n", vh->vh_bootfile);
190 name[j] = vh->vh_vd[i].vd_name[j];
195 pr_debug("vh: %8s block: 0x%08x size: 0x%08x\n",
196 name, (int) be32_to_cpu(vh->vh_vd[i].vd_lbn),
197 (int) be32_to_cpu(vh->vh_vd[i].vd_nbytes));
203 pt_type = (int) be32_to_cpu(vh->vh_pt[i].pt_type);
208 if (be32_to_cpu(vh->vh_pt[i].pt_nblks)) {
210 i, (int)be32_to_cpu(vh->vh_pt[i].pt_firstlbn),
211 (int)be32_to_cpu(vh->vh_pt[i].pt_nblks),
217 sblock = be32_to_cpu(vh->vh_pt[i].pt_firstlbn);
271 /* read the vh (volume header) block */