Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/include/trace/events/
Dfilemap.h36 __entry->s_dev = page->mapping->host->i_rdev;
74 __entry->s_dev = mapping->host->i_rdev;
103 file->f_mapping->host->i_rdev;
/kernel/linux/linux-5.10/fs/
Dstack.c68 dest->i_rdev = src->i_rdev; in fsstack_copy_attr_all()
/kernel/linux/linux-5.10/fs/erofs/
Dinode.c103 inode->i_rdev = in erofs_read_inode()
108 inode->i_rdev = 0; in erofs_read_inode()
143 inode->i_rdev = in erofs_read_inode()
148 inode->i_rdev = 0; in erofs_read_inode()
268 init_special_inode(inode, inode->i_mode, inode->i_rdev); in erofs_fill_inode()
/kernel/linux/linux-5.10/arch/sh/boards/mach-landisk/
Dgio.c34 minor = MINOR(inode->i_rdev); in gio_open()
51 minor = MINOR(inode->i_rdev); in gio_close()
/kernel/linux/linux-5.10/drivers/staging/vme/devices/
Dvme_user.c178 unsigned int minor = MINOR(file_inode(file)->i_rdev); in vme_user_read()
221 unsigned int minor = MINOR(file_inode(file)->i_rdev); in vme_user_write()
263 unsigned int minor = MINOR(file_inode(file)->i_rdev); in vme_user_llseek()
297 unsigned int minor = MINOR(inode->i_rdev); in vme_user_ioctl()
415 unsigned int minor = MINOR(inode->i_rdev); in vme_user_unlocked_ioctl()
484 unsigned int minor = MINOR(file_inode(file)->i_rdev); in vme_user_mmap()
/kernel/linux/linux-5.10/drivers/dax/
Dsuper.c468 inode->i_rdev = 0; in dax_alloc_inode()
482 if (inode->i_rdev) in dax_free_inode()
483 ida_simple_remove(&dax_minor_ida, MINOR(inode->i_rdev)); in dax_free_inode()
521 return inode->i_rdev == devt; in dax_test()
528 inode->i_rdev = devt; in dax_set()
/kernel/linux/linux-5.10/include/linux/
Ddevice_cgroup.h21 if (likely(!inode->i_rdev)) in devcgroup_inode_permission()
/kernel/linux/linux-5.10/fs/f2fs/
Dinode.c65 inode->i_rdev = old_decode_dev( in __get_inode_rdev()
68 inode->i_rdev = new_decode_dev( in __get_inode_rdev()
90 if (old_valid_dev(inode->i_rdev)) { in __set_inode_rdev()
92 cpu_to_le32(old_encode_dev(inode->i_rdev)); in __set_inode_rdev()
97 cpu_to_le32(new_encode_dev(inode->i_rdev)); in __set_inode_rdev()
525 init_special_inode(inode, inode->i_mode, inode->i_rdev); in f2fs_iget()
/kernel/linux/linux-5.10/fs/isofs/
Drock.c407 inode->i_rdev = in parse_rock_ridge_inode_internal()
410 inode->i_rdev = in parse_rock_ridge_inode_internal()
533 inode->i_rdev = reloc->i_rdev; in parse_rock_ridge_inode_internal()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/ocfs2/
Dinode.c294 inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); in ocfs2_populate_inode()
367 inode->i_rdev); in ocfs2_populate_inode()
542 inode->i_rdev = huge_decode_dev(le64_to_cpu(fe->id1.dev1.i_rdev)); in ocfs2_read_locked_inode()
/kernel/linux/linux-5.10/drivers/hyperhold/
Dhp_device.c65 dev->bdev = blkdev_get_by_dev(inode->i_rdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL, dev); in bind_bdev()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_inode_fork.c244 inode->i_rdev = xfs_to_linux_dev_t(xfs_dinode_get_rdev(dip)); in xfs_iformat_data_fork()
643 linux_to_xfs_dev_t(VFS_I(ip)->i_rdev)); in xfs_iflush_fork()
/kernel/linux/linux-5.10/fs/sharefs/
Dlookup.c137 lower_inode->i_rdev); in sharefs_iget()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/jffs2/
Dos-linux.h32 #define JFFS2_F_I_RDEV(f) (OFNI_EDONI_2SFFJ(f)->i_rdev)
/kernel/linux/linux-5.10/fs/gfs2/
Dglops.c416 ip->i_inode.i_rdev = 0; in gfs2_dinode_in()
420 ip->i_inode.i_rdev = MKDEV(be32_to_cpu(str->di_major), in gfs2_dinode_in()
Dinode.c99 init_special_inode(inode, inode->i_mode, inode->i_rdev); in gfs2_set_iop()
489 di->di_major = cpu_to_be32(MAJOR(ip->i_inode.i_rdev)); in init_dinode()
490 di->di_minor = cpu_to_be32(MINOR(ip->i_inode.i_rdev)); in init_dinode()
676 inode->i_rdev = dev; in gfs2_create_inode()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-m41t80.c786 if (MINOR(inode->i_rdev) == WATCHDOG_MINOR) { in wdt_open()
810 if (MINOR(inode->i_rdev) == WATCHDOG_MINOR) in wdt_release()
/kernel/linux/linux-5.10/fs/minix/
Dinode.c596 raw_inode->i_zone[0] = old_encode_dev(inode->i_rdev); in V1_minix_update_inode()
625 raw_inode->i_zone[0] = old_encode_dev(inode->i_rdev); in V2_minix_update_inode()
/kernel/linux/linux-5.10/fs/jfs/
Dinode.c64 init_special_inode(inode, inode->i_mode, inode->i_rdev); in jfs_iget()
/kernel/linux/linux-5.10/fs/sysv/
Dinode.c263 si->i_data[0] = cpu_to_fs32(sbi, old_encode_dev(inode->i_rdev)); in __sysv_write_inode()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_itable.c120 buf->bs_rdev = sysv_encode_dev(inode->i_rdev); in xfs_bulkstat_one_int()
/kernel/linux/linux-5.10/fs/9p/
Dvfs_inode_dotl.c664 inode->i_rdev); in v9fs_stat2inode_dotl()
667 inode->i_rdev = new_decode_dev(stat->st_rdev); in v9fs_stat2inode_dotl()
/kernel/linux/linux-5.10/fs/ext2/
Dinode.c1609 if (old_valid_dev(inode->i_rdev)) { in __ext2_write_inode()
1611 cpu_to_le32(old_encode_dev(inode->i_rdev)); in __ext2_write_inode()
1616 cpu_to_le32(new_encode_dev(inode->i_rdev)); in __ext2_write_inode()

1234