• Home
  • Raw
  • Download

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->i_atime.tv_sec = le32_to_cpu(di->i_atime); in bfs_iget()
84 inode->i_mtime.tv_sec = le32_to_cpu(di->i_mtime); in bfs_iget()
85 inode->i_ctime.tv_sec = le32_to_cpu(di->i_ctime); in bfs_iget()
335 if (le32_to_cpu(bfs_sb->s_magic) != BFS_MAGIC) { in bfs_fill_super()
337 printf("No BFS filesystem on %s (magic=%08x)\n", s->s_id, le32_to_cpu(bfs_sb->s_magic)); in bfs_fill_super()
345 if (le32_to_cpu(bfs_sb->s_start) > le32_to_cpu(bfs_sb->s_end) || in bfs_fill_super()
346 le32_to_cpu(bfs_sb->s_start) < sizeof(struct bfs_super_block) + sizeof(struct bfs_dirent)) { in bfs_fill_super()
351 …info->si_lasti = (le32_to_cpu(bfs_sb->s_start) - BFS_BSIZE) / sizeof(struct bfs_inode) + BFS_ROOT_… in bfs_fill_super()
373 info->si_blocks = (le32_to_cpu(bfs_sb->s_end) + 1) >> BFS_BSIZE_BITS; in bfs_fill_super()
374 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()
406 i_eoff = le32_to_cpu(di->i_eoffset); in bfs_fill_super()
407 i_sblock = le32_to_cpu(di->i_sblock); in bfs_fill_super()
408 i_eblock = le32_to_cpu(di->i_eblock); in bfs_fill_super()
409 s_size = le32_to_cpu(bfs_sb->s_end); in bfs_fill_super()
414 (i_eoff != le32_to_cpu(-1) && i_eoff > s_size) || in bfs_fill_super()
431 eblock = le32_to_cpu(di->i_eblock); in bfs_fill_super()