Lines Matching refs:karg

349 	} karg;  in do_video_ioctl()  local
369 err = get_video_tuner32(&karg.vt, up); in do_video_ioctl()
373 err = get_video_window32(&karg.vw, up); in do_video_ioctl()
377 err = get_video_buffer32(&karg.vb, up); in do_video_ioctl()
381 err = get_user(karg.vx, (u32 *)up); in do_video_ioctl()
388 err = sys_ioctl(fd, cmd, (unsigned long)&karg); in do_video_ioctl()
392 free_kvideo_clips(&karg.vw); in do_video_ioctl()
397 err = put_video_tuner32(&karg.vt, up); in do_video_ioctl()
401 err = put_video_window32(&karg.vw, up); in do_video_ioctl()
405 err = put_video_buffer32(&karg.vb, up); in do_video_ioctl()
409 err = put_user(((u32)karg.vx), (u32 *)up); in do_video_ioctl()
935 void *karg; in fb_ioctl_trans() local
941 karg = &fix; in fb_ioctl_trans()
945 karg = &cmap; in fb_ioctl_trans()
999 err = sys_ioctl(fd, cmd, (unsigned long)karg); in fb_ioctl_trans()
1167 void *karg = NULL; in fd_ioctl_trans() local
1187 f = karg = kmalloc(sizeof(struct floppy_struct), GFP_KERNEL); in fd_ioctl_trans()
1188 if (!karg) in fd_ioctl_trans()
1214 f = karg = kmalloc(sizeof(struct floppy_drive_params), GFP_KERNEL); in fd_ioctl_trans()
1215 if (!karg) in fd_ioctl_trans()
1246 karg = kmalloc(sizeof(struct floppy_drive_struct), GFP_KERNEL); in fd_ioctl_trans()
1247 if (!karg) in fd_ioctl_trans()
1251 karg = kmalloc(sizeof(struct floppy_fdc_state), GFP_KERNEL); in fd_ioctl_trans()
1252 if (!karg) in fd_ioctl_trans()
1256 karg = kmalloc(sizeof(struct floppy_write_errors), GFP_KERNEL); in fd_ioctl_trans()
1257 if (!karg) in fd_ioctl_trans()
1264 err = sys_ioctl (fd, kcmd, (unsigned long)karg); in fd_ioctl_trans()
1271 struct floppy_struct *f = karg; in fd_ioctl_trans()
1287 struct floppy_drive_params *f = karg; in fd_ioctl_trans()
1313 struct floppy_drive_struct *f = karg; in fd_ioctl_trans()
1334 struct floppy_fdc_state *f = karg; in fd_ioctl_trans()
1351 struct floppy_write_errors *f = karg; in fd_ioctl_trans()
1367 out: if (karg) kfree(karg); in fd_ioctl_trans()
1601 void *karg; in ppp_ioctl_trans() local
1607 karg = &idle; in ppp_ioctl_trans()
1624 karg = &data; in ppp_ioctl_trans()
1637 err = sys_ioctl (fd, kcmd, (unsigned long)karg); in ppp_ioctl_trans()
1705 void *karg; in mt_ioctl_trans() local
1711 karg = &pos; in mt_ioctl_trans()
1715 karg = &get; in mt_ioctl_trans()
1719 karg = &info; in mt_ioctl_trans()
1723 karg = &info; in mt_ioctl_trans()
1747 err = sys_ioctl (fd, kcmd, (unsigned long)karg); in mt_ioctl_trans()
1813 void *karg; in cdrom_ioctl_trans() local
1821 karg = &cdread; in cdrom_ioctl_trans()
1832 karg = &cdreadaudio; in cdrom_ioctl_trans()
1847 karg = &cgc; in cdrom_ioctl_trans()
1875 err = sys_ioctl (fd, cmd, (unsigned long)karg); in cdrom_ioctl_trans()
2505 void *karg = &u; in do_lvm_ioctl() local
2515 karg = v; in do_lvm_ioctl()
2534 karg = v; in do_lvm_ioctl()
2624 karg = &p; in do_lvm_ioctl()
2648 err = sys_ioctl (fd, cmd, (unsigned long)karg); in do_lvm_ioctl()
3413 struct mtd_oob_buf karg; in mtd_rw_oob() local
3417 if (get_user(karg.start, &uarg->start) || in mtd_rw_oob()
3418 get_user(karg.length, &uarg->length) || in mtd_rw_oob()
3422 karg.ptr = A(tmp); in mtd_rw_oob()
3423 if (verify_area(VERIFY_WRITE, karg.ptr, karg.length)) in mtd_rw_oob()
3428 ret = sys_ioctl(fd, MEMREADOOB, (unsigned long)&karg); in mtd_rw_oob()
3430 ret = sys_ioctl(fd, MEMWRITEOOB, (unsigned long)&karg); in mtd_rw_oob()
3436 ret = put_user(karg.start, &uarg->start); in mtd_rw_oob()
3437 ret |= put_user(karg.length, &uarg->length); in mtd_rw_oob()