Searched refs:ma (Results 1 – 6 of 6) sorted by relevance
/net/openvswitch/ |
D | flow_table.c | 176 static void __mask_array_destroy(struct mask_array *ma) in __mask_array_destroy() argument 178 free_percpu(ma->masks_usage_stats); in __mask_array_destroy() 179 kfree(ma); in __mask_array_destroy() 184 struct mask_array *ma = container_of(rcu, struct mask_array, rcu); in mask_array_rcu_cb() local 186 __mask_array_destroy(ma); in mask_array_rcu_cb() 189 static void tbl_mask_array_reset_counters(struct mask_array *ma) in tbl_mask_array_reset_counters() argument 198 for (i = 0; i < ma->max; i++) { in tbl_mask_array_reset_counters() 199 ma->masks_usage_zero_cntr[i] = 0; in tbl_mask_array_reset_counters() 206 stats = per_cpu_ptr(ma->masks_usage_stats, cpu); in tbl_mask_array_reset_counters() 212 ma->masks_usage_zero_cntr[i] += counter; in tbl_mask_array_reset_counters() [all …]
|
/net/ipv6/ |
D | mcast.c | 73 static void igmp6_join_group(struct ifmcaddr6 *ma); 74 static void igmp6_leave_group(struct ifmcaddr6 *ma); 966 struct ifmcaddr6 *ma, __rcu **map; in __ipv6_dev_mc_dec() local 972 (ma = mc_dereference(*map, idev)); in __ipv6_dev_mc_dec() 973 map = &ma->next) { in __ipv6_dev_mc_dec() 974 if (ipv6_addr_equal(&ma->mca_addr, addr)) { in __ipv6_dev_mc_dec() 975 if (--ma->mca_users == 0) { in __ipv6_dev_mc_dec() 976 *map = ma->next; in __ipv6_dev_mc_dec() 978 igmp6_group_dropped(ma); in __ipv6_dev_mc_dec() 979 ip6_mc_clear_src(ma); in __ipv6_dev_mc_dec() [all …]
|
/net/appletalk/ |
D | aarp.c | 720 struct atalk_addr sa, *ma, da; in aarp_rcv() local 814 ma = __aarp_proxy_find(dev, &sa); in aarp_rcv() 815 if (!ma) in aarp_rcv() 816 ma = &ifa->address; in aarp_rcv() 820 ma = &da; in aarp_rcv() 846 if (sa.s_node != ma->s_node) in aarp_rcv() 849 if (sa.s_net && ma->s_net && sa.s_net != ma->s_net) in aarp_rcv() 857 aarp_send_reply(dev, ma, &sa, ea->hw_src); in aarp_rcv()
|
/net/switchdev/ |
D | switchdev.c | 26 const struct switchdev_obj_port_mdb *ma, *mb; in switchdev_obj_eq() local 40 ma = SWITCHDEV_OBJ_PORT_MDB(a); in switchdev_obj_eq() 42 return ma->vid == mb->vid && in switchdev_obj_eq() 43 ether_addr_equal(ma->addr, mb->addr); in switchdev_obj_eq()
|
/net/xfrm/ |
D | xfrm_user.c | 2716 static int copy_from_user_migrate(struct xfrm_migrate *ma, in copy_from_user_migrate() argument 2740 for (i = 0; i < num_migrate; i++, um++, ma++) { in copy_from_user_migrate() 2741 memcpy(&ma->old_daddr, &um->old_daddr, sizeof(ma->old_daddr)); in copy_from_user_migrate() 2742 memcpy(&ma->old_saddr, &um->old_saddr, sizeof(ma->old_saddr)); in copy_from_user_migrate() 2743 memcpy(&ma->new_daddr, &um->new_daddr, sizeof(ma->new_daddr)); in copy_from_user_migrate() 2744 memcpy(&ma->new_saddr, &um->new_saddr, sizeof(ma->new_saddr)); in copy_from_user_migrate() 2746 ma->proto = um->proto; in copy_from_user_migrate() 2747 ma->mode = um->mode; in copy_from_user_migrate() 2748 ma->reqid = um->reqid; in copy_from_user_migrate() 2750 ma->old_family = um->old_family; in copy_from_user_migrate() [all …]
|
D | xfrm_policy.c | 797 u32 ma, mb, mask; in xfrm_policy_addr_delta() local 806 ma = ntohl(a->a4) & mask; in xfrm_policy_addr_delta() 808 if (ma < mb) in xfrm_policy_addr_delta() 810 else if (ma > mb) in xfrm_policy_addr_delta() 824 ma = ntohl(a->a6[pdw]) & mask; in xfrm_policy_addr_delta() 826 if (ma < mb) in xfrm_policy_addr_delta() 828 else if (ma > mb) in xfrm_policy_addr_delta()
|