/openbmc/linux/include/linux/ |
H A D | kdev_t.h | 39 static __always_inline u32 new_encode_dev(dev_t dev) in new_encode_dev() function 55 return new_encode_dev(dev); in huge_encode_dev()
|
/openbmc/linux/init/ |
H A D | noinitramfs.c | 28 new_encode_dev(MKDEV(5, 1))); in default_rootfs()
|
H A D | do_mounts.h | 20 return init_mknod(name, S_IFBLK | 0600, new_encode_dev(dev)); in create_dev()
|
H A D | do_mounts_initrd.c | 95 real_root_dev = new_encode_dev(ROOT_DEV); in handle_initrd()
|
H A D | initramfs.c | 206 rdev = new_encode_dev(MKDEV(parsed[9], parsed[10])); in parse_header()
|
/openbmc/linux/fs/ |
H A D | stat.c | 407 tmp.st_dev = new_encode_dev(stat->dev); in cp_new_stat() 417 tmp.st_rdev = new_encode_dev(stat->rdev); in cp_new_stat() 545 tmp.st_dev = new_encode_dev(stat->dev); in cp_new_stat64() 546 tmp.st_rdev = new_encode_dev(stat->rdev); in cp_new_stat64() 720 tmp.st_dev = new_encode_dev(stat->dev); in cp_compat_stat() 730 tmp.st_rdev = new_encode_dev(stat->rdev); in cp_compat_stat()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_fsmap.c | 799 fm->fmr_device == new_encode_dev(mp->m_ddev_targp->bt_dev)) in xfs_getfsmap_is_valid_device() 802 fm->fmr_device == new_encode_dev(mp->m_logdev_targp->bt_dev)) in xfs_getfsmap_is_valid_device() 805 fm->fmr_device == new_encode_dev(mp->m_rtdev_targp->bt_dev)) in xfs_getfsmap_is_valid_device() 910 handlers[0].dev = new_encode_dev(mp->m_ddev_targp->bt_dev); in xfs_getfsmap() 916 handlers[1].dev = new_encode_dev(mp->m_logdev_targp->bt_dev); in xfs_getfsmap() 921 handlers[2].dev = new_encode_dev(mp->m_rtdev_targp->bt_dev); in xfs_getfsmap()
|
/openbmc/linux/fs/ext4/ |
H A D | fsmap.c | 629 fm->fmr_device == new_encode_dev(sb->s_bdev->bd_dev)) in ext4_getfsmap_is_valid_device() 632 fm->fmr_device == new_encode_dev(EXT4_SB(sb)->s_journal_bdev->bd_dev)) in ext4_getfsmap_is_valid_device() 700 handlers[0].gfd_dev = new_encode_dev(sb->s_bdev->bd_dev); in ext4_getfsmap() 703 handlers[1].gfd_dev = new_encode_dev( in ext4_getfsmap()
|
/openbmc/linux/fs/jfs/ |
H A D | jfs_mount.c | 434 new_encode_dev(sbi->log->bdev_handle->bdev->bd_dev)); in updateSuper() 497 lrd.aggregate = cpu_to_le32(new_encode_dev(sb->s_bdev->bd_dev)); in logMOUNT()
|
/openbmc/linux/fs/ubifs/ |
H A D | misc.h | 148 dev->new = cpu_to_le32(new_encode_dev(rdev)); in ubifs_encode_dev()
|
/openbmc/u-boot/fs/ubifs/ |
H A D | misc.h | 148 dev->new = cpu_to_le32(new_encode_dev(rdev)); in ubifs_encode_dev()
|
/openbmc/linux/fs/nfsd/ |
H A D | nfsfh.h | 162 fsidv[0] = new_encode_dev(dev); in mk_fsid()
|
H A D | nfsxdr.c | 240 *p++ = cpu_to_be32(new_encode_dev(stat->rdev)); in svcxdr_encode_fattr() 256 fsid = new_encode_dev(stat->dev); in svcxdr_encode_fattr()
|
H A D | nfsfh.c | 191 fh->fh_fsid[0] = new_encode_dev(MKDEV(ntohl((__force __be32)fh->fh_fsid[0]), in nfsd_set_fh_dentry()
|
/openbmc/linux/fs/autofs/ |
H A D | autofs_i.h | 234 return new_encode_dev(sbi->sb->s_dev); in autofs_get_dev()
|
H A D | dev-ioctl.c | 531 devid = new_encode_dev(path.dentry->d_sb->s_dev); in autofs_dev_ioctl_ismountpoint() 544 devid = new_encode_dev(dev); in autofs_dev_ioctl_ismountpoint()
|
/openbmc/linux/fs/pstore/ |
H A D | blk.c | 274 init_mknod(devname, S_IFBLK | 0600, new_encode_dev(dev)); in early_boot_devpath()
|
/openbmc/linux/kernel/bpf/ |
H A D | offload.c | 496 info->netns_dev = new_encode_dev(ns_inode->i_sb->s_dev); in bpf_prog_offload_info_fill() 680 info->netns_dev = new_encode_dev(ns_inode->i_sb->s_dev); in bpf_map_offload_info_fill()
|
/openbmc/linux/fs/hpfs/ |
H A D | inode.c | 176 ea = cpu_to_le32(new_encode_dev(i->i_rdev)); in hpfs_write_inode_ea()
|
/openbmc/linux/fs/jffs2/ |
H A D | nodelist.h | 322 jdev->new_id = cpu_to_je32(new_encode_dev(rdev)); in jffs2_encode_dev()
|
/openbmc/linux/fs/nfs/ |
H A D | proc.c | 288 sattr->ia_size = new_encode_dev(rdev);/* get out your barf bag */ in nfs_proc_mknod()
|
/openbmc/linux/fs/proc/ |
H A D | array.c | 520 tty_nr = new_encode_dev(tty_devnum(sig->tty)); in do_task_stat()
|
/openbmc/linux/drivers/block/ |
H A D | pktcdvd.c | 2781 ctrl_cmd->dev = new_encode_dev(pd->bdev->bd_dev); in pkt_get_status() 2782 ctrl_cmd->pkt_dev = new_encode_dev(pd->pkt_dev); in pkt_get_status() 2810 ctrl_cmd.pkt_dev = new_encode_dev(pkt_dev); in pkt_ctl_ioctl()
|
/openbmc/linux/fs/fuse/ |
H A D | dir.c | 855 inarg.rdev = new_encode_dev(rdev); in fuse_mknod() 1173 attr->rdev = new_encode_dev(MKDEV(sx->rdev_major, sx->rdev_minor)); in fuse_statx_to_attr()
|
/openbmc/linux/fs/f2fs/ |
H A D | inode.c | 95 addr[1] = cpu_to_le32(new_encode_dev(inode->i_rdev)); in __set_inode_rdev()
|