Home
last modified time | relevance | path

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

123

/linux-6.6.21/include/trace/events/
Dfilemap.h37 __entry->s_dev = folio->mapping->host->i_rdev;
76 __entry->s_dev = mapping->host->i_rdev;
105 file->f_mapping->host->i_rdev;
/linux-6.6.21/fs/
Dstack.c68 dest->i_rdev = src->i_rdev; in fsstack_copy_attr_all()
Dinode.c186 inode->i_rdev = 0; in inode_init_always()
2343 inode->i_rdev = rdev; in init_special_inode()
2347 inode->i_rdev = rdev; in init_special_inode()
/linux-6.6.21/fs/erofs/
Dinode.c93 inode->i_rdev = in erofs_read_inode()
98 inode->i_rdev = 0; in erofs_read_inode()
136 inode->i_rdev = in erofs_read_inode()
141 inode->i_rdev = 0; in erofs_read_inode()
280 init_special_inode(inode, inode->i_mode, inode->i_rdev); in erofs_fill_inode()
/linux-6.6.21/drivers/dax/
Dsuper.c356 inode->i_rdev = 0; in dax_alloc_inode()
368 if (inode->i_rdev) in dax_free_inode()
407 return inode->i_rdev == devt; in dax_test()
414 inode->i_rdev = devt; in dax_set()
/linux-6.6.21/include/linux/
Ddevice_cgroup.h21 if (likely(!inode->i_rdev)) in devcgroup_inode_permission()
/linux-6.6.21/fs/f2fs/
Dinode.c71 inode->i_rdev = old_decode_dev( in __get_inode_rdev()
74 inode->i_rdev = new_decode_dev( in __get_inode_rdev()
98 if (old_valid_dev(inode->i_rdev)) { in __set_inode_rdev()
100 cpu_to_le32(old_encode_dev(inode->i_rdev)); in __set_inode_rdev()
105 cpu_to_le32(new_encode_dev(inode->i_rdev)); in __set_inode_rdev()
629 init_special_inode(inode, inode->i_mode, inode->i_rdev); in f2fs_iget()
/linux-6.6.21/fs/isofs/
Drock.c407 inode->i_rdev = in parse_rock_ridge_inode_internal()
410 inode->i_rdev = in parse_rock_ridge_inode_internal()
531 inode->i_rdev = reloc->i_rdev; in parse_rock_ridge_inode_internal()
/linux-6.6.21/drivers/misc/ocxl/
Dfile.c56 pr_debug("%s for device %x\n", __func__, inode->i_rdev); in afu_open()
58 info = find_and_get_file_info(inode->i_rdev); in afu_open()
462 pr_debug("%s for device %x\n", __func__, inode->i_rdev); in afu_release()
/linux-6.6.21/block/
Dbdev.c394 inode->i_rdev = 0; in bdev_alloc()
431 bdev->bd_inode->i_rdev = dev; in bdev_add()
940 *dev = inode->i_rdev; in lookup_bdev()
1044 bdev = blkdev_get_no_open(inode->i_rdev); in bdev_statx_dioalign()
Dfops.c589 bdev = blkdev_get_by_dev(inode->i_rdev, file_to_blk_mode(filp), in blkdev_open()
656 if (IS_SWAPFILE(bd_inode) && !is_hibernate_resume_dev(bd_inode->i_rdev)) in blkdev_write_iter()
/linux-6.6.21/fs/ocfs2/
Dinode.c292 inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); in ocfs2_populate_inode()
365 inode->i_rdev); in ocfs2_populate_inode()
540 inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); in ocfs2_read_locked_inode()
/linux-6.6.21/drivers/misc/cxl/
Dfile.c48 int adapter_num = CXL_DEVT_ADAPTER(inode->i_rdev); in __afu_open()
49 int slice = CXL_DEVT_AFU(inode->i_rdev); in __afu_open()
Dflash.c394 int adapter_num = CXL_DEVT_ADAPTER(inode->i_rdev); in device_open()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_inode_fork.c246 inode->i_rdev = xfs_to_linux_dev_t(xfs_dinode_get_rdev(dip)); in xfs_iformat_data_fork()
659 linux_to_xfs_dev_t(VFS_I(ip)->i_rdev)); in xfs_iflush_fork()
/linux-6.6.21/fs/jffs2/
Dos-linux.h32 #define JFFS2_F_I_RDEV(f) (OFNI_EDONI_2SFFJ(f)->i_rdev)
/linux-6.6.21/fs/gfs2/
Dglops.c419 inode->i_rdev = 0; in gfs2_dinode_in()
423 inode->i_rdev = MKDEV(be32_to_cpu(str->di_major), in gfs2_dinode_in()
/linux-6.6.21/fs/minix/
Dinode.c594 raw_inode->i_zone[0] = old_encode_dev(inode->i_rdev); in V1_minix_update_inode()
623 raw_inode->i_zone[0] = old_encode_dev(inode->i_rdev); in V2_minix_update_inode()
/linux-6.6.21/fs/sysv/
Dinode.c262 si->i_data[0] = cpu_to_fs32(sbi, old_encode_dev(inode->i_rdev)); in __sysv_write_inode()
/linux-6.6.21/fs/jfs/
Dinode.c64 init_special_inode(inode, inode->i_mode, inode->i_rdev); in jfs_iget()
/linux-6.6.21/fs/ext2/
Dinode.c1582 if (old_valid_dev(inode->i_rdev)) { in __ext2_write_inode()
1584 cpu_to_le32(old_encode_dev(inode->i_rdev)); in __ext2_write_inode()
1589 cpu_to_le32(new_encode_dev(inode->i_rdev)); in __ext2_write_inode()
/linux-6.6.21/fs/xfs/
Dxfs_itable.c142 buf->bs_rdev = sysv_encode_dev(inode->i_rdev); in xfs_bulkstat_one_int()
Dxfs_iops.c611 stat->rdev = inode->i_rdev; in xfs_vn_getattr()
1345 init_special_inode(inode, inode->i_mode, inode->i_rdev); in xfs_setup_iops()
/linux-6.6.21/fs/ntfs3/
Dxattr.c975 value = cpu_to_le32(inode->i_rdev); in ntfs_save_wsl_perm()
1012 inode->i_rdev = le32_to_cpu(value[0]); in ntfs_get_wsl_perm()
/linux-6.6.21/fs/hpfs/
Dinode.c176 ea = cpu_to_le32(new_encode_dev(i->i_rdev)); in hpfs_write_inode_ea()

123