Fork me on GitHub
rdev              496 drivers/block/floppy.c 	minor = MINOR(i->rdev);
rdev              512 drivers/block/floppy.c 	minor = MINOR(i->rdev);
rdev              756 drivers/block/floppy.c 	minor = MINOR(i->rdev);
rdev              782 drivers/block/floppy.c 			*(int *)arg = fdd_sizes[MINOR(i->rdev)] * 2;
rdev              794 drivers/block/floppy.c 	minor = MINOR(i->rdev);
rdev              650 drivers/block/ide.c 	if(!(ide = get_ide_controller(i->rdev))) {
rdev              654 drivers/block/ide.c 	if(!get_device(BLK_DEV, i->rdev)) {
rdev              658 drivers/block/ide.c 	drive = get_ide_drive(i->rdev);
rdev              670 drivers/block/ide.c 	if(!(ide = get_ide_controller(i->rdev))) {
rdev              674 drivers/block/ide.c 	if(!get_device(BLK_DEV, i->rdev)) {
rdev              678 drivers/block/ide.c 	drive = get_ide_drive(i->rdev);
rdev              734 drivers/block/ide.c 	if(!(ide = get_ide_controller(i->rdev))) {
rdev              738 drivers/block/ide.c 	if(!get_device(BLK_DEV, i->rdev)) {
rdev              742 drivers/block/ide.c 	drive = get_ide_drive(i->rdev);
rdev              333 drivers/block/ide_cd.c 	if(!(ide = get_ide_controller(i->rdev))) {
rdev              337 drivers/block/ide_cd.c 	drive = get_ide_drive(i->rdev);
rdev              347 drivers/block/ide_cd.c 		printk("WARNING: %s(): cdrom device %d,%d is not ready for TEST_UNIT, error %d.\n", __FUNCTION__, MAJOR(i->rdev), MINOR(i->rdev), errcode);
rdev              348 drivers/block/ide_cd.c 		request_sense(buffer, i->rdev, ide, drive);
rdev              355 drivers/block/ide_cd.c 		printk("WARNING: %s(): cdrom device %d,%d is not ready for CD_LOAD, error %d.\n", __FUNCTION__, MAJOR(i->rdev), MINOR(i->rdev), errcode);
rdev              356 drivers/block/ide_cd.c 		atapi_read_data(i->rdev, buffer, ide, BLKSIZE_2K, 0);
rdev              357 drivers/block/ide_cd.c 		errcode = request_sense(buffer, i->rdev, ide, drive);
rdev              383 drivers/block/ide_cd.c 		printk("WARNING: %s(): error on cdrom device %d,%d while trying to lock medium.\n", __FUNCTION__, MAJOR(i->rdev), MINOR(i->rdev), ATAPI_MEDIUM_REMOVAL);
rdev              384 drivers/block/ide_cd.c 		request_sense(buffer, i->rdev, ide, drive);
rdev              388 drivers/block/ide_cd.c 	atapi_read_data(i->rdev, buffer, ide, BLKSIZE_2K, 0);
rdev              401 drivers/block/ide_cd.c 	if(!(ide = get_ide_controller(i->rdev))) {
rdev              409 drivers/block/ide_cd.c 	drive = get_ide_drive(i->rdev);
rdev              412 drivers/block/ide_cd.c 	invalidate_buffers(i->rdev);
rdev              415 drivers/block/ide_cd.c 		printk("WARNING: %s(): error on cdrom device %d,%d during 0x%x command.\n", __FUNCTION__, MAJOR(i->rdev), MINOR(i->rdev), ATAPI_MEDIUM_REMOVAL);
rdev              419 drivers/block/ide_cd.c 	atapi_read_data(i->rdev, buffer, ide, BLKSIZE_2K, 0);
rdev              489 drivers/block/ide_cd.c 	if(!(ide = get_ide_controller(i->rdev))) {
rdev               68 drivers/block/ide_hd.c static void assign_minors(__dev_t rdev, struct ide *ide, struct partition *part)
rdev               75 drivers/block/ide_hd.c 	drive = get_ide_drive(rdev);
rdev               77 drivers/block/ide_hd.c 	if(!(d = get_device(BLK_DEV, rdev))) {
rdev               78 drivers/block/ide_hd.c 		printk("WARNING: %s(): unable to assign minors to device %d,%d.\n", __FUNCTION__, MAJOR(rdev), MINOR(rdev));
rdev              122 drivers/block/ide_hd.c 	sync_buffers(i->rdev);
rdev              396 drivers/block/ide_hd.c 	if(!(ide = get_ide_controller(i->rdev))) {
rdev              400 drivers/block/ide_hd.c 	minor = MINOR(i->rdev);
rdev              401 drivers/block/ide_hd.c 	drive = get_ide_drive(i->rdev);
rdev              434 drivers/block/ide_hd.c 			sync_buffers(i->rdev);
rdev              435 drivers/block/ide_hd.c 			invalidate_buffers(i->rdev);
rdev              438 drivers/block/ide_hd.c 			read_msdos_partition(i->rdev, part);
rdev              439 drivers/block/ide_hd.c 			assign_minors(i->rdev, ide, part);
rdev              452 drivers/block/ide_hd.c 	__dev_t rdev;
rdev              456 drivers/block/ide_hd.c 	rdev = 0;
rdev              462 drivers/block/ide_hd.c 			rdev = MKDEV(IDE0_MAJOR, drive);
rdev              464 drivers/block/ide_hd.c 			if(!(d = get_device(BLK_DEV, rdev))) {
rdev              469 drivers/block/ide_hd.c 			rdev = MKDEV(IDE0_MAJOR, 1 << IDE_SLAVE_MSF);
rdev              471 drivers/block/ide_hd.c 			if(!(d = get_device(BLK_DEV, rdev))) {
rdev              478 drivers/block/ide_hd.c 			rdev = MKDEV(IDE1_MAJOR, drive);
rdev              480 drivers/block/ide_hd.c 			if(!(d = get_device(BLK_DEV, rdev))) {
rdev              485 drivers/block/ide_hd.c 			rdev = MKDEV(IDE1_MAJOR, 1 << IDE_SLAVE_MSF);
rdev              487 drivers/block/ide_hd.c 			if(!(d = get_device(BLK_DEV, rdev))) {
rdev              497 drivers/block/ide_hd.c 	read_msdos_partition(rdev, part);
rdev              498 drivers/block/ide_hd.c 	assign_minors(rdev, ide, part);
rdev               84 drivers/block/ramdisk.c 	if(!get_ramdisk(MINOR(i->rdev))) {
rdev               92 drivers/block/ramdisk.c 	if(!get_ramdisk(MINOR(i->rdev))) {
rdev              145 drivers/block/ramdisk.c 	if(!get_ramdisk(MINOR(i->rdev))) {
rdev              157 drivers/block/ramdisk.c 			geom->cylinders = rd_sizes[MINOR(i->rdev)] * 1024 / BPS;
rdev              167 drivers/block/ramdisk.c 			*(int *)arg = rd_sizes[MINOR(i->rdev)] * 2;
rdev              139 drivers/char/lp.c 	minor = MINOR(i->rdev);
rdev              157 drivers/char/lp.c 	minor = MINOR(i->rdev);
rdev              171 drivers/char/lp.c 	minor = MINOR(i->rdev);
rdev              455 drivers/char/memdev.c         minor = MINOR(i->rdev);
rdev              427 drivers/char/tty.c 	if(MAJOR(i->rdev) == SYSCON_MAJOR && MINOR(i->rdev) == 0) {
rdev              433 drivers/char/tty.c 	if(MAJOR(i->rdev) == VCONSOLES_MAJOR && MINOR(i->rdev) == 0) {
rdev              437 drivers/char/tty.c 	if(!(tty = get_tty(i->rdev))) {
rdev              438 drivers/char/tty.c 		printk("%s(): oops! (%x)\n", __FUNCTION__, i->rdev);
rdev              465 drivers/char/tty.c 	if(!(tty = get_tty(i->rdev))) {
rdev              466 drivers/char/tty.c 		printk("%s(): oops! (%x)\n", __FUNCTION__, i->rdev);
rdev              499 drivers/char/tty.c 	if(!(tty = get_tty(i->rdev))) {
rdev              500 drivers/char/tty.c 		printk("%s(): oops! (%x)\n", __FUNCTION__, i->rdev);
rdev              645 drivers/char/tty.c 	if(!(tty = get_tty(i->rdev))) {
rdev              646 drivers/char/tty.c 		printk("%s(): oops! (%x)\n", __FUNCTION__, i->rdev);
rdev              708 drivers/char/tty.c 	if(!(tty = get_tty(i->rdev))) {
rdev              709 drivers/char/tty.c 		printk("%s(): oops! (%x)\n", __FUNCTION__, i->rdev);
rdev              975 drivers/char/tty.c 	if(!(tty = get_tty(i->rdev))) {
rdev              976 drivers/char/tty.c 		printk("%s(): oops! (%x)\n", __FUNCTION__, i->rdev);
rdev              203 fs/devices.c   	if((d = get_device(CHR_DEV, i->rdev))) {
rdev              218 fs/devices.c   	if((d = get_device(BLK_DEV, i->rdev))) {
rdev              232 fs/devices.c   	if((d = get_device(BLK_DEV, i->rdev))) {
rdev              236 fs/devices.c   		printk("WARNING: %s(): block device %d,%d does not have the close() method.\n", __FUNCTION__, MAJOR(i->rdev), MINOR(i->rdev));
rdev              253 fs/devices.c   	if(!(d = get_device(BLK_DEV, i->rdev))) {
rdev              260 fs/devices.c   		printk("%s(): don't know the size of the block device %d,%d.\n", __FUNCTION__, MAJOR(i->rdev), MINOR(i->rdev));
rdev              264 fs/devices.c   	device_size = ((unsigned int *)d->device_data)[MINOR(i->rdev)];
rdev              274 fs/devices.c   		if(!(buf = bread(i->rdev, block, blksize))) {
rdev              298 fs/devices.c   	if(!(d = get_device(BLK_DEV, i->rdev))) {
rdev              305 fs/devices.c   		printk("%s(): don't know the size of the block device %d,%d.\n", __FUNCTION__, MAJOR(i->rdev), MINOR(i->rdev));
rdev              309 fs/devices.c   	device_size = ((unsigned int *)d->device_data)[MINOR(i->rdev)];
rdev              319 fs/devices.c   		if(!(buf = bread(i->rdev, block, blksize))) {
rdev              337 fs/devices.c   	if((d = get_device(BLK_DEV, i->rdev))) {
rdev              341 fs/devices.c   		printk("WARNING: %s(): block device %d,%d does not have the ioctl() method.\n", __FUNCTION__, MAJOR(i->rdev), MINOR(i->rdev));
rdev              352 fs/devices.c   	if((d = get_device(BLK_DEV, i->rdev))) {
rdev              108 fs/ext2/inode.c 			i->rdev = ii->i_block[0];
rdev              112 fs/ext2/inode.c 			i->rdev = ii->i_block[0];
rdev              178 fs/ext2/inode.c 		ii->i_block[0] = i->rdev;
rdev              599 fs/ext2/namei.c 			i->rdev = dev;
rdev              605 fs/ext2/namei.c 			i->rdev = dev;
rdev              159 fs/inode.c     	i->rdev = 0;
rdev              251 fs/inode.c     		i->rdev = sb->dev;
rdev              307 fs/inode.c     		i->dev = i->rdev = sb->dev;
rdev               96 fs/iso9660/rrip.c 					i->rdev = MKDEV(dev_h, dev_l);
rdev              542 fs/minix/namei.c 			i->rdev = dev;
rdev              547 fs/minix/namei.c 			i->rdev = dev;
rdev               81 fs/minix/v1_inode.c 			i->rdev = ii->i_zone[0];
rdev               85 fs/minix/v1_inode.c 			i->rdev = ii->i_zone[0];
rdev              136 fs/minix/v1_inode.c 		ii->i_zone[0] = i->rdev;
rdev               82 fs/minix/v2_inode.c 			i->rdev = ii->i_zone[0];
rdev               86 fs/minix/v2_inode.c 			i->rdev = ii->i_zone[0];
rdev              139 fs/minix/v2_inode.c 		ii->i_zone[0] = i->rdev;
rdev               83 fs/pipefs/super.c 	i->dev = i->rdev = sb->dev;
rdev              483 fs/procfs/data.c 		size = sprintk(buffer, "[%02d%02d]:%d", MAJOR(i->rdev), MINOR(i->rdev), i->inode);
rdev              534 fs/procfs/data.c 		size = sprintk(buffer, "[%02d%02d]:%d", MAJOR(i->rdev), MINOR(i->rdev), i->inode);
rdev              636 fs/procfs/data.c 		size = sprintk(buffer, "[%02d%02d]:%d", MAJOR(i->rdev), MINOR(i->rdev), i->inode);
rdev              108 fs/super.c     				if(mount_table[n].dev == i_target->rdev) {
rdev               91 include/fiwix/fs.h 	__dev_t		rdev;
rdev               38 kernel/syscalls/fstat.c 	statbuf->st_rdev = i->rdev;
rdev               43 kernel/syscalls/lstat.c 	statbuf->st_rdev = i->rdev;
rdev              170 kernel/syscalls/mount.c 		dev = i_source->rdev;
rdev               38 kernel/syscalls/newfstat.c 	statbuf->st_rdev = i->rdev;
rdev               44 kernel/syscalls/newlstat.c 	statbuf->st_rdev = i->rdev;
rdev               44 kernel/syscalls/newstat.c 	statbuf->st_rdev = i->rdev;
rdev               44 kernel/syscalls/stat.c 	statbuf->st_rdev = i->rdev;
rdev               59 kernel/syscalls/umount2.c 		dev = i_target->rdev;
rdev               96 kernel/syscalls/umount2.c 		dummy_i.dev = dummy_i.rdev = dev;