Searched refs:MAX_LINKS (Results 1 – 4 of 4) sorted by relevance
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()
90 static struct lock_class_key nlk_cb_mutex_keys[MAX_LINKS];92 static const char *const nlk_cb_mutex_key_strings[MAX_LINKS + 1] = {667 if (protocol < 0 || protocol >= MAX_LINKS) in netlink_create()669 protocol = array_index_nospec(protocol, MAX_LINKS); in netlink_create()2037 if (unit < 0 || unit >= MAX_LINKS) in __netlink_kernel_create()2574 if (++iter->link >= MAX_LINKS) in __netlink_seq_next()2610 if (iter->link >= MAX_LINKS) in netlink_seq_stop()2760 nl_table = kcalloc(MAX_LINKS, sizeof(*nl_table), GFP_KERNEL); in netlink_proto_init()2764 for (i = 0; i < MAX_LINKS; i++) { in netlink_proto_init()
35 #define MAX_LINKS 32 macro