Lines Matching refs:tmplt

172 static bool fl_mask_fits_tmplt(struct fl_flow_tmplt *tmplt,  in fl_mask_fits_tmplt()  argument
179 if (!tmplt) in fl_mask_fits_tmplt()
181 ltmplt = fl_key_get_start(&tmplt->mask, mask); in fl_mask_fits_tmplt()
1460 struct fl_flow_tmplt *tmplt, bool rtnl_held, in fl_set_parms() argument
1486 if (!fl_mask_fits_tmplt(tmplt, mask)) { in fl_set_parms()
1860 struct fl_flow_tmplt *tmplt) in fl_hw_create_tmplt() argument
1871 cls_flower.cookie = (unsigned long) tmplt; in fl_hw_create_tmplt()
1872 cls_flower.rule->match.dissector = &tmplt->dissector; in fl_hw_create_tmplt()
1873 cls_flower.rule->match.mask = &tmplt->mask; in fl_hw_create_tmplt()
1874 cls_flower.rule->match.key = &tmplt->dummy_key; in fl_hw_create_tmplt()
1886 struct fl_flow_tmplt *tmplt) in fl_hw_destroy_tmplt() argument
1893 cls_flower.cookie = (unsigned long) tmplt; in fl_hw_destroy_tmplt()
1902 struct fl_flow_tmplt *tmplt; in fl_tmplt_create() local
1917 tmplt = kzalloc(sizeof(*tmplt), GFP_KERNEL); in fl_tmplt_create()
1918 if (!tmplt) { in fl_tmplt_create()
1922 tmplt->chain = chain; in fl_tmplt_create()
1923 err = fl_set_key(net, tb, &tmplt->dummy_key, &tmplt->mask, extack); in fl_tmplt_create()
1927 fl_init_dissector(&tmplt->dissector, &tmplt->mask); in fl_tmplt_create()
1929 err = fl_hw_create_tmplt(chain, tmplt); in fl_tmplt_create()
1934 return tmplt; in fl_tmplt_create()
1937 kfree(tmplt); in fl_tmplt_create()
1945 struct fl_flow_tmplt *tmplt = tmplt_priv; in fl_tmplt_destroy() local
1947 fl_hw_destroy_tmplt(tmplt->chain, tmplt); in fl_tmplt_destroy()
1948 kfree(tmplt); in fl_tmplt_destroy()
2477 struct fl_flow_tmplt *tmplt = tmplt_priv; in fl_tmplt_dump() local
2485 key = &tmplt->dummy_key; in fl_tmplt_dump()
2486 mask = &tmplt->mask; in fl_tmplt_dump()