Home
last modified time | relevance | path

Searched refs:new_encode_dev (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/linux/include/linux/
H A Dkdev_t.h39 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 Dnoinitramfs.c28 new_encode_dev(MKDEV(5, 1))); in default_rootfs()
H A Ddo_mounts.h20 return init_mknod(name, S_IFBLK | 0600, new_encode_dev(dev)); in create_dev()
H A Ddo_mounts_initrd.c95 real_root_dev = new_encode_dev(ROOT_DEV); in handle_initrd()
H A Dinitramfs.c206 rdev = new_encode_dev(MKDEV(parsed[9], parsed[10])); in parse_header()
/openbmc/linux/fs/
H A Dstat.c407 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 Dxfs_fsmap.c799 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 Dfsmap.c629 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 Djfs_mount.c434 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 Dmisc.h148 dev->new = cpu_to_le32(new_encode_dev(rdev)); in ubifs_encode_dev()
/openbmc/u-boot/fs/ubifs/
H A Dmisc.h148 dev->new = cpu_to_le32(new_encode_dev(rdev)); in ubifs_encode_dev()
/openbmc/linux/fs/nfsd/
H A Dnfsfh.h162 fsidv[0] = new_encode_dev(dev); in mk_fsid()
H A Dnfsxdr.c240 *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 Dnfsfh.c191 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 Dautofs_i.h234 return new_encode_dev(sbi->sb->s_dev); in autofs_get_dev()
H A Ddev-ioctl.c531 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 Dblk.c274 init_mknod(devname, S_IFBLK | 0600, new_encode_dev(dev)); in early_boot_devpath()
/openbmc/linux/kernel/bpf/
H A Doffload.c496 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 Dinode.c176 ea = cpu_to_le32(new_encode_dev(i->i_rdev)); in hpfs_write_inode_ea()
/openbmc/linux/fs/jffs2/
H A Dnodelist.h322 jdev->new_id = cpu_to_je32(new_encode_dev(rdev)); in jffs2_encode_dev()
/openbmc/linux/fs/nfs/
H A Dproc.c288 sattr->ia_size = new_encode_dev(rdev);/* get out your barf bag */ in nfs_proc_mknod()
/openbmc/linux/fs/proc/
H A Darray.c520 tty_nr = new_encode_dev(tty_devnum(sig->tty)); in do_task_stat()
/openbmc/linux/drivers/block/
H A Dpktcdvd.c2781 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 Ddir.c855 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 Dinode.c95 addr[1] = cpu_to_le32(new_encode_dev(inode->i_rdev)); in __set_inode_rdev()

12