Lines Matching defs:vh
38 {0x00, "SGI vh"},
146 static efs_block_t efs_validate_vh(struct volume_header *vh) {
154 if (be32_to_cpu(vh->vh_magic) != VHMAGIC) {
163 ui = ((__be32 *) (vh + 1)) - 1;
164 for(csum = 0; ui >= ((__be32 *) vh);) {
174 printk(KERN_DEBUG "EFS: bf: \"%16s\"\n", vh->vh_bootfile);
181 name[j] = vh->vh_vd[i].vd_name[j];
186 printk(KERN_DEBUG "EFS: vh: %8s block: 0x%08x size: 0x%08x\n",
188 (int) be32_to_cpu(vh->vh_vd[i].vd_lbn),
189 (int) be32_to_cpu(vh->vh_vd[i].vd_nbytes));
195 pt_type = (int) be32_to_cpu(vh->vh_pt[i].pt_type);
200 if (be32_to_cpu(vh->vh_pt[i].pt_nblks)) {
203 (int) be32_to_cpu(vh->vh_pt[i].pt_firstlbn),
204 (int) be32_to_cpu(vh->vh_pt[i].pt_nblks),
210 sblock = be32_to_cpu(vh->vh_pt[i].pt_firstlbn);
264 /* read the vh (volume header) block */