Home
last modified time | relevance | path

Searched refs:insns (Results 1 – 5 of 5) sorted by relevance

/drivers/comedi/
Dcomedi_fops.c1523 struct comedi_insn *insns, in do_insnlist_ioctl() argument
1536 if (insns[i].n > MAX_SAMPLES) { in do_insnlist_ioctl()
1542 max_n_data_required = max(max_n_data_required, insns[i].n); in do_insnlist_ioctl()
1554 if (insns[i].insn & INSN_MASK_WRITE) { in do_insnlist_ioctl()
1555 if (copy_from_user(data, insns[i].data, in do_insnlist_ioctl()
1556 insns[i].n * sizeof(unsigned int))) { in do_insnlist_ioctl()
1563 ret = parse_insn(dev, insns + i, data, file); in do_insnlist_ioctl()
1566 if (insns[i].insn & INSN_MASK_READ) { in do_insnlist_ioctl()
1567 if (copy_to_user(insns[i].data, data, in do_insnlist_ioctl()
1568 insns[i].n * sizeof(unsigned int))) { in do_insnlist_ioctl()
[all …]
/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.h238 list_first_entry(&(nfp_prog)->insns, struct nfp_insn_meta, l)
240 list_last_entry(&(nfp_prog)->insns, struct nfp_insn_meta, l)
544 struct list_head insns; member
Doffload.c169 list_add_tail(&meta->l, &nfp_prog->insns); in nfp_prog_prepare()
184 list_for_each_entry_safe(meta, tmp, &nfp_prog->insns, l) { in nfp_prog_free()
201 INIT_LIST_HEAD(&nfp_prog->insns); in nfp_bpf_verifier_prep()
Djit.c23 for (pos = list_first_entry(&(nfp_prog)->insns, typeof(*pos), l), \
25 &(nfp_prog)->insns != &pos->l && \
26 &(nfp_prog)->insns != &next->l; \
31 for (pos = list_first_entry(&(nfp_prog)->insns, typeof(*pos), l), \
34 &(nfp_prog)->insns != &pos->l && \
35 &(nfp_prog)->insns != &next->l && \
36 &(nfp_prog)->insns != &next2->l; \
44 return meta->l.prev != &nfp_prog->insns; in nfp_meta_has_prev()
3560 list_for_each_entry(meta, &nfp_prog->insns, l) { in nfp_fixup_branches()
3571 if (list_is_last(&meta->l, &nfp_prog->insns)) in nfp_fixup_branches()
[all …]
Dverifier.c679 list_for_each_entry(meta, &nfp_prog->insns, l) { in nfp_assign_subprog_idx_and_regs()
757 list_for_each_entry(meta, &nfp_prog->insns, l) { in nfp_bpf_insn_flag_zext()
851 if (WARN_ON_ONCE(&meta->l == &nfp_prog->insns)) in nfp_bpf_opt_remove_insns()