Home
last modified time | relevance | path

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

/linux/net/core/
H A Dsock.c3865 int cpu, idx = prot->inuse_idx; in sock_prot_inuse_get()
3917 prot->inuse_idx = find_first_zero_bit(proto_inuse_idx, PROTO_INUSE_NR); in assign_proto_idx()
3919 if (unlikely(prot->inuse_idx == PROTO_INUSE_NR - 1)) { in assign_proto_idx()
3924 set_bit(prot->inuse_idx, proto_inuse_idx); in assign_proto_idx()
3930 if (prot->inuse_idx != PROTO_INUSE_NR - 1) in release_proto_idx()
3931 clear_bit(prot->inuse_idx, proto_inuse_idx); in release_proto_idx()
/linux/include/net/
H A Dsock.h1277 unsigned int inuse_idx; member
1426 this_cpu_add(net->core.prot_inuse->val[prot->inuse_idx], val); in sock_prot_inuse_add()