tag | line | file | source code |
loc | 781 | drivers/block/hd.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
loc | 792 | drivers/block/hd.c | if (!loc) return -EINVAL; |
loc | 793 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
loc | 797 | drivers/block/hd.c | (char *) &loc->heads); |
loc | 799 | drivers/block/hd.c | (char *) &loc->sectors); |
loc | 801 | drivers/block/hd.c | (short *) &loc->cylinders); |
loc | 803 | drivers/block/hd.c | (long *) &loc->start); |
loc | 1772 | drivers/block/ide.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
loc | 1783 | drivers/block/ide.c | if (!loc || drive->media != disk) return -EINVAL; |
loc | 1784 | drivers/block/ide.c | err = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
loc | 1786 | drivers/block/ide.c | put_user(drive->bios_head, (byte *) &loc->heads); |
loc | 1787 | drivers/block/ide.c | put_user(drive->bios_sect, (byte *) &loc->sectors); |
loc | 1788 | drivers/block/ide.c | put_user(drive->bios_cyl, (unsigned short *) &loc->cylinders); |
loc | 1790 | drivers/block/ide.c | (unsigned long *) &loc->start); |
loc | 28 | drivers/scsi/sd_ioctl.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
loc | 32 | drivers/scsi/sd_ioctl.c | if (!loc) return -EINVAL; |
loc | 33 | drivers/scsi/sd_ioctl.c | error = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
loc | 44 | drivers/scsi/sd_ioctl.c | put_user(diskinfo[0], &loc->heads); |
loc | 45 | drivers/scsi/sd_ioctl.c | put_user(diskinfo[1], &loc->sectors); |
loc | 46 | drivers/scsi/sd_ioctl.c | put_user(diskinfo[2], &loc->cylinders); |
loc | 47 | drivers/scsi/sd_ioctl.c | put_user(sd[MINOR(inode->i_rdev)].start_sect, &loc->start); |
loc | 844 | drivers/sound/gus_wave.c | unsigned long loc; |
loc | 870 | drivers/sound/gus_wave.c | loc = i << 10; |
loc | 872 | drivers/sound/gus_wave.c | for (n = loc - 1, failed = 0; n <= loc; n++) |
loc | 874 | drivers/sound/gus_wave.c | gus_poke (loc, 0xaa); |
loc | 875 | drivers/sound/gus_wave.c | if (gus_peek (loc) != 0xaa) |
loc | 878 | drivers/sound/gus_wave.c | gus_poke (loc, 0x55); |
loc | 879 | drivers/sound/gus_wave.c | if (gus_peek (loc) != 0x55) |