Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/core/
H A Dsock.c3339 #define PROTO_INUSE_NR 64 /* should be enough for the first time */ macro
3341 int val[PROTO_INUSE_NR];
3344 static DECLARE_BITMAP(proto_inuse_idx, PROTO_INUSE_NR);
3421 prot->inuse_idx = find_first_zero_bit(proto_inuse_idx, PROTO_INUSE_NR); in assign_proto_idx()
3423 if (unlikely(prot->inuse_idx == PROTO_INUSE_NR - 1)) { in assign_proto_idx()
3424 pr_err("PROTO_INUSE_NR exhausted\n"); in assign_proto_idx()
3434 if (prot->inuse_idx != PROTO_INUSE_NR - 1) in release_proto_idx()
/kernel/linux/linux-6.6/net/core/
H A Dsock.c3763 static DECLARE_BITMAP(proto_inuse_idx, PROTO_INUSE_NR);
3819 prot->inuse_idx = find_first_zero_bit(proto_inuse_idx, PROTO_INUSE_NR); in assign_proto_idx()
3821 if (unlikely(prot->inuse_idx == PROTO_INUSE_NR - 1)) { in assign_proto_idx()
3822 pr_err("PROTO_INUSE_NR exhausted\n"); in assign_proto_idx()
3832 if (prot->inuse_idx != PROTO_INUSE_NR - 1) in release_proto_idx()
/kernel/linux/linux-6.6/include/net/
H A Dsock.h1526 #define PROTO_INUSE_NR 64 /* should be enough for the first time */ macro
1529 int val[PROTO_INUSE_NR];

Completed in 14 milliseconds