tag | line | file | source code |
loc | 787 | drivers/block/hd.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
loc | 798 | drivers/block/hd.c | if (!loc) return -EINVAL; |
loc | 799 | drivers/block/hd.c | err = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
loc | 803 | drivers/block/hd.c | (char *) &loc->heads); |
loc | 805 | drivers/block/hd.c | (char *) &loc->sectors); |
loc | 807 | drivers/block/hd.c | (short *) &loc->cylinders); |
loc | 809 | drivers/block/hd.c | (long *) &loc->start); |
loc | 23 | drivers/scsi/sd_ioctl.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
loc | 27 | drivers/scsi/sd_ioctl.c | if (!loc) return -EINVAL; |
loc | 28 | drivers/scsi/sd_ioctl.c | error = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
loc | 40 | drivers/scsi/sd_ioctl.c | (char *) &loc->heads); |
loc | 42 | drivers/scsi/sd_ioctl.c | (char *) &loc->sectors); |
loc | 44 | drivers/scsi/sd_ioctl.c | (short *) &loc->cylinders); |
loc | 46 | 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) |