tag | line | file | source code |
loc | 782 | drivers/block/hd.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
loc | 793 | drivers/block/hd.c | if (!loc) return -EINVAL; |
loc | 794 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
loc | 798 | drivers/block/hd.c | (char *) &loc->heads); |
loc | 800 | drivers/block/hd.c | (char *) &loc->sectors); |
loc | 802 | drivers/block/hd.c | (short *) &loc->cylinders); |
loc | 804 | drivers/block/hd.c | (long *) &loc->start); |
loc | 1498 | drivers/block/ide.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
loc | 1509 | drivers/block/ide.c | if (!loc || dev->type != disk) return -EINVAL; |
loc | 1510 | drivers/block/ide.c | err = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
loc | 1513 | drivers/block/ide.c | (char *) &loc->heads); |
loc | 1515 | drivers/block/ide.c | (char *) &loc->sectors); |
loc | 1517 | drivers/block/ide.c | (short *) &loc->cylinders); |
loc | 1519 | drivers/block/ide.c | (long *) &loc->start); |
loc | 30 | drivers/scsi/sd_ioctl.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
loc | 34 | drivers/scsi/sd_ioctl.c | if (!loc) return -EINVAL; |
loc | 35 | drivers/scsi/sd_ioctl.c | error = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
loc | 46 | drivers/scsi/sd_ioctl.c | put_user(diskinfo[0], &loc->heads); |
loc | 47 | drivers/scsi/sd_ioctl.c | put_user(diskinfo[1], &loc->sectors); |
loc | 48 | drivers/scsi/sd_ioctl.c | put_user(diskinfo[2], &loc->cylinders); |
loc | 49 | drivers/scsi/sd_ioctl.c | put_user(sd[MINOR(inode->i_rdev)].start_sect, &loc->start); |
loc | 822 | drivers/sound/gus_wave.c | unsigned long loc; |
loc | 848 | drivers/sound/gus_wave.c | loc = i << 10; |
loc | 850 | drivers/sound/gus_wave.c | for (n = loc - 1, failed = 0; n <= loc; n++) |
loc | 852 | drivers/sound/gus_wave.c | gus_poke (loc, 0xaa); |
loc | 853 | drivers/sound/gus_wave.c | if (gus_peek (loc) != 0xaa) |
loc | 856 | drivers/sound/gus_wave.c | gus_poke (loc, 0x55); |
loc | 857 | drivers/sound/gus_wave.c | if (gus_peek (loc) != 0x55) |