Lines Matching refs:fs32
184 __u32 fs32; in ufs_get_inode_dev() local
188 fs32 = fs32_to_cpu(sb, ufsi->i_u1.i_data[1]); in ufs_get_inode_dev()
190 fs32 = fs32_to_cpu(sb, ufsi->i_u1.i_data[0]); in ufs_get_inode_dev()
194 if ((fs32 & 0xffff0000) == 0 || in ufs_get_inode_dev()
195 (fs32 & 0xffff0000) == 0xffff0000) in ufs_get_inode_dev()
196 dev = old_decode_dev(fs32 & 0x7fff); in ufs_get_inode_dev()
198 dev = MKDEV(sysv_major(fs32), sysv_minor(fs32)); in ufs_get_inode_dev()
202 dev = old_decode_dev(fs32); in ufs_get_inode_dev()
211 __u32 fs32; in ufs_set_inode_dev() local
216 fs32 = sysv_encode_dev(dev); in ufs_set_inode_dev()
217 if ((fs32 & 0xffff8000) == 0) { in ufs_set_inode_dev()
218 fs32 = old_encode_dev(dev); in ufs_set_inode_dev()
223 fs32 = old_encode_dev(dev); in ufs_set_inode_dev()
227 ufsi->i_u1.i_data[1] = cpu_to_fs32(sb, fs32); in ufs_set_inode_dev()
229 ufsi->i_u1.i_data[0] = cpu_to_fs32(sb, fs32); in ufs_set_inode_dev()