Lines Matching refs:MAX_LINKS
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] = {
130 "nlk_cb_mutex-MAX_LINKS"
686 if (protocol < 0 || protocol >= MAX_LINKS)
688 protocol = array_index_nospec(protocol, MAX_LINKS);
2029 if (unit < 0 || unit >= MAX_LINKS)
2644 if (++iter->link >= MAX_LINKS)
2681 if (iter->link >= MAX_LINKS)
2926 nl_table = kcalloc(MAX_LINKS, sizeof(*nl_table), GFP_KERNEL);
2930 for (i = 0; i < MAX_LINKS; i++) {