Lines Matching refs:tmplt

201 static bool fl_mask_fits_tmplt(struct fl_flow_tmplt *tmplt,  in fl_mask_fits_tmplt()  argument
208 if (!tmplt) in fl_mask_fits_tmplt()
210 ltmplt = fl_key_get_start(&tmplt->mask, mask); in fl_mask_fits_tmplt()
2765 struct fl_flow_tmplt *tmplt) in fl_hw_create_tmplt() argument
2776 cls_flower.cookie = (unsigned long) tmplt; in fl_hw_create_tmplt()
2777 cls_flower.rule->match.dissector = &tmplt->dissector; in fl_hw_create_tmplt()
2778 cls_flower.rule->match.mask = &tmplt->mask; in fl_hw_create_tmplt()
2779 cls_flower.rule->match.key = &tmplt->dummy_key; in fl_hw_create_tmplt()
2791 struct fl_flow_tmplt *tmplt) in fl_hw_destroy_tmplt() argument
2798 cls_flower.cookie = (unsigned long) tmplt; in fl_hw_destroy_tmplt()
2808 struct fl_flow_tmplt *tmplt; in fl_tmplt_create() local
2823 tmplt = kzalloc(sizeof(*tmplt), GFP_KERNEL); in fl_tmplt_create()
2824 if (!tmplt) { in fl_tmplt_create()
2828 tmplt->chain = chain; in fl_tmplt_create()
2829 err = fl_set_key(net, tca_opts, tb, &tmplt->dummy_key, in fl_tmplt_create()
2830 &tmplt->mask, extack); in fl_tmplt_create()
2834 fl_init_dissector(&tmplt->dissector, &tmplt->mask); in fl_tmplt_create()
2836 err = fl_hw_create_tmplt(chain, tmplt); in fl_tmplt_create()
2841 return tmplt; in fl_tmplt_create()
2844 kfree(tmplt); in fl_tmplt_create()
2852 struct fl_flow_tmplt *tmplt = tmplt_priv; in fl_tmplt_destroy() local
2854 fl_hw_destroy_tmplt(tmplt->chain, tmplt); in fl_tmplt_destroy()
2855 kfree(tmplt); in fl_tmplt_destroy()
2861 struct fl_flow_tmplt *tmplt = chain->tmplt_priv; in fl_tmplt_reoffload() local
2871 cls_flower.cookie = (unsigned long) tmplt; in fl_tmplt_reoffload()
2872 cls_flower.rule->match.dissector = &tmplt->dissector; in fl_tmplt_reoffload()
2873 cls_flower.rule->match.mask = &tmplt->mask; in fl_tmplt_reoffload()
2874 cls_flower.rule->match.key = &tmplt->dummy_key; in fl_tmplt_reoffload()
3787 struct fl_flow_tmplt *tmplt = tmplt_priv; in fl_tmplt_dump() local
3795 key = &tmplt->dummy_key; in fl_tmplt_dump()
3796 mask = &tmplt->mask; in fl_tmplt_dump()