Searched refs:MAX_LINKS (Results 1 – 9 of 9) 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()
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] = {675 if (protocol < 0 || protocol >= MAX_LINKS) in netlink_create()677 protocol = array_index_nospec(protocol, MAX_LINKS); in netlink_create()2053 if (unit < 0 || unit >= MAX_LINKS) in __netlink_kernel_create()2614 if (++iter->link >= MAX_LINKS) in __netlink_seq_next()2651 if (iter->link >= MAX_LINKS) in netlink_native_seq_stop()2897 nl_table = kcalloc(MAX_LINKS, sizeof(*nl_table), GFP_KERNEL); in netlink_proto_init()2901 for (i = 0; i < MAX_LINKS; i++) { in netlink_proto_init()
35 #define MAX_LINKS 32 macro
811 #define NETLINK_MARVELL (MAX_LINKS - 1)
908 #define NETLINK_NXP (MAX_LINKS - 1)