MAJOR 1083 block/bsg.c bsg_major = MAJOR(devid); MAJOR 419 block/genhd.c if (MAJOR(devt) == BLOCK_EXT_MAJOR) { MAJOR 428 block/genhd.c if (MAJOR(devt) <= 0xff && MINOR(devt) <= 0xff) { MAJOR 430 block/genhd.c snprintf(tbuf, BDEVT_SIZE, "%02x%02x", MAJOR(devt), MINOR(devt)); MAJOR 433 block/genhd.c snprintf(buf, BDEVT_SIZE, "%03x:%05x", MAJOR(devt), MINOR(devt)); MAJOR 509 block/genhd.c disk->major = MAJOR(devt); MAJOR 547 block/genhd.c if (MAJOR(devt) != BLOCK_EXT_MAJOR) { MAJOR 723 block/genhd.c MAJOR(part_devt(part)), MINOR(part_devt(part)), MAJOR 742 block/genhd.c if (request_module("block-major-%d-%d", MAJOR(devt), MINOR(devt)) > 0) MAJOR 744 block/genhd.c request_module("block-major-%d", MAJOR(devt)); MAJOR 976 block/genhd.c MAJOR(part_devt(hd)), MINOR(part_devt(hd)), MAJOR 1138 fs/9p/vfs_inode.c dentry->d_name.name, mode, MAJOR(rdev), MINOR(rdev)); MAJOR 1148 fs/9p/vfs_inode.c sprintf(name, "b %u %u", MAJOR(rdev), MINOR(rdev)); MAJOR 1150 fs/9p/vfs_inode.c sprintf(name, "c %u %u", MAJOR(rdev), MINOR(rdev)); MAJOR 355 fs/block_dev.c return MAJOR(dev)+MINOR(dev); MAJOR 203 fs/char_dev.c next = MKDEV(MAJOR(n)+1, 0); MAJOR 206 fs/char_dev.c cd = __register_chrdev_region(MAJOR(n), MINOR(n), MAJOR 215 fs/char_dev.c next = MKDEV(MAJOR(n)+1, 0); MAJOR 216 fs/char_dev.c kfree(__unregister_chrdev_region(MAJOR(n), MINOR(n), next - n)); MAJOR 316 fs/char_dev.c next = MKDEV(MAJOR(n)+1, 0); MAJOR 319 fs/char_dev.c kfree(__unregister_chrdev_region(MAJOR(n), MINOR(n), next - n)); MAJOR 535 fs/char_dev.c if (request_module("char-major-%d-%d", MAJOR(dev), MINOR(dev)) > 0) MAJOR 537 fs/char_dev.c request_module("char-major-%d", MAJOR(dev)); MAJOR 5167 fs/cifs/cifssmb.c data_offset->DevMajor = cpu_to_le64(MAJOR(args->device)); MAJOR 439 fs/cifs/dir.c cpu_to_le64(MAJOR(device_number)); MAJOR 450 fs/cifs/dir.c cpu_to_le64(MAJOR(device_number)); MAJOR 196 fs/cifs/inode.c pfnd_dat->DevMajor = cpu_to_le64(MAJOR(pinode->i_rdev)); MAJOR 979 fs/dquot.c MAJOR(dquot->dq_sb->s_dev)); MAJOR 494 fs/fuse/inode.c MAJOR(fc->dev), MINOR(fc->dev)); MAJOR 786 fs/gfs2/inode.c di->di_major = cpu_to_be32(MAJOR(dev)); MAJOR 35 fs/gfs2/sys.c MAJOR(sdp->sd_vfs->s_dev), MINOR(sdp->sd_vfs->s_dev)); MAJOR 787 fs/hostfs/hostfs_kern.c err = do_mknod(name, mode, MAJOR(dev), MINOR(dev)); MAJOR 2138 fs/locks.c MAJOR(inode->i_sb->s_dev), MAJOR 840 fs/namespace.c MAJOR(sb->s_dev), MINOR(sb->s_dev)); MAJOR 1485 fs/nfs/client.c MAJOR(server->s_dev), MINOR(server->s_dev)); MAJOR 640 fs/nfs/nfs3proc.c MAJOR(rdev), MINOR(rdev)); MAJOR 167 fs/nfs/nfs3xdr.c if (MAJOR(fattr->rdev) != major || MINOR(fattr->rdev) != minor) MAJOR 436 fs/nfs/nfs3xdr.c *p++ = htonl(MAJOR(args->rdev)); MAJOR 2269 fs/nfs/nfs4proc.c data->arg.u.device.specdata1 = MAJOR(rdev); MAJOR 2274 fs/nfs/nfs4proc.c data->arg.u.device.specdata1 = MAJOR(rdev); MAJOR 2819 fs/nfs/nfs4xdr.c if (MAJOR(tmp) == major && MINOR(tmp) == minor) MAJOR 1774 fs/nfs/super.c "%x:%x", MAJOR(sb->s_dev), MINOR(sb->s_dev)); MAJOR 332 fs/nfsd/nfs3proc.c if (MAJOR(rdev) != argp->major || MAJOR 189 fs/nfsd/nfs3xdr.c *p++ = htonl((u32) MAJOR(stat->rdev)); MAJOR 394 fs/nfsd/nfs4proc.c if (MAJOR(rdev) != create->cr_specdata1 || MAJOR 404 fs/nfsd/nfs4proc.c if (MAJOR(rdev) != create->cr_specdata1 || MAJOR 1559 fs/nfsd/nfs4xdr.c WRITE32(MAJOR(stat.dev)); MAJOR 1735 fs/nfsd/nfs4xdr.c WRITE32((u32) MAJOR(stat.rdev)); MAJOR 402 fs/nfsd/nfsfh.c MAJOR(ex_dev), MINOR(ex_dev), MAJOR 1042 fs/ocfs2/journal.c MAJOR(osb->sb->s_dev), MINOR(osb->sb->s_dev)); MAJOR 1223 fs/ocfs2/journal.c MAJOR(osb->sb->s_dev), MINOR(osb->sb->s_dev)); MAJOR 1447 fs/ocfs2/super.c MAJOR(osb->sb->s_dev), MINOR(osb->sb->s_dev)); MAJOR 279 fs/partitions/acorn.c if (MAJOR(bdev->bd_dev) == MFM_ACORN_MAJOR) { MAJOR 150 fs/partitions/check.c MAJOR(dev), MINOR(dev)); MAJOR 63 fs/proc/nommu.c MAJOR(dev), MINOR(dev), ino, &len); MAJOR 32 fs/proc/proc_tty.c seq_printf(m, "%3d %d-%d ", MAJOR(from), MINOR(from), MAJOR 35 fs/proc/proc_tty.c seq_printf(m, "%3d %7d ", MAJOR(from), MINOR(from)); MAJOR 93 fs/proc/proc_tty.c while (MAJOR(from) < MAJOR(to)) { MAJOR 94 fs/proc/proc_tty.c dev_t next = MKDEV(MAJOR(from)+1, 0); MAJOR 227 fs/proc/task_mmu.c MAJOR(dev), MINOR(dev), ino, &len); MAJOR 677 fs/smbfs/dir.c error = smb_proc_setattr_unix(dentry, &attr, MAJOR(dev), MINOR(dev)); MAJOR 2132 fs/smbfs/proc.c if (MAJOR(fattr->f_rdev) != (major & 0xffffffff) || MAJOR 215 fs/xfs/linux-2.6/xfs_iops.c if (unlikely(!sysv_valid_dev(rdev) || MAJOR(rdev) & ~0x1ff)) MAJOR 774 include/linux/fs.h return MAJOR(inode->i_rdev); MAJOR 12 include/linux/kdev_t.h sprintf((buffer), "%u:%u\n", MAJOR(dev), MINOR(dev)) MAJOR 16 include/linux/kdev_t.h sprintf(buffer, "%u:%u", MAJOR(dev), MINOR(dev)); \ MAJOR 23 include/linux/kdev_t.h return MAJOR(dev) < 256 && MINOR(dev) < 256; MAJOR 28 include/linux/kdev_t.h return (MAJOR(dev) << 8) | MINOR(dev); MAJOR 43 include/linux/kdev_t.h unsigned major = MAJOR(dev); MAJOR 72 include/linux/kdev_t.h return MAJOR(dev) < (1<<14) && MINOR(dev) < (1<<18); MAJOR 77 include/linux/kdev_t.h return MINOR(dev) | (MAJOR(dev) << 18); MAJOR 186 include/linux/nfsd/nfsfh.h fsidv[0] = htonl((MAJOR(dev)<<16) | MAJOR 194 include/linux/nfsd/nfsfh.h fsidv[0] = htonl(MAJOR(dev)); MAJOR 87 init/do_mounts.c if (maj != MAJOR(res) || min != MINOR(res)) MAJOR 333 init/do_mounts.c if (MAJOR(ROOT_DEV) == UNNAMED_MAJOR) { MAJOR 342 init/do_mounts.c if (MAJOR(ROOT_DEV) == FLOPPY_MAJOR) { MAJOR 402 init/do_mounts.c is_floppy = MAJOR(ROOT_DEV) == FLOPPY_MAJOR; MAJOR 211 init/do_mounts_md.c dinfo.major = MAJOR(dev); MAJOR 221 init/do_mounts_md.c dinfo.major = MAJOR(dev); MAJOR 488 kernel/auditsc.c result = audit_comparator(MAJOR(name->dev), MAJOR 492 kernel/auditsc.c if (audit_comparator(MAJOR(ctx->names[j].dev), f->op, f->val)) { MAJOR 1403 kernel/auditsc.c MAJOR(n->dev), MAJOR 1408 kernel/auditsc.c MAJOR(n->rdev), MAJOR 1775 kernel/auditsc.c MAJOR(inode->i_sb->s_dev), MAJOR 608 kernel/power/disk.c MAJOR(swsusp_resume_device), MAJOR 787 kernel/power/disk.c return sprintf(buf,"%d:%d\n", MAJOR(swsusp_resume_device), MAJOR 802 kernel/power/disk.c if (maj != MAJOR(res) || min != MINOR(res)) MAJOR 197 mm/backing-dev.c return bdi_register(bdi, NULL, "%u:%u", MAJOR(dev), MINOR(dev)); MAJOR 557 security/device_cgroup.c if (wh->major != ~0 && wh->major != MAJOR(dev))