Home
last modified time | relevance | path

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

/Linux-v4.19/net/core/
Dsock.c3109 #define PROTO_INUSE_NR 64 /* should be enough for the first time */ macro
3111 int val[PROTO_INUSE_NR];
3114 static DECLARE_BITMAP(proto_inuse_idx, PROTO_INUSE_NR);
3191 prot->inuse_idx = find_first_zero_bit(proto_inuse_idx, PROTO_INUSE_NR); in assign_proto_idx()
3193 if (unlikely(prot->inuse_idx == PROTO_INUSE_NR - 1)) { in assign_proto_idx()
3203 if (prot->inuse_idx != PROTO_INUSE_NR - 1) in release_proto_idx()