Searched refs:inuse_idx (Results 1 – 2 of 2) sorted by relevance
3763 int cpu, idx = prot->inuse_idx; in sock_prot_inuse_get()3815 prot->inuse_idx = find_first_zero_bit(proto_inuse_idx, PROTO_INUSE_NR); in assign_proto_idx()3817 if (unlikely(prot->inuse_idx == PROTO_INUSE_NR - 1)) { in assign_proto_idx()3822 set_bit(prot->inuse_idx, proto_inuse_idx); in assign_proto_idx()3828 if (prot->inuse_idx != PROTO_INUSE_NR - 1) in release_proto_idx()3829 clear_bit(prot->inuse_idx, proto_inuse_idx); in release_proto_idx()
1313 unsigned int inuse_idx; member 1540 this_cpu_add(net->core.prot_inuse->val[prot->inuse_idx], val); in sock_prot_inuse_add()