Home
last modified time | relevance | path

Searched refs:insnlist (Results 1 – 2 of 2) sorted by relevance

/drivers/staging/comedi/
Dcomedi_compat32.c350 struct comedi_insnlist insnlist; in compat_insnlist() member
377 if (!access_ok(VERIFY_WRITE, &s->insnlist, sizeof(s->insnlist))) in compat_insnlist()
380 err |= __put_user(n_insns, &s->insnlist.n_insns); in compat_insnlist()
381 err |= __put_user(&s->insn[0], &s->insnlist.insns); in compat_insnlist()
393 (unsigned long)&s->insnlist); in compat_insnlist()
Dcomedi_fops.c1447 struct comedi_insnlist insnlist; in do_insnlist_ioctl() local
1453 if (copy_from_user(&insnlist, arg, sizeof(insnlist))) in do_insnlist_ioctl()
1462 insns = kcalloc(insnlist.n_insns, sizeof(*insns), GFP_KERNEL); in do_insnlist_ioctl()
1468 if (copy_from_user(insns, insnlist.insns, in do_insnlist_ioctl()
1469 sizeof(*insns) * insnlist.n_insns)) { in do_insnlist_ioctl()
1475 for (i = 0; i < insnlist.n_insns; i++) { in do_insnlist_ioctl()