Searched refs:MAX_LINKS (Results 1 – 4 of 4) sorted by relevance
194 for (i = cb->args[1]; i < MAX_LINKS; i++) { in netlink_diag_dump()202 if (req->sdiag_protocol >= MAX_LINKS) in netlink_diag_dump()
94 static struct lock_class_key nlk_cb_mutex_keys[MAX_LINKS];96 static const char *const nlk_cb_mutex_key_strings[MAX_LINKS + 1] = {681 if (protocol < 0 || protocol >= MAX_LINKS) in netlink_create()683 protocol = array_index_nospec(protocol, MAX_LINKS); in netlink_create()2028 if (unit < 0 || unit >= MAX_LINKS) in __netlink_kernel_create()2526 iter->link = MAX_LINKS; in netlink_walk_start()2563 if (++iter->link >= MAX_LINKS) in __netlink_seq_next()2604 if (iter->link >= MAX_LINKS) in netlink_seq_stop()2754 nl_table = kcalloc(MAX_LINKS, sizeof(*nl_table), GFP_KERNEL); in netlink_proto_init()2758 for (i = 0; i < MAX_LINKS; i++) { in netlink_proto_init()
35 #define MAX_LINKS 32 macro