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 | 1912 | drivers/block/ide.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
loc | 1913 | drivers/block/ide.c | if (!loc || drive->media != ide_disk) return -EINVAL; |
loc | 1914 | drivers/block/ide.c | err = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
loc | 1916 | drivers/block/ide.c | put_user(drive->bios_head, (byte *) &loc->heads); |
loc | 1917 | drivers/block/ide.c | put_user(drive->bios_sect, (byte *) &loc->sectors); |
loc | 1918 | drivers/block/ide.c | put_user(drive->bios_cyl, (unsigned short *) &loc->cylinders); |
loc | 1920 | drivers/block/ide.c | (unsigned long *) &loc->start); |
loc | 138 | drivers/block/md.c | struct hd_geometry *loc = (struct hd_geometry *) arg; |
loc | 323 | drivers/block/md.c | if (!loc) return -EINVAL; |
loc | 324 | drivers/block/md.c | err = verify_area(VERIFY_WRITE, loc, sizeof(*loc)); |
loc | 327 | drivers/block/md.c | put_user (2, (char *) &loc->heads); |
loc | 328 | drivers/block/md.c | put_user (4, (char *) &loc->sectors); |
loc | 329 | drivers/block/md.c | put_user (md_hd_struct[minor].nr_sects/8, (short *) &loc->cylinders); |
loc | 331 | drivers/block/md.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 | 58 | drivers/scsi/sd_ioctl.c | put_user(diskinfo[0], &loc->heads); |
loc | 59 | drivers/scsi/sd_ioctl.c | put_user(diskinfo[1], &loc->sectors); |
loc | 60 | drivers/scsi/sd_ioctl.c | put_user(diskinfo[2], &loc->cylinders); |
loc | 61 | drivers/scsi/sd_ioctl.c | put_user(sd[MINOR(inode->i_rdev)].start_sect, &loc->start); |
loc | 849 | drivers/sound/gus_wave.c | unsigned long loc; |
loc | 875 | drivers/sound/gus_wave.c | loc = i << 10; |
loc | 877 | drivers/sound/gus_wave.c | for (n = loc - 1, failed = 0; n <= loc; n++) |
loc | 879 | drivers/sound/gus_wave.c | gus_poke (loc, 0xaa); |
loc | 880 | drivers/sound/gus_wave.c | if (gus_peek (loc) != 0xaa) |
loc | 883 | drivers/sound/gus_wave.c | gus_poke (loc, 0x55); |
loc | 884 | drivers/sound/gus_wave.c | if (gus_peek (loc) != 0x55) |
loc | 124 | include/linux/if_arp.h | int loc; /* Debugging call location */ |
loc | 442 | net/ipv4/arp.c | static void arpd_update(struct arp_table * entry, int loc) |
loc | 451 | net/ipv4/arp.c | arpreq.loc = loc; |
loc | 496 | net/ipv4/arp.c | int loc) |
loc | 505 | net/ipv4/arp.c | arpreq.loc = loc; |