Home
last modified time | relevance | path

Searched refs:i_rdev (Results 1 – 25 of 45) sorted by relevance

12

/fs/
Dstack.c68 dest->i_rdev = src->i_rdev; in fsstack_copy_attr_all()
Dinode.c155 inode->i_rdev = 0; in inode_init_always()
1925 inode->i_rdev = rdev; in init_special_inode()
1928 inode->i_rdev = rdev; in init_special_inode()
Dchar_dev.c366 kobj = kobj_lookup(cdev_map, inode->i_rdev, &idx); in chrdev_open()
Dstat.c29 stat->rdev = inode->i_rdev; in generic_fillattr()
Dblock_dev.c647 inode->i_rdev = dev; in bdget()
704 bdev = bdget(inode->i_rdev); in bd_acquire()
/fs/f2fs/
Dinode.c63 inode->i_rdev = old_decode_dev( in __get_inode_rdev()
66 inode->i_rdev = new_decode_dev( in __get_inode_rdev()
85 if (old_valid_dev(inode->i_rdev)) { in __set_inode_rdev()
87 cpu_to_le32(old_encode_dev(inode->i_rdev)); in __set_inode_rdev()
92 cpu_to_le32(new_encode_dev(inode->i_rdev)); in __set_inode_rdev()
346 init_special_inode(inode, inode->i_mode, inode->i_rdev); in f2fs_iget()
/fs/isofs/
Drock.c406 inode->i_rdev = in parse_rock_ridge_inode_internal()
409 inode->i_rdev = in parse_rock_ridge_inode_internal()
532 inode->i_rdev = reloc->i_rdev; in parse_rock_ridge_inode_internal()
/fs/ocfs2/
Dinode.c297 inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); in ocfs2_populate_inode()
369 inode->i_rdev); in ocfs2_populate_inode()
528 inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); in ocfs2_read_locked_inode()
/fs/exofs/
Dinode.c1204 inode->i_rdev = in exofs_iget()
1207 inode->i_rdev = in exofs_iget()
1405 if (old_valid_dev(inode->i_rdev)) { in exofs_update_inode()
1407 cpu_to_le32(old_encode_dev(inode->i_rdev)); in exofs_update_inode()
1412 cpu_to_le32(new_encode_dev(inode->i_rdev)); in exofs_update_inode()
/fs/sdcardfs/
Dinode.c537 dest->i_rdev = src->i_rdev; in copy_attrs()
741 stat->rdev = inode->i_rdev; in sdcardfs_fillattr()
Dsdcardfs.h626 dest->i_rdev = src->i_rdev; in sdcardfs_copy_and_fix_attrs()
Dlookup.c153 lower_inode->i_rdev); in sdcardfs_iget()
/fs/devpts/
Dinode.c664 BUG_ON(pts_inode->i_rdev == MKDEV(TTYAUX_MAJOR, PTMX_MINOR)); in devpts_get_priv()
691 BUG_ON(inode->i_rdev == MKDEV(TTYAUX_MAJOR, PTMX_MINOR)); in devpts_pty_kill()
/fs/gfs2/
Dglops.c337 ip->i_inode.i_rdev = 0; in gfs2_dinode_in()
341 ip->i_inode.i_rdev = MKDEV(be32_to_cpu(str->di_major), in gfs2_dinode_in()
Dinode.c126 init_special_inode(inode, inode->i_mode, inode->i_rdev); in gfs2_set_iop()
476 di->di_major = cpu_to_be32(MAJOR(ip->i_inode.i_rdev)); in init_dinode()
477 di->di_minor = cpu_to_be32(MINOR(ip->i_inode.i_rdev)); in init_dinode()
662 inode->i_rdev = dev; in gfs2_create_inode()
/fs/xfs/
Dxfs_iops.c1239 inode->i_rdev = in xfs_setup_inode()
1244 inode->i_rdev = 0; in xfs_setup_inode()
1282 init_special_inode(inode, inode->i_mode, inode->i_rdev); in xfs_setup_inode()
/fs/jffs2/
Dos-linux.h32 #define JFFS2_F_I_RDEV(f) (OFNI_EDONI_2SFFJ(f)->i_rdev)
/fs/minix/
Dinode.c599 raw_inode->i_zone[0] = old_encode_dev(inode->i_rdev); in V1_minix_update_inode()
628 raw_inode->i_zone[0] = old_encode_dev(inode->i_rdev); in V2_minix_update_inode()
/fs/logfs/
Dinode.c74 init_special_inode(inode, inode->i_mode, inode->i_rdev); in logfs_inode_setops()
/fs/jfs/
Dinode.c75 init_special_inode(inode, inode->i_mode, inode->i_rdev); in jfs_iget()
/fs/ext2/
Dinode.c1516 if (old_valid_dev(inode->i_rdev)) { in __ext2_write_inode()
1518 cpu_to_le32(old_encode_dev(inode->i_rdev)); in __ext2_write_inode()
1523 cpu_to_le32(new_encode_dev(inode->i_rdev)); in __ext2_write_inode()
/fs/9p/
Dvfs_inode_dotl.c665 inode->i_rdev); in v9fs_stat2inode_dotl()
668 inode->i_rdev = new_decode_dev(stat->st_rdev); in v9fs_stat2inode_dotl()
Dvfs_inode.c278 inode->i_rdev = rdev; in v9fs_init_inode()
297 init_special_inode(inode, inode->i_mode, inode->i_rdev); in v9fs_init_inode()
/fs/sysv/
Dinode.c264 si->i_data[0] = cpu_to_fs32(sbi, old_encode_dev(inode->i_rdev)); in __sysv_write_inode()
/fs/hpfs/
Dinode.c174 ea = cpu_to_le32(new_encode_dev(i->i_rdev)); in hpfs_write_inode_ea()

12