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 | 1407 | drivers/block/ide.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
loc | 1418 | drivers/block/ide.c | if (!loc || dev->type != disk) return -EINVAL; |
loc | 1419 | drivers/block/ide.c | err = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
loc | 1422 | drivers/block/ide.c | (char *) &loc->heads); |
loc | 1424 | drivers/block/ide.c | (char *) &loc->sectors); |
loc | 1426 | drivers/block/ide.c | (short *) &loc->cylinders); |
loc | 1428 | drivers/block/ide.c | (long *) &loc->start); |
loc | 24 | drivers/scsi/sd_ioctl.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
loc | 28 | drivers/scsi/sd_ioctl.c | if (!loc) return -EINVAL; |
loc | 29 | drivers/scsi/sd_ioctl.c | error = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
loc | 41 | drivers/scsi/sd_ioctl.c | (char *) &loc->heads); |
loc | 43 | drivers/scsi/sd_ioctl.c | (char *) &loc->sectors); |
loc | 45 | drivers/scsi/sd_ioctl.c | (short *) &loc->cylinders); |
loc | 47 | drivers/scsi/sd_ioctl.c | (long *) &loc->start); |
loc | 792 | drivers/sound/gus_wave.c | unsigned long loc; |
loc | 818 | drivers/sound/gus_wave.c | loc = i << 10; |
loc | 820 | drivers/sound/gus_wave.c | for (n = loc - 1, failed = 0; n <= loc; n++) |
loc | 822 | drivers/sound/gus_wave.c | gus_poke (loc, 0xaa); |
loc | 823 | drivers/sound/gus_wave.c | if (gus_peek (loc) != 0xaa) |
loc | 826 | drivers/sound/gus_wave.c | gus_poke (loc, 0x55); |
loc | 827 | drivers/sound/gus_wave.c | if (gus_peek (loc) != 0x55) |