Home
last modified time | relevance | path

Searched refs:i_rdev (Results 1 – 25 of 60) 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 Dchar_dev.c386 kobj = kobj_lookup(cdev_map, inode->i_rdev, &idx); in chrdev_open()
H A Dinode.c189 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 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()
/linux/fs/f2fs/
H A Dinode.c78 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 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.c424 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 Dfops.c620 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 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/gfs2/
H A Dglops.c409 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 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.c283 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/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.c635 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 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()

123