Searched refs:masks (Results 1 – 8 of 8) sorted by relevance
/net/openvswitch/ |
D | flow_table.c | 261 if (ovsl_dereference(old->masks[i])) in tbl_mask_array_realloc() 262 new->masks[new->count++] = old->masks[i]; in tbl_mask_array_realloc() 292 BUG_ON(ovsl_dereference(ma->masks[ma_count])); in tbl_mask_array_add_mask() 294 rcu_assign_pointer(ma->masks[ma_count], new); in tbl_mask_array_add_mask() 308 if (mask == ovsl_dereference(ma->masks[i])) in tbl_mask_array_del_mask() 318 rcu_assign_pointer(ma->masks[i], ma->masks[ma_count - 1]); in tbl_mask_array_del_mask() 319 RCU_INIT_POINTER(ma->masks[ma_count - 1], NULL); in tbl_mask_array_del_mask() 743 mask = rcu_dereference_ovsl(ma->masks[*index]); in flow_lookup() 761 mask = rcu_dereference_ovsl(ma->masks[i]); in flow_lookup() 882 mask = ovsl_dereference(ma->masks[i]); in ovs_flow_tbl_lookup_exact() [all …]
|
D | flow_table.h | 51 struct sw_flow_mask __rcu *masks[]; member
|
/net/netfilter/ |
D | nft_set_pipapo.c | 1042 int step, masks = 0, bytes = DIV_ROUND_UP(len, BITS_PER_BYTE); local 1056 if (!masks) { 1060 masks = 1; 1071 masks++; 1075 return masks;
|
D | Kconfig | 1662 AND them with specified masks, shift them by specified amounts and
|
/net/netlink/ |
D | af_netlink.c | 77 unsigned long masks[]; member 564 listeners->masks[i] = mask; in netlink_update_listeners() 1386 res = test_bit(group - 1, listeners->masks); in netlink_has_listeners() 2128 memcpy(new->masks, old->masks, NLGRPSZ(tbl->groups)); in __netlink_change_ngroups()
|
/net/sched/ |
D | cls_flower.c | 105 struct list_head masks; member 319 list_for_each_entry_rcu(mask, &head->masks, list) { in fl_classify() 354 INIT_LIST_HEAD_RCU(&head->masks); in fl_init() 586 list_for_each_entry_safe(mask, next_mask, &head->masks, list) { in fl_destroy() 1875 list_add_tail_rcu(&newmask->list, &head->masks); in fl_create_new_mask() 2199 *last = list_empty(&head->masks); in fl_delete()
|
D | Kconfig | 547 a configurable combination of packet keys and masks.
|
/net/core/ |
D | filter.c | 910 u16 *masks, memvalid = 0; /* One bit per cell, 16 cells */ in check_load_and_stores() local 915 masks = kmalloc_array(flen, sizeof(*masks), GFP_KERNEL); in check_load_and_stores() 916 if (!masks) in check_load_and_stores() 919 memset(masks, 0xff, flen * sizeof(*masks)); in check_load_and_stores() 922 memvalid &= masks[pc]; in check_load_and_stores() 938 masks[pc + 1 + filter[pc].k] &= memvalid; in check_load_and_stores() 950 masks[pc + 1 + filter[pc].jt] &= memvalid; in check_load_and_stores() 951 masks[pc + 1 + filter[pc].jf] &= memvalid; in check_load_and_stores() 957 kfree(masks); in check_load_and_stores()
|