major              33 include/linux/genhd.h 	int major;			/* major number of driver */
major              88 kernel/blk_drv/genhd.c 			dev = ((hd->major) << 8) | current_minor;
major             125 kernel/blk_drv/genhd.c 				extended_partition(hd, (hd->major << 8) | minor);
major             168 kernel/blk_drv/genhd.c 	int major = dev->major << 8;
major             171 kernel/blk_drv/genhd.c 	check_partition(dev, major+(drive<<dev->minor_shift));
major             181 kernel/blk_drv/genhd.c 	int major = dev->major << 8;
major             192 kernel/blk_drv/genhd.c 		check_partition(dev, major+(drive<<dev->minor_shift));
major             196 kernel/blk_drv/genhd.c 	blk_size[dev->major] = dev->sizes;
major             703 kernel/blk_drv/hd.c 	int target, major;
major             722 kernel/blk_drv/hd.c 	major = MAJOR_NR << 8;
major             725 kernel/blk_drv/hd.c 		sync_dev(major | start | i);
major             726 kernel/blk_drv/hd.c 		invalidate_inodes(major | start | i);
major             727 kernel/blk_drv/hd.c 		invalidate_buffers(major | start | i);
major              68 kernel/blk_drv/ll_rw_blk.c 	int minor,major;
major              70 kernel/blk_drv/ll_rw_blk.c 	major = MAJOR(dev);
major              72 kernel/blk_drv/ll_rw_blk.c 	if (major < 0 || major >= NR_BLK_DEV) return 0;
major              73 kernel/blk_drv/ll_rw_blk.c 	return ro_bits[major][minor >> 5] & (1 << (minor & 31));
major              78 kernel/blk_drv/ll_rw_blk.c 	int minor,major;
major              80 kernel/blk_drv/ll_rw_blk.c 	major = MAJOR(dev);
major              82 kernel/blk_drv/ll_rw_blk.c 	if (major < 0 || major >= NR_BLK_DEV) return;
major              83 kernel/blk_drv/ll_rw_blk.c 	if (flag) ro_bits[major][minor >> 5] |= 1 << (minor & 31);
major              84 kernel/blk_drv/ll_rw_blk.c 	else ro_bits[major][minor >> 5] &= ~(1 << (minor & 31));
major             124 kernel/blk_drv/ll_rw_blk.c static void make_request(int major,int rw, struct buffer_head * bh)
major             147 kernel/blk_drv/ll_rw_blk.c 	if (blk_size[major])
major             148 kernel/blk_drv/ll_rw_blk.c 		if (blk_size[major][MINOR(bh->b_dev)] < (sector + count)>>1) {
major             163 kernel/blk_drv/ll_rw_blk.c 	if ((major == 3 ||  major == 8 || major == 11)&& (req = blk_dev[major].current_request)) {
major             164 kernel/blk_drv/ll_rw_blk.c 	        if(major == 3) req = req->next;
major             217 kernel/blk_drv/ll_rw_blk.c 	add_request(major+blk_dev,req);
major             223 kernel/blk_drv/ll_rw_blk.c 	unsigned int major = MAJOR(dev);
major             225 kernel/blk_drv/ll_rw_blk.c 	if (major >= NR_BLK_DEV || !(blk_dev[major].request_fn)) {
major             258 kernel/blk_drv/ll_rw_blk.c 	add_request(major+blk_dev,req);
major             268 kernel/blk_drv/ll_rw_blk.c 	unsigned int major;
major             292 kernel/blk_drv/ll_rw_blk.c 	if ((major=MAJOR(bh[0]->b_dev)) >= NR_BLK_DEV ||
major             293 kernel/blk_drv/ll_rw_blk.c 	!(blk_dev[major].request_fn)) {
major             311 kernel/blk_drv/ll_rw_blk.c 	if (!blk_dev[major].current_request && nr > 1) {
major             312 kernel/blk_drv/ll_rw_blk.c 	  blk_dev[major].current_request = &plug;
major             319 kernel/blk_drv/ll_rw_blk.c 	  if (bh[i]) make_request(major, rw, bh[i]);
major             322 kernel/blk_drv/ll_rw_blk.c 	  blk_dev[major].current_request = plug.next;
major             323 kernel/blk_drv/ll_rw_blk.c 	  dev = major+blk_dev;
major             333 kernel/blk_drv/ll_rw_blk.c 	unsigned int major = MAJOR(dev);
major             335 kernel/blk_drv/ll_rw_blk.c 	if (major >= NR_BLK_DEV || !(blk_dev[major].request_fn)) {
major             372 kernel/blk_drv/ll_rw_blk.c 		add_request(major+blk_dev,req);
major             822 kernel/blk_drv/scsi/sd.c 	  int target, major;
major             842 kernel/blk_drv/scsi/sd.c 	  major = MAJOR_NR << 8;
major             845 kernel/blk_drv/scsi/sd.c 	    sync_dev(major | start | i);
major             846 kernel/blk_drv/scsi/sd.c 	    invalidate_inodes(major | start | i);
major             847 kernel/blk_drv/scsi/sd.c 	    invalidate_buffers(major | start | i);
major              47 mm/mmap.c      	int major, minor;
major              49 mm/mmap.c      	major = MAJOR(inode->i_rdev);
major              58 mm/mmap.c      	if (major != 1 || (minor != 1 && minor != 2))
major              99 tools/build.c  			major_root = major(sb.st_rdev);