kern_spec 2649 drivers/infiniband/core/uverbs_cmd.c struct ib_uverbs_flow_spec *kern_spec, kern_spec 2653 drivers/infiniband/core/uverbs_cmd.c ib_spec->type = kern_spec->type; kern_spec 2656 drivers/infiniband/core/uverbs_cmd.c if (kern_spec->flow_tag.size != kern_spec 2661 drivers/infiniband/core/uverbs_cmd.c ib_spec->flow_tag.tag_id = kern_spec->flow_tag.tag_id; kern_spec 2664 drivers/infiniband/core/uverbs_cmd.c if (kern_spec->drop.size != kern_spec 2671 drivers/infiniband/core/uverbs_cmd.c if (kern_spec->action.size != kern_spec 2676 drivers/infiniband/core/uverbs_cmd.c kern_spec->action.handle, kern_spec 2688 drivers/infiniband/core/uverbs_cmd.c if (kern_spec->flow_count.size != kern_spec 2694 drivers/infiniband/core/uverbs_cmd.c kern_spec->flow_count.handle, kern_spec 2851 drivers/infiniband/core/uverbs_cmd.c static int kern_spec_to_ib_spec_filter(struct ib_uverbs_flow_spec *kern_spec, kern_spec 2858 drivers/infiniband/core/uverbs_cmd.c if (check_sub_overflow((size_t)kern_spec->hdr.size, kern_spec 2865 drivers/infiniband/core/uverbs_cmd.c kern_spec_val = (void *)kern_spec + kern_spec 2869 drivers/infiniband/core/uverbs_cmd.c return ib_uverbs_kern_spec_to_ib_spec_filter(kern_spec->type, kern_spec 2876 drivers/infiniband/core/uverbs_cmd.c struct ib_uverbs_flow_spec *kern_spec, kern_spec 2880 drivers/infiniband/core/uverbs_cmd.c if (kern_spec->reserved) kern_spec 2883 drivers/infiniband/core/uverbs_cmd.c if (kern_spec->type >= IB_FLOW_SPEC_ACTION_TAG) kern_spec 2884 drivers/infiniband/core/uverbs_cmd.c return kern_spec_to_ib_spec_action(attrs, kern_spec, ib_spec, kern_spec 2887 drivers/infiniband/core/uverbs_cmd.c return kern_spec_to_ib_spec_filter(kern_spec, ib_spec); kern_spec 3182 drivers/infiniband/core/uverbs_cmd.c struct ib_uverbs_flow_spec_hdr *kern_spec; kern_spec 3273 drivers/infiniband/core/uverbs_cmd.c kern_spec = kern_flow_attr->flow_specs; kern_spec 3276 drivers/infiniband/core/uverbs_cmd.c cmd.flow_attr.size >= sizeof(*kern_spec) && kern_spec 3277 drivers/infiniband/core/uverbs_cmd.c cmd.flow_attr.size >= kern_spec->size; kern_spec 3280 drivers/infiniband/core/uverbs_cmd.c attrs, (struct ib_uverbs_flow_spec *)kern_spec, kern_spec 3287 drivers/infiniband/core/uverbs_cmd.c cmd.flow_attr.size -= kern_spec->size; kern_spec 3288 drivers/infiniband/core/uverbs_cmd.c kern_spec = ((void *)kern_spec) + kern_spec->size;