Home
last modified time | relevance | path

Searched refs:num_members (Results 1 – 2 of 2) sorted by relevance

/linux/net/packet/
H A Dinternal.h84 unsigned int num_members; member
H A Daf_packet.c1512 unsigned int num = READ_ONCE(f->num_members); in packet_rcv_fanout()
1570 rcu_assign_pointer(f->arr[f->num_members], sk); in __fanout_link()
1572 f->num_members++; in __fanout_link()
1573 if (f->num_members == 1) in __fanout_link()
1584 for (i = 0; i < f->num_members; i++) { in __fanout_unlink()
1589 BUG_ON(i >= f->num_members); in __fanout_unlink()
1591 rcu_dereference_protected(f->arr[f->num_members - 1], in __fanout_unlink()
1593 f->num_members--; in __fanout_unlink()
1594 if (f->num_members == 0) in __fanout_unlink()