Searched refs:inuse_idx (Results 1 – 2 of 2) sorted by relevance
3332 __this_cpu_add(net->core.prot_inuse->val[prot->inuse_idx], val); in sock_prot_inuse_add()3338 int cpu, idx = prot->inuse_idx; in sock_prot_inuse_get()3405 prot->inuse_idx = find_first_zero_bit(proto_inuse_idx, PROTO_INUSE_NR); in assign_proto_idx()3407 if (unlikely(prot->inuse_idx == PROTO_INUSE_NR - 1)) { in assign_proto_idx()3412 set_bit(prot->inuse_idx, proto_inuse_idx); in assign_proto_idx()3418 if (prot->inuse_idx != PROTO_INUSE_NR - 1) in release_proto_idx()3419 clear_bit(prot->inuse_idx, proto_inuse_idx); in release_proto_idx()
1217 unsigned int inuse_idx; member