Lines Matching refs:le32_to_cpu

63 	inode->i_mode = 0x0000FFFF & le32_to_cpu(di->i_mode);  in bfs_iget()
64 if (le32_to_cpu(di->i_vtype) == BFS_VDIR) { in bfs_iget()
68 } else if (le32_to_cpu(di->i_vtype) == BFS_VREG) { in bfs_iget()
75 BFS_I(inode)->i_sblock = le32_to_cpu(di->i_sblock); in bfs_iget()
76 BFS_I(inode)->i_eblock = le32_to_cpu(di->i_eblock); in bfs_iget()
78 i_uid_write(inode, le32_to_cpu(di->i_uid)); in bfs_iget()
79 i_gid_write(inode, le32_to_cpu(di->i_gid)); in bfs_iget()
80 set_nlink(inode, le32_to_cpu(di->i_nlink)); in bfs_iget()
83 inode_set_atime(inode, le32_to_cpu(di->i_atime), 0); in bfs_iget()
84 inode_set_mtime(inode, le32_to_cpu(di->i_mtime), 0); in bfs_iget()
85 inode_set_ctime(inode, le32_to_cpu(di->i_ctime), 0); in bfs_iget()
332 if (le32_to_cpu(bfs_sb->s_magic) != BFS_MAGIC) { in bfs_fill_super()
334 printf("No BFS filesystem on %s (magic=%08x)\n", s->s_id, le32_to_cpu(bfs_sb->s_magic)); in bfs_fill_super()
342 if (le32_to_cpu(bfs_sb->s_start) > le32_to_cpu(bfs_sb->s_end) || in bfs_fill_super()
343 le32_to_cpu(bfs_sb->s_start) < sizeof(struct bfs_super_block) + sizeof(struct bfs_dirent)) { in bfs_fill_super()
348 …info->si_lasti = (le32_to_cpu(bfs_sb->s_start) - BFS_BSIZE) / sizeof(struct bfs_inode) + BFS_ROOT_… in bfs_fill_super()
370 info->si_blocks = (le32_to_cpu(bfs_sb->s_end) + 1) >> BFS_BSIZE_BITS; in bfs_fill_super()
371 info->si_freeb = (le32_to_cpu(bfs_sb->s_end) + 1 - le32_to_cpu(bfs_sb->s_start)) >> BFS_BSIZE_BITS; in bfs_fill_super()
403 i_eoff = le32_to_cpu(di->i_eoffset); in bfs_fill_super()
404 i_sblock = le32_to_cpu(di->i_sblock); in bfs_fill_super()
405 i_eblock = le32_to_cpu(di->i_eblock); in bfs_fill_super()
406 s_size = le32_to_cpu(bfs_sb->s_end); in bfs_fill_super()
411 (i_eoff != le32_to_cpu(-1) && i_eoff > s_size) || in bfs_fill_super()
428 eblock = le32_to_cpu(di->i_eblock); in bfs_fill_super()