| /linux-6.15/include/linux/ |
| H A D | netlink.h | 272 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(PAGE_SIZE) macro 274 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(8192UL) macro 277 #define NLMSG_DEFAULT_SIZE (NLMSG_GOODSIZE - NLMSG_HDRLEN)
|
| /linux-6.15/net/hsr/ |
| H A D | hsr_netlink.c | 218 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in hsr_nl_ringerror() 260 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in hsr_nl_nodedown() 333 skb_out = genlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in hsr_get_node_status()
|
| /linux-6.15/drivers/net/ |
| H A D | nlmon.c | 80 dev->mtu = NLMSG_GOODSIZE; in nlmon_setup()
|
| H A D | gtp.c | 2251 skb2 = genlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in gtp_genl_get_pdp()
|
| /linux-6.15/drivers/infiniband/core/ |
| H A D | iwpm_util.c | 649 skb = dev_alloc_skb(NLMSG_GOODSIZE); in iwpm_send_mapinfo() 703 if (NLMSG_GOODSIZE - nlmsg_bytes < nlh->nlmsg_len * 2) { in iwpm_send_mapinfo() 721 skb = dev_alloc_skb(NLMSG_GOODSIZE); in iwpm_send_mapinfo()
|
| /linux-6.15/drivers/dpll/ |
| H A D | dpll_netlink.c | 607 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in dpll_device_event_send() 692 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in dpll_pin_event_send() 1311 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in dpll_nl_pin_id_get_doit() 1346 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in dpll_nl_pin_get_doit() 1486 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in dpll_nl_device_id_get_doit() 1516 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in dpll_nl_device_get_doit()
|
| /linux-6.15/drivers/thermal/ |
| H A D | thermal_netlink.c | 99 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in thermal_genl_sampling_temp() 324 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in thermal_genl_send_event() 810 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in thermal_genl_cmd_doit()
|
| /linux-6.15/net/tipc/ |
| H A D | net.c | 330 rep = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_net_addr_legacy_get()
|
| H A D | netlink_compat.c | 195 buf = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in __tipc_nl_compat_dumpit() 337 trans_buf = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in __tipc_nl_compat_doit() 349 doit_buf = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in __tipc_nl_compat_doit() 1004 args = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_compat_publ_dump()
|
| H A D | bearer.c | 934 rep = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_bearer_get() 1281 rep = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_media_get()
|
| H A D | node.c | 2522 msg.skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_node_get_link() 2819 msg.skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_node_get_monitor()
|
| /linux-6.15/drivers/net/netdevsim/ |
| H A D | psample.c | 46 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in nsim_dev_psample_skb_build()
|
| H A D | dev.c | 748 skb = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nsim_dev_trap_skb_build()
|
| /linux-6.15/net/sched/ |
| H A D | act_api.c | 1668 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tcf_get_notify() 1740 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tca_action_flush() 1839 skb = alloc_skb(max(attr_size, NLMSG_GOODSIZE), GFP_KERNEL); in tcf_reoffload_del_notify_msg() 1941 skb = alloc_skb(max(attr_size, NLMSG_GOODSIZE), GFP_KERNEL); in tcf_del_notify_msg() 2038 skb = alloc_skb(max(attr_size, NLMSG_GOODSIZE), GFP_KERNEL); in tcf_add_notify_msg()
|
| H A D | sch_api.c | 1012 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in qdisc_get_notify() 1042 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in qdisc_notify() 2007 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tclass_notify() 2027 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tclass_get_notify() 2055 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tclass_del_notify()
|
| H A D | cls_api.c | 2123 unsigned int size = oskb ? max(NLMSG_GOODSIZE, oskb->len) : NLMSG_GOODSIZE; in tfilter_notify_prep() 2138 size += NLMSG_GOODSIZE; in tfilter_notify_prep() 3010 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tc_chain_notify() 3042 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tc_chain_notify_delete()
|
| /linux-6.15/net/ethtool/ |
| H A D | cabletest.c | 26 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in ethnl_cable_test_started()
|
| H A D | module.c | 490 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in ethnl_module_fw_flash_ntf()
|
| /linux-6.15/drivers/block/drbd/ |
| H A D | drbd_nl.c | 172 adm_ctx->reply_skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in drbd_adm_prepare() 4516 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in drbd_bcast_event() 4568 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_resource_state() 4620 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_device_state() 4670 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_connection_state() 4721 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_peer_device_state() 4773 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_helper()
|
| /linux-6.15/net/netfilter/ |
| H A D | nf_tables_api.c | 1182 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_table_notify() 1289 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_gettable() 2052 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_chain_notify() 2155 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_getchain() 3646 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_rule_notify() 3888 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_getrule_single() 4887 skb = nlmsg_new(NLMSG_GOODSIZE, gfp_flags); in nf_tables_set_notify() 6377 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in nft_get_set_elem() 6544 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_setelem_notify() 8619 skb = nlmsg_new(NLMSG_GOODSIZE, gfp); in __nft_obj_notify() [all …]
|
| H A D | nfnetlink_log.c | 51 #define NFULNL_NLBUFSIZ_DEFAULT NLMSG_GOODSIZE
|
| /linux-6.15/net/ipv4/ |
| H A D | nexthop.c | 1198 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in nexthop_bucket_notify() 3353 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in rtm_get_nexthop() 3827 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in rtm_get_nexthop_bucket()
|
| /linux-6.15/net/core/ |
| H A D | rtnetlink.c | 4317 return NLMSG_GOODSIZE; in rtnl_calcit() 4327 return NLMSG_GOODSIZE; in rtnl_calcit() 5187 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in rtnl_fdb_get()
|
| /linux-6.15/net/mpls/ |
| H A D | af_mpls.c | 2415 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in mpls_getroute()
|
| /linux-6.15/net/netlink/ |
| H A D | af_netlink.c | 2270 alloc_min_size = max_t(int, cb->min_dump_alloc, NLMSG_GOODSIZE); in netlink_dump()
|