MINOR 421 block/genhd.c idr_remove(&ext_devt_idr, blk_mangle_minor(MINOR(devt))); MINOR 428 block/genhd.c if (MAJOR(devt) <= 0xff && MINOR(devt) <= 0xff) { MINOR 430 block/genhd.c snprintf(tbuf, BDEVT_SIZE, "%02x%02x", MAJOR(devt), MINOR(devt)); MINOR 433 block/genhd.c snprintf(buf, BDEVT_SIZE, "%03x:%05x", MAJOR(devt), MINOR(devt)); MINOR 510 block/genhd.c disk->first_minor = MINOR(devt); MINOR 557 block/genhd.c part = idr_find(&ext_devt_idr, blk_mangle_minor(MINOR(devt))); MINOR 723 block/genhd.c MAJOR(part_devt(part)), MINOR(part_devt(part)), MINOR 742 block/genhd.c if (request_module("block-major-%d-%d", MAJOR(devt), MINOR(devt)) > 0) MINOR 976 block/genhd.c MAJOR(part_devt(hd)), MINOR(part_devt(hd)), MINOR 1138 fs/9p/vfs_inode.c dentry->d_name.name, mode, MAJOR(rdev), MINOR(rdev)); MINOR 1148 fs/9p/vfs_inode.c sprintf(name, "b %u %u", MAJOR(rdev), MINOR(rdev)); MINOR 1150 fs/9p/vfs_inode.c sprintf(name, "c %u %u", MAJOR(rdev), MINOR(rdev)); MINOR 355 fs/block_dev.c return MAJOR(dev)+MINOR(dev); MINOR 206 fs/char_dev.c cd = __register_chrdev_region(MAJOR(n), MINOR(n), MINOR 216 fs/char_dev.c kfree(__unregister_chrdev_region(MAJOR(n), MINOR(n), next - n)); MINOR 319 fs/char_dev.c kfree(__unregister_chrdev_region(MAJOR(n), MINOR(n), next - n)); MINOR 535 fs/char_dev.c if (request_module("char-major-%d-%d", MAJOR(dev), MINOR(dev)) > 0) MINOR 5168 fs/cifs/cifssmb.c data_offset->DevMinor = cpu_to_le64(MINOR(args->device)); MINOR 441 fs/cifs/dir.c cpu_to_le64(MINOR(device_number)); MINOR 452 fs/cifs/dir.c cpu_to_le64(MINOR(device_number)); MINOR 197 fs/cifs/inode.c pfnd_dat->DevMinor = cpu_to_le64(MINOR(pinode->i_rdev)); MINOR 983 fs/dquot.c MINOR(dquot->dq_sb->s_dev)); MINOR 494 fs/fuse/inode.c MAJOR(fc->dev), MINOR(fc->dev)); MINOR 787 fs/gfs2/inode.c di->di_minor = cpu_to_be32(MINOR(dev)); MINOR 35 fs/gfs2/sys.c MAJOR(sdp->sd_vfs->s_dev), MINOR(sdp->sd_vfs->s_dev)); MINOR 787 fs/hostfs/hostfs_kern.c err = do_mknod(name, mode, MAJOR(dev), MINOR(dev)); MINOR 2139 fs/locks.c MINOR(inode->i_sb->s_dev), inode->i_ino); MINOR 840 fs/namespace.c MAJOR(sb->s_dev), MINOR(sb->s_dev)); MINOR 1485 fs/nfs/client.c MAJOR(server->s_dev), MINOR(server->s_dev)); MINOR 640 fs/nfs/nfs3proc.c MAJOR(rdev), MINOR(rdev)); MINOR 167 fs/nfs/nfs3xdr.c if (MAJOR(fattr->rdev) != major || MINOR(fattr->rdev) != minor) MINOR 437 fs/nfs/nfs3xdr.c *p++ = htonl(MINOR(args->rdev)); MINOR 2270 fs/nfs/nfs4proc.c data->arg.u.device.specdata2 = MINOR(rdev); MINOR 2275 fs/nfs/nfs4proc.c data->arg.u.device.specdata2 = MINOR(rdev); MINOR 2819 fs/nfs/nfs4xdr.c if (MAJOR(tmp) == major && MINOR(tmp) == minor) MINOR 1774 fs/nfs/super.c "%x:%x", MAJOR(sb->s_dev), MINOR(sb->s_dev)); MINOR 333 fs/nfsd/nfs3proc.c MINOR(rdev) != argp->minor) MINOR 190 fs/nfsd/nfs3xdr.c *p++ = htonl((u32) MINOR(stat->rdev)); MINOR 395 fs/nfsd/nfs4proc.c MINOR(rdev) != create->cr_specdata2) MINOR 405 fs/nfsd/nfs4proc.c MINOR(rdev) != create->cr_specdata2) MINOR 1561 fs/nfsd/nfs4xdr.c WRITE32(MINOR(stat.dev)); MINOR 1736 fs/nfsd/nfs4xdr.c WRITE32((u32) MINOR(stat.rdev)); MINOR 402 fs/nfsd/nfsfh.c MAJOR(ex_dev), MINOR(ex_dev), MINOR 1042 fs/ocfs2/journal.c MAJOR(osb->sb->s_dev), MINOR(osb->sb->s_dev)); MINOR 1223 fs/ocfs2/journal.c MAJOR(osb->sb->s_dev), MINOR(osb->sb->s_dev)); MINOR 1447 fs/ocfs2/super.c MAJOR(osb->sb->s_dev), MINOR(osb->sb->s_dev)); MINOR 150 fs/partitions/check.c MAJOR(dev), MINOR(dev)); MINOR 63 fs/proc/nommu.c MAJOR(dev), MINOR(dev), ino, &len); MINOR 32 fs/proc/proc_tty.c seq_printf(m, "%3d %d-%d ", MAJOR(from), MINOR(from), MINOR 33 fs/proc/proc_tty.c MINOR(from) + num - 1); MINOR 35 fs/proc/proc_tty.c seq_printf(m, "%3d %7d ", MAJOR(from), MINOR(from)); MINOR 227 fs/proc/task_mmu.c MAJOR(dev), MINOR(dev), ino, &len); MINOR 677 fs/smbfs/dir.c error = smb_proc_setattr_unix(dentry, &attr, MAJOR(dev), MINOR(dev)); MINOR 2133 fs/smbfs/proc.c MINOR(fattr->f_rdev) != (minor & 0xffffffff)) MINOR 719 fs/super.c int slot = MINOR(sb->s_dev); MINOR 769 include/linux/fs.h return MINOR(inode->i_rdev); MINOR 12 include/linux/kdev_t.h sprintf((buffer), "%u:%u\n", MAJOR(dev), MINOR(dev)) MINOR 16 include/linux/kdev_t.h sprintf(buffer, "%u:%u", MAJOR(dev), MINOR(dev)); \ MINOR 23 include/linux/kdev_t.h return MAJOR(dev) < 256 && MINOR(dev) < 256; MINOR 28 include/linux/kdev_t.h return (MAJOR(dev) << 8) | MINOR(dev); MINOR 44 include/linux/kdev_t.h unsigned minor = MINOR(dev); MINOR 72 include/linux/kdev_t.h return MAJOR(dev) < (1<<14) && MINOR(dev) < (1<<18); MINOR 77 include/linux/kdev_t.h return MINOR(dev) | (MAJOR(dev) << 18); MINOR 187 include/linux/nfsd/nfsfh.h MINOR(dev)); MINOR 195 include/linux/nfsd/nfsfh.h fsidv[1] = htonl(MINOR(dev)); MINOR 87 init/do_mounts.c if (maj != MAJOR(res) || min != MINOR(res)) MINOR 212 init/do_mounts_md.c dinfo.minor = MINOR(dev); MINOR 222 init/do_mounts_md.c dinfo.minor = MINOR(dev); MINOR 501 kernel/auditsc.c result = audit_comparator(MINOR(name->dev), MINOR 505 kernel/auditsc.c if (audit_comparator(MINOR(ctx->names[j].dev), f->op, f->val)) { MINOR 1404 kernel/auditsc.c MINOR(n->dev), MINOR 1409 kernel/auditsc.c MINOR(n->rdev)); MINOR 1776 kernel/auditsc.c MINOR(inode->i_sb->s_dev), MINOR 609 kernel/power/disk.c MINOR(swsusp_resume_device)); MINOR 788 kernel/power/disk.c MINOR(swsusp_resume_device)); MINOR 802 kernel/power/disk.c if (maj != MAJOR(res) || min != MINOR(res)) MINOR 197 mm/backing-dev.c return bdi_register(bdi, NULL, "%u:%u", MAJOR(dev), MINOR(dev)); MINOR 559 security/device_cgroup.c if (wh->minor != ~0 && wh->minor != MINOR(dev)) MINOR 1781 sound/oss/au1550_ac97.c int minor = MINOR(inode->i_rdev);