Searched refs:MAX_LINKS (Results 1 – 5 of 5) sorted by relevance
44 #define MAX_LINKS 128 macro64 u16 links[MAX_LINKS];
195 for (i = cb->args[1]; i < MAX_LINKS; i++) { in netlink_diag_dump()203 if (req->sdiag_protocol >= MAX_LINKS) in netlink_diag_dump()
95 static struct lock_class_key nlk_cb_mutex_keys[MAX_LINKS];97 static const char *const nlk_cb_mutex_key_strings[MAX_LINKS + 1] = {687 if (protocol < 0 || protocol >= MAX_LINKS) in netlink_create()689 protocol = array_index_nospec(protocol, MAX_LINKS); in netlink_create()2060 if (unit < 0 || unit >= MAX_LINKS) in __netlink_kernel_create()2673 if (++iter->link >= MAX_LINKS) in __netlink_seq_next()2710 if (iter->link >= MAX_LINKS) in netlink_native_seq_stop()2956 nl_table = kcalloc(MAX_LINKS, sizeof(*nl_table), GFP_KERNEL); in netlink_proto_init()2960 for (i = 0; i < MAX_LINKS; i++) { in netlink_proto_init()
35 #define MAX_LINKS 32 macro
Completed in 13 milliseconds