Home
last modified time | relevance | path

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

123

/linux/include/trace/events/
H A Dfilemap.h37 __entry->s_dev = folio->mapping->host->i_rdev;
82 __entry->s_dev = mapping->host->i_rdev;
131 __entry->s_dev = mapping->host->i_rdev;
160 __entry->s_dev = mapping->host->i_rdev;
189 file->f_mapping->host->i_rdev;
/linux/fs/
H A Dstack.c68 dest->i_rdev = src->i_rdev; in fsstack_copy_attr_all()
H A Dinode.c260 inode->i_rdev = 0; in inode_init_always_gfp()
2573 inode->i_rdev = rdev; in init_special_inode()
2577 inode->i_rdev = rdev; in init_special_inode()
/linux/drivers/dax/
H A Dsuper.c363 inode->i_rdev = 0; in dax_alloc_inode()
375 if (inode->i_rdev) in dax_free_inode()
414 return inode->i_rdev == devt; in dax_test()
421 inode->i_rdev = devt; in dax_set()
/linux/fs/erofs/
H A Dinode.c151 inode->i_rdev = new_decode_dev(le32_to_cpu(iu.rdev)); in erofs_read_inode()
155 inode->i_rdev = 0; in erofs_read_inode()
237 init_special_inode(inode, inode->i_mode, inode->i_rdev); in erofs_fill_inode()
/linux/include/linux/
H A Ddevice_cgroup.h21 if (likely(!inode->i_rdev)) in devcgroup_inode_permission()
H A Dfs.h668 dev_t i_rdev; member
960 return MINOR(inode->i_rdev); in iminor()
965 return MAJOR(inode->i_rdev); in imajor()
2342 (inode)->i_rdev == WHITEOUT_DEV)
/linux/fs/isofs/
H A Drock.c407 inode->i_rdev = in parse_rock_ridge_inode_internal()
410 inode->i_rdev = in parse_rock_ridge_inode_internal()
529 inode->i_rdev = reloc->i_rdev; in parse_rock_ridge_inode_internal()
/linux/drivers/misc/ocxl/
H A Dfile.c55 pr_debug("%s for device %x\n", __func__, inode->i_rdev); in afu_open()
57 info = find_and_get_file_info(inode->i_rdev); in afu_open()
461 pr_debug("%s for device %x\n", __func__, inode->i_rdev); in afu_release()
/linux/block/
H A Dbdev.c423 inode->i_rdev = 0; in bdev_alloc()
459 inode->i_rdev = dev; in bdev_add()
1175 *dev = inode->i_rdev; in lookup_bdev()
1288 bdev = blkdev_get_no_open(backing_inode->i_rdev); in bdev_statx()
H A Dfops.c616 ret = bdev_permission(inode->i_rdev, mode, filp->private_data); in blkdev_open()
620 bdev = blkdev_get_no_open(inode->i_rdev); in blkdev_open()
688 if (IS_SWAPFILE(bd_inode) && !is_hibernate_resume_dev(bd_inode->i_rdev)) in blkdev_write_iter()
/linux/drivers/misc/cxl/
H A Dfile.c46 int adapter_num = CXL_DEVT_ADAPTER(inode->i_rdev); in __afu_open()
47 int slice = CXL_DEVT_AFU(inode->i_rdev); in __afu_open()
H A Dflash.c394 int adapter_num = CXL_DEVT_ADAPTER(inode->i_rdev); in device_open()
/linux/fs/xfs/libxfs/
H A Dxfs_inode_fork.c257 inode->i_rdev = xfs_to_linux_dev_t(xfs_dinode_get_rdev(dip)); in xfs_iformat_data_fork()
670 linux_to_xfs_dev_t(VFS_I(ip)->i_rdev)); in xfs_iflush_fork()
H A Dxfs_inode_util.c285 inode->i_rdev = args->rdev; in xfs_inode_init()
/linux/fs/jffs2/
H A Dos-linux.h32 #define JFFS2_F_I_RDEV(f) (OFNI_EDONI_2SFFJ(f)->i_rdev)
/linux/fs/minix/
H A Dinode.c614 raw_inode->i_zone[0] = old_encode_dev(inode->i_rdev); in V1_minix_update_inode()
643 raw_inode->i_zone[0] = old_encode_dev(inode->i_rdev); in V2_minix_update_inode()
/linux/fs/jfs/
H A Dinode.c64 init_special_inode(inode, inode->i_mode, inode->i_rdev); in jfs_iget()
/linux/fs/sysv/
H A Dinode.c260 si->i_data[0] = cpu_to_fs32(sbi, old_encode_dev(inode->i_rdev)); in __sysv_write_inode()
/linux/fs/ext2/
H A Dinode.c1579 if (old_valid_dev(inode->i_rdev)) { in __ext2_write_inode()
1581 cpu_to_le32(old_encode_dev(inode->i_rdev)); in __ext2_write_inode()
1586 cpu_to_le32(new_encode_dev(inode->i_rdev)); in __ext2_write_inode()
/linux/fs/ntfs3/
H A Dxattr.c979 value = cpu_to_le32(inode->i_rdev); in ntfs_save_wsl_perm()
1016 inode->i_rdev = le32_to_cpu(value[0]); in ntfs_get_wsl_perm()
/linux/fs/hpfs/
H A Dinode.c176 ea = cpu_to_le32(new_encode_dev(i->i_rdev)); in hpfs_write_inode_ea()
/linux/fs/xfs/
H A Dxfs_iops.c647 stat->rdev = inode->i_rdev; in xfs_vn_getattr()
1400 init_special_inode(inode, inode->i_mode, inode->i_rdev); in xfs_setup_iops()
/linux/fs/9p/
H A Dvfs_inode.c265 inode->i_rdev = rdev; in v9fs_init_inode()
285 init_special_inode(inode, inode->i_mode, inode->i_rdev); in v9fs_init_inode()
/linux/fs/hfsplus/
H A Dcatalog.c100 perms->dev = cpu_to_be32(inode->i_rdev); in hfsplus_cat_set_perms()

123