Home
last modified time | relevance | path

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

/net/openvswitch/
Dflow_table.c794 struct mask_cache_entry *entries, *ce; in ovs_flow_tbl_lookup_stats() local
815 ce = NULL; in ovs_flow_tbl_lookup_stats()
833 if (!ce || e->skb_hash < ce->skb_hash) in ovs_flow_tbl_lookup_stats()
834 ce = e; /* A better replacement cache candidate. */ in ovs_flow_tbl_lookup_stats()
841 &ce->mask_index); in ovs_flow_tbl_lookup_stats()
843 ce->skb_hash = skb_hash; in ovs_flow_tbl_lookup_stats()
/net/bridge/netfilter/
Debtables.c1710 struct ebt_entry __user *ce; in compat_copy_entry_to_user() local
1726 if (*size < sizeof(*ce)) in compat_copy_entry_to_user()
1729 ce = *dstptr; in compat_copy_entry_to_user()
1730 if (copy_to_user(ce, e, sizeof(*ce))) in compat_copy_entry_to_user()
1734 *dstptr += sizeof(*ce); in compat_copy_entry_to_user()
1753 if (put_user(watchers_offset, &ce->watchers_offset) || in compat_copy_entry_to_user()
1754 put_user(target_offset, &ce->target_offset) || in compat_copy_entry_to_user()
1755 put_user(next_offset, &ce->next_offset)) in compat_copy_entry_to_user()
1758 *size -= sizeof(*ce); in compat_copy_entry_to_user()
/net/ipv4/netfilter/
Darp_tables.c1302 struct compat_arpt_entry __user *ce; in compat_copy_entry_to_user() local
1308 ce = *dstptr; in compat_copy_entry_to_user()
1309 if (copy_to_user(ce, e, sizeof(struct arpt_entry)) != 0 || in compat_copy_entry_to_user()
1310 copy_to_user(&ce->counters, &counters[i], in compat_copy_entry_to_user()
1324 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
1325 put_user(next_offset, &ce->next_offset) != 0) in compat_copy_entry_to_user()
Dip_tables.c1220 struct compat_ipt_entry __user *ce; in compat_copy_entry_to_user() local
1227 ce = *dstptr; in compat_copy_entry_to_user()
1228 if (copy_to_user(ce, e, sizeof(struct ipt_entry)) != 0 || in compat_copy_entry_to_user()
1229 copy_to_user(&ce->counters, &counters[i], in compat_copy_entry_to_user()
1247 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
1248 put_user(next_offset, &ce->next_offset) != 0) in compat_copy_entry_to_user()
/net/ipv6/netfilter/
Dip6_tables.c1237 struct compat_ip6t_entry __user *ce; in compat_copy_entry_to_user() local
1244 ce = *dstptr; in compat_copy_entry_to_user()
1245 if (copy_to_user(ce, e, sizeof(struct ip6t_entry)) != 0 || in compat_copy_entry_to_user()
1246 copy_to_user(&ce->counters, &counters[i], in compat_copy_entry_to_user()
1264 if (put_user(target_offset, &ce->target_offset) != 0 || in compat_copy_entry_to_user()
1265 put_user(next_offset, &ce->next_offset) != 0) in compat_copy_entry_to_user()