Lines Matching refs:sw_flow_key
47 void ovs_flow_mask_key(struct sw_flow_key *dst, const struct sw_flow_key *src, in ovs_flow_mask_key()
370 static u32 flow_hash(const struct sw_flow_key *key, in flow_hash()
384 static int flow_key_start(const struct sw_flow_key *key) in flow_key_start()
389 return rounddown(offsetof(struct sw_flow_key, phy), in flow_key_start()
393 static bool cmp_key(const struct sw_flow_key *key1, in cmp_key()
394 const struct sw_flow_key *key2, in cmp_key()
409 const struct sw_flow_key *key, in flow_cmp_masked_key()
418 struct sw_flow_key *key = match->key; in ovs_flow_cmp_unmasked_key()
427 const struct sw_flow_key *unmasked, in masked_flow_lookup()
433 struct sw_flow_key masked_key; in masked_flow_lookup()
447 const struct sw_flow_key *key, in ovs_flow_tbl_lookup_stats()
465 const struct sw_flow_key *key) in ovs_flow_tbl_lookup()
710 BUILD_BUG_ON(__alignof__(struct sw_flow_key) % __alignof__(long)); in ovs_flow_init()
711 BUILD_BUG_ON(sizeof(struct sw_flow_key) % sizeof(long)); in ovs_flow_init()