/linux/include/trace/events/ |
H A D | filemap.h | 37 __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 D | stack.c | 68 dest->i_rdev = src->i_rdev; in fsstack_copy_attr_all()
|
H A D | char_dev.c | 386 kobj = kobj_lookup(cdev_map, inode->i_rdev, &idx); in chrdev_open()
|
H A D | inode.c | 189 inode->i_rdev = 0; in inode_init_always_gfp() 2465 inode->i_rdev = rdev; in init_special_inode() 2469 inode->i_rdev = rdev; in init_special_inode()
|
/linux/drivers/dax/ |
H A D | super.c | 363 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 D | inode.c | 151 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 D | device_cgroup.h | 21 if (likely(!inode->i_rdev)) in devcgroup_inode_permission()
|
/linux/fs/f2fs/ |
H A D | inode.c | 78 inode->i_rdev = old_decode_dev(le32_to_cpu(addr[0])); in __get_inode_rdev() 80 inode->i_rdev = new_decode_dev(le32_to_cpu(addr[1])); in __get_inode_rdev() 89 if (old_valid_dev(inode->i_rdev)) { in __set_inode_rdev() 90 addr[0] = cpu_to_le32(old_encode_dev(inode->i_rdev)); in __set_inode_rdev() 94 addr[1] = cpu_to_le32(new_encode_dev(inode->i_rdev)); in __set_inode_rdev() 610 init_special_inode(inode, inode->i_mode, inode->i_rdev); in f2fs_iget()
|
/linux/fs/isofs/ |
H A D | rock.c | 407 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 D | file.c | 55 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 D | bdev.c | 424 inode->i_rdev = 0; in bdev_alloc() 460 inode->i_rdev = dev; in bdev_add() 1176 *dev = inode->i_rdev; in lookup_bdev() 1289 bdev = blkdev_get_no_open(backing_inode->i_rdev); in bdev_statx()
|
H A D | fops.c | 620 ret = bdev_permission(inode->i_rdev, mode, filp->private_data); in blkdev_open() 624 bdev = blkdev_get_no_open(inode->i_rdev); in blkdev_open() 691 if (IS_SWAPFILE(bd_inode) && !is_hibernate_resume_dev(bd_inode->i_rdev)) in blkdev_write_iter()
|
/linux/drivers/misc/cxl/ |
H A D | file.c | 46 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 D | flash.c | 394 int adapter_num = CXL_DEVT_ADAPTER(inode->i_rdev); in device_open()
|
/linux/fs/gfs2/ |
H A D | glops.c | 409 inode->i_rdev = 0; in gfs2_dinode_in() 413 inode->i_rdev = MKDEV(be32_to_cpu(str->di_major), in gfs2_dinode_in()
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_inode_fork.c | 257 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 D | xfs_inode_util.c | 283 inode->i_rdev = args->rdev; in xfs_inode_init()
|
/linux/fs/jffs2/ |
H A D | os-linux.h | 32 #define JFFS2_F_I_RDEV(f) (OFNI_EDONI_2SFFJ(f)->i_rdev)
|
/linux/fs/minix/ |
H A D | inode.c | 614 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 D | inode.c | 64 init_special_inode(inode, inode->i_mode, inode->i_rdev); in jfs_iget()
|
/linux/fs/sysv/ |
H A D | inode.c | 260 si->i_data[0] = cpu_to_fs32(sbi, old_encode_dev(inode->i_rdev)); in __sysv_write_inode()
|
/linux/fs/ext2/ |
H A D | inode.c | 1579 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/hpfs/ |
H A D | inode.c | 176 ea = cpu_to_le32(new_encode_dev(i->i_rdev)); in hpfs_write_inode_ea()
|
/linux/fs/xfs/ |
H A D | xfs_iops.c | 635 stat->rdev = inode->i_rdev; in xfs_vn_getattr() 1369 init_special_inode(inode, inode->i_mode, inode->i_rdev); in xfs_setup_iops()
|
/linux/fs/9p/ |
H A D | vfs_inode.c | 265 inode->i_rdev = rdev; in v9fs_init_inode() 285 init_special_inode(inode, inode->i_mode, inode->i_rdev); in v9fs_init_inode()
|