Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/include/linux/
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()
/kernel/linux/linux-5.10/init/
Dnoinitramfs.c26 new_encode_dev(MKDEV(5, 1))); in default_rootfs()
Ddo_mounts.h20 return init_mknod(name, S_IFBLK | 0600, new_encode_dev(dev)); in create_dev()
Ddo_mounts_initrd.c75 real_root_dev = new_encode_dev(ROOT_DEV); in handle_initrd()
Dinitramfs.c177 rdev = new_encode_dev(MKDEV(parsed[9], parsed[10])); in parse_header()
/kernel/linux/linux-5.10/fs/
Dstat.c327 tmp.st_dev = new_encode_dev(stat->dev); in cp_new_stat()
337 tmp.st_rdev = new_encode_dev(stat->rdev); in cp_new_stat()
465 tmp.st_dev = new_encode_dev(stat->dev); in cp_new_stat64()
466 tmp.st_rdev = new_encode_dev(stat->rdev); in cp_new_stat64()
624 tmp.st_dev = new_encode_dev(stat->dev); in cp_compat_stat()
634 tmp.st_rdev = new_encode_dev(stat->rdev); in cp_compat_stat()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_fsmap.c755 fm->fmr_device == new_encode_dev(mp->m_ddev_targp->bt_dev)) in xfs_getfsmap_is_valid_device()
758 fm->fmr_device == new_encode_dev(mp->m_logdev_targp->bt_dev)) in xfs_getfsmap_is_valid_device()
761 fm->fmr_device == new_encode_dev(mp->m_rtdev_targp->bt_dev)) in xfs_getfsmap_is_valid_device()
851 handlers[0].dev = new_encode_dev(mp->m_ddev_targp->bt_dev); in xfs_getfsmap()
857 handlers[1].dev = new_encode_dev(mp->m_logdev_targp->bt_dev); in xfs_getfsmap()
862 handlers[2].dev = new_encode_dev(mp->m_rtdev_targp->bt_dev); in xfs_getfsmap()
/kernel/linux/linux-5.10/fs/ext4/
Dfsmap.c577 fm->fmr_device == new_encode_dev(sb->s_bdev->bd_dev)) in ext4_getfsmap_is_valid_device()
580 fm->fmr_device == new_encode_dev(EXT4_SB(sb)->s_journal_bdev->bd_dev)) in ext4_getfsmap_is_valid_device()
648 handlers[0].gfd_dev = new_encode_dev(sb->s_bdev->bd_dev); in ext4_getfsmap()
651 handlers[1].gfd_dev = new_encode_dev( in ext4_getfsmap()
/kernel/linux/linux-5.10/fs/jfs/
Djfs_mount.c431 j_sb->s_logdev = cpu_to_le32(new_encode_dev(sbi->log->bdev->bd_dev)); in updateSuper()
494 lrd.aggregate = cpu_to_le32(new_encode_dev(sb->s_bdev->bd_dev)); in logMOUNT()
Dnamei.c1408 jfs_ip->dev = new_encode_dev(rdev); in jfs_mknod()
/kernel/linux/linux-5.10/fs/ubifs/
Dmisc.h148 dev->new = cpu_to_le32(new_encode_dev(rdev)); in ubifs_encode_dev()
/kernel/linux/linux-5.10/fs/autofs/
Dautofs_i.h230 return new_encode_dev(sbi->sb->s_dev); in autofs_get_dev()
Ddev-ioctl.c530 devid = new_encode_dev(path.dentry->d_sb->s_dev); in autofs_dev_ioctl_ismountpoint()
543 devid = new_encode_dev(dev); in autofs_dev_ioctl_ismountpoint()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfsfh.h112 fsidv[0] = new_encode_dev(dev); in mk_fsid()
Dnfsxdr.c153 *p++ = htonl(new_encode_dev(stat->rdev)); in encode_fattr()
160 *p++ = htonl(new_encode_dev(stat->dev)); in encode_fattr()
Dnfsfh.c189 fh->fh_fsid[0] = new_encode_dev(MKDEV(ntohl((__force __be32)fh->fh_fsid[0]), in nfsd_set_fh_dentry()
/kernel/linux/linux-5.10/kernel/bpf/
Doffload.c336 info->netns_dev = new_encode_dev(ns_inode->i_sb->s_dev); in bpf_prog_offload_info_fill()
539 info->netns_dev = new_encode_dev(ns_inode->i_sb->s_dev); in bpf_map_offload_info_fill()
/kernel/linux/linux-5.10/fs/hpfs/
Dinode.c176 ea = cpu_to_le32(new_encode_dev(i->i_rdev)); in hpfs_write_inode_ea()
/kernel/linux/linux-5.10/fs/jffs2/
Dnodelist.h322 jdev->new_id = cpu_to_je32(new_encode_dev(rdev)); in jffs2_encode_dev()
/kernel/linux/linux-5.10/fs/nfs/
Dproc.c288 sattr->ia_size = new_encode_dev(rdev);/* get out your barf bag */ in nfs_proc_mknod()
/kernel/linux/linux-5.10/fs/proc/
Darray.c489 tty_nr = new_encode_dev(tty_devnum(sig->tty)); in do_task_stat()
/kernel/linux/linux-5.10/drivers/block/
Dpktcdvd.c2784 ctrl_cmd->dev = new_encode_dev(pd->bdev->bd_dev); in pkt_get_status()
2785 ctrl_cmd->pkt_dev = new_encode_dev(pd->pkt_dev); in pkt_get_status()
2813 ctrl_cmd.pkt_dev = new_encode_dev(pkt_dev); in pkt_ctl_ioctl()
/kernel/linux/linux-5.10/fs/f2fs/
Dinode.c97 cpu_to_le32(new_encode_dev(inode->i_rdev)); in __set_inode_rdev()
/kernel/linux/linux-5.10/fs/reiserfs/
Dinode.c1388 set_sd_v2_rdev(sd_v2, new_encode_dev(inode->i_rdev)); in inode2sd()
1409 set_sd_v1_rdev(sd_v1, new_encode_dev(inode->i_rdev)); in inode2sd_v1()
/kernel/linux/linux-5.10/fs/ext2/
Dinode.c1616 cpu_to_le32(new_encode_dev(inode->i_rdev)); in __ext2_write_inode()

12