Lines Matching full:typ
20 vxfs_typdump(struct vxfs_typed *typ) in vxfs_typdump() argument
22 printk(KERN_DEBUG "type=%Lu ", typ->vt_hdr >> VXFS_TYPED_TYPESHIFT); in vxfs_typdump()
23 printk("offset=%Lx ", typ->vt_hdr & VXFS_TYPED_OFFSETMASK); in vxfs_typdump()
24 printk("block=%x ", typ->vt_block); in vxfs_typdump()
25 printk("size=%x\n", typ->vt_size); in vxfs_typdump()
115 struct vxfs_typed *typ; in vxfs_bmap_indir() local
123 typ = ((struct vxfs_typed *)bp->b_data) + in vxfs_bmap_indir()
125 off = fs64_to_cpu(sbi, typ->vt_hdr) & VXFS_TYPED_OFFSETMASK; in vxfs_bmap_indir()
132 switch ((u_int32_t)(fs64_to_cpu(sbi, typ->vt_hdr) >> in vxfs_bmap_indir()
136 fs32_to_cpu(sbi, typ->vt_block), in vxfs_bmap_indir()
137 fs32_to_cpu(sbi, typ->vt_size), in vxfs_bmap_indir()
143 if ((block - off) >= fs32_to_cpu(sbi, typ->vt_size)) in vxfs_bmap_indir()
145 pblock = fs32_to_cpu(sbi, typ->vt_block) + block - off; in vxfs_bmap_indir()
150 (struct vxfs_typed_dev4 *)typ; in vxfs_bmap_indir()
161 __LINE__, fs64_to_cpu(sbi, typ->vt_hdr)); in vxfs_bmap_indir()
194 struct vxfs_typed *typ = vip->vii_org.typed + i; in vxfs_bmap_typed() local
195 u64 hdr = fs64_to_cpu(sbi, typ->vt_hdr); in vxfs_bmap_typed()
199 vxfs_typdump(typ); in vxfs_bmap_typed()
206 fs32_to_cpu(sbi, typ->vt_block), in vxfs_bmap_typed()
207 fs32_to_cpu(sbi, typ->vt_size), in vxfs_bmap_typed()
213 if ((iblock - off) < fs32_to_cpu(sbi, typ->vt_size)) in vxfs_bmap_typed()
214 return (fs32_to_cpu(sbi, typ->vt_block) + in vxfs_bmap_typed()
220 (struct vxfs_typed_dev4 *)typ; in vxfs_bmap_typed()