Searched refs:insns (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_bpf.h | 106 list_first_entry(&(nfp_prog)->insns, struct nfp_insn_meta, l) 108 list_last_entry(&(nfp_prog)->insns, struct nfp_insn_meta, l) 187 struct list_head insns; member
|
D | nfp_bpf_jit.c | 50 for (pos = list_first_entry(&(nfp_prog)->insns, typeof(*pos), l), \ 52 &(nfp_prog)->insns != &pos->l && \ 53 &(nfp_prog)->insns != &next->l; \ 58 for (pos = list_first_entry(&(nfp_prog)->insns, typeof(*pos), l), \ 61 &(nfp_prog)->insns != &pos->l && \ 62 &(nfp_prog)->insns != &next->l && \ 63 &(nfp_prog)->insns != &next2->l; \ 71 return meta->l.next != &nfp_prog->insns; in nfp_meta_has_next() 77 return meta->l.prev != &nfp_prog->insns; in nfp_meta_has_prev() 84 list_for_each_entry_safe(meta, tmp, &nfp_prog->insns, l) { in nfp_prog_free() [all …]
|
/drivers/staging/comedi/ |
D | comedi_fops.c | 1448 struct comedi_insn *insns = NULL; in do_insnlist_ioctl() local 1462 insns = kcalloc(insnlist.n_insns, sizeof(*insns), GFP_KERNEL); in do_insnlist_ioctl() 1463 if (!insns) { 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() 1476 if (insns[i].n > MAX_SAMPLES) { in do_insnlist_ioctl() 1482 if (insns[i].insn & INSN_MASK_WRITE) { in do_insnlist_ioctl() 1483 if (copy_from_user(data, insns[i].data, in do_insnlist_ioctl() 1484 insns[i].n * sizeof(unsigned int))) { in do_insnlist_ioctl() 1491 ret = parse_insn(dev, insns + i, data, file); in do_insnlist_ioctl() [all …]
|
D | comedi_compat32.c | 86 compat_uptr_t insns; /* 32-bit 'struct comedi_insn *' */ member 367 err |= __get_user(uptr, &insnlist32->insns); in compat_insnlist() 381 err |= __put_user(&s->insn[0], &s->insnlist.insns); in compat_insnlist()
|
D | comedi.h | 497 struct comedi_insn __user *insns; member
|