Lines Matching refs:MAX_LINKS
91 static struct lock_class_key nlk_cb_mutex_keys[MAX_LINKS];
93 static const char *const nlk_cb_mutex_key_strings[MAX_LINKS + 1] = {
126 "nlk_cb_mutex-MAX_LINKS"
677 if (protocol < 0 || protocol >= MAX_LINKS)
679 protocol = array_index_nospec(protocol, MAX_LINKS);
2035 if (unit < 0 || unit >= MAX_LINKS)
2596 if (++iter->link >= MAX_LINKS)
2633 if (iter->link >= MAX_LINKS)
2879 nl_table = kcalloc(MAX_LINKS, sizeof(*nl_table), GFP_KERNEL);
2883 for (i = 0; i < MAX_LINKS; i++) {