Home
last modified time | relevance | path

Searched refs:members (Results 1 – 8 of 8) sorted by relevance

/net/netfilter/ipset/
Dip_set_list_set.c45 struct list_head members; /* the set members */ member
63 list_for_each_entry_rcu(e, &map->members, list) { in list_set_ktest()
82 list_for_each_entry_rcu(e, &map->members, list) { in list_set_kadd()
102 list_for_each_entry_rcu(e, &map->members, list) { in list_set_kdel()
179 list_for_each_entry_safe(e, n, &map->members, list) in set_cleanup_entries()
194 list_for_each_entry_rcu(e, &map->members, list) { in list_set_utest()
208 ret = !list_is_last(&e->list, &map->members) && in list_set_utest()
246 list_for_each_entry_rcu(e, &map->members, list) { in list_set_uadd()
280 n = list_empty(&map->members) ? NULL : in list_set_uadd()
281 list_last_entry(&map->members, struct set_elem, list); in list_set_uadd()
[all …]
Dip_set_bitmap_ipmac.c45 unsigned long *members; /* the set members */ member
88 if (!test_bit(e->id, map->members)) in bitmap_ipmac_do_test()
102 if (!test_bit(id, map->members)) in bitmap_ipmac_gc_test()
149 if (test_bit(e->id, map->members)) { in bitmap_ipmac_do_add()
155 clear_bit(e->id, map->members); in bitmap_ipmac_do_add()
164 clear_bit(e->id, map->members); in bitmap_ipmac_do_add()
184 return !test_and_clear_bit(e->id, map->members); in bitmap_ipmac_do_del()
302 map->members = bitmap_zalloc(elements, GFP_KERNEL | __GFP_NOWARN); in init_map_ipmac()
303 if (!map->members) in init_map_ipmac()
Dip_set_bitmap_port.c33 unsigned long *members; /* the set members */ member
61 return !!test_bit(e->id, map->members); in bitmap_port_do_test()
67 return !!test_bit(id, map->members); in bitmap_port_gc_test()
74 return !!test_bit(e->id, map->members); in bitmap_port_do_add()
81 return !test_and_clear_bit(e->id, map->members); in bitmap_port_do_del()
234 map->members = bitmap_zalloc(map->elements, GFP_KERNEL | __GFP_NOWARN); in init_map_port()
235 if (!map->members) in init_map_port()
Dip_set_bitmap_gen.h52 if (test_bit(id, map->members)) in mtype_ext_cleanup()
63 ip_set_free(map->members); in mtype_destroy()
76 bitmap_zero(map->members, map->elements); in mtype_flush()
142 set_bit(e->id, map->members); in mtype_add()
166 set_bit(e->id, map->members); in mtype_add()
220 if (!test_bit(id, map->members) || in mtype_list()
278 clear_bit(id, map->members); in mtype_gc()
Dip_set_bitmap_ip.c40 unsigned long *members; /* the set members */ member
70 return !!test_bit(e->id, map->members); in bitmap_ip_do_test()
76 return !!test_bit(id, map->members); in bitmap_ip_gc_test()
83 return !!test_bit(e->id, map->members); in bitmap_ip_do_add()
89 return !test_and_clear_bit(e->id, map->members); in bitmap_ip_do_del()
223 map->members = bitmap_zalloc(elements, GFP_KERNEL | __GFP_NOWARN); in init_map_ip()
224 if (!map->members) in init_map_ip()
Dip_set_core.c261 ip_set_free(void *members) in ip_set_free() argument
263 pr_debug("%p: free with %s\n", members, in ip_set_free()
264 is_vmalloc_addr(members) ? "vfree" : "kfree"); in ip_set_free()
265 kvfree(members); in ip_set_free()
/net/tipc/
Dgroup.c81 struct rb_root members; member
179 grp->members = RB_ROOT; in tipc_group_create()
199 struct rb_root *tree = &grp->members; in tipc_group_join()
214 struct rb_root *tree = &grp->members; in tipc_group_delete()
235 struct rb_node *n = grp->members.rb_node; in tipc_group_find_member()
269 for (n = rb_first(&grp->members); n; n = rb_next(n)) { in tipc_group_find_node()
284 n = &grp->members.rb_node; in tipc_group_add_to_tree()
298 rb_insert_color(&m->tree_node, &grp->members); in tipc_group_add_to_tree()
340 rb_erase(&m->tree_node, &grp->members); in tipc_group_delete_member()
402 for (n = rb_first(&grp->members); n; n = rb_next(n)) { in tipc_group_update_bc_members()
Dmonitor.c60 u32 members[MAX_MON_DOMAIN]; member
141 return (offsetof(struct tipc_mon_domain, members)) + (mcnt * sizeof(u32)); in dom_rec_len()
260 addr = dom->members[i]; in mon_apply_domain()
290 diff |= dom->members[i] != peer->addr; in mon_update_local_domain()
291 dom->members[i] = peer->addr; in mon_update_local_domain()
293 cache->members[i] = mon_cpu_to_le32(peer->addr); in mon_update_local_domain()
555 dom->members[i] = mon_le32_to_cpu(arrv_dom->members[i]); in tipc_mon_rcv()
781 dom->member_cnt * sizeof(u32), &dom->members)) in __tipc_nl_add_monitor_peer()