Home
last modified time | relevance | path

Searched refs:NLMSG_GOODSIZE (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.12.1/include/linux/
Dnetlink.h271 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(PAGE_SIZE) macro
273 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(8192UL) macro
276 #define NLMSG_DEFAULT_SIZE (NLMSG_GOODSIZE - NLMSG_HDRLEN)
/linux-6.12.1/net/hsr/
Dhsr_netlink.c219 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in hsr_nl_ringerror()
261 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in hsr_nl_nodedown()
334 skb_out = genlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in hsr_get_node_status()
/linux-6.12.1/drivers/net/
Dnlmon.c80 dev->mtu = NLMSG_GOODSIZE; in nlmon_setup()
Dgtp.c2255 skb2 = genlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in gtp_genl_get_pdp()
/linux-6.12.1/drivers/thermal/
Dthermal_netlink.c91 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in thermal_genl_sampling_temp()
277 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in thermal_genl_send_event()
619 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in thermal_genl_cmd_doit()
/linux-6.12.1/drivers/infiniband/core/
Diwpm_util.c649 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.12.1/drivers/dpll/
Ddpll_netlink.c583 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in dpll_device_event_send()
668 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in dpll_pin_event_send()
1287 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in dpll_nl_pin_id_get_doit()
1322 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in dpll_nl_pin_get_doit()
1462 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in dpll_nl_device_id_get_doit()
1492 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in dpll_nl_device_get_doit()
/linux-6.12.1/net/tipc/
Dnetlink_compat.c195 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()
Dnet.c330 rep = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_net_addr_legacy_get()
Dbearer.c934 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()
Dnode.c2522 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.12.1/drivers/net/netdevsim/
Dpsample.c46 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in nsim_dev_psample_skb_build()
Ddev.c748 skb = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nsim_dev_trap_skb_build()
/linux-6.12.1/net/sched/
Dact_api.c1669 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tcf_get_notify()
1741 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tca_action_flush()
1840 skb = alloc_skb(max(attr_size, NLMSG_GOODSIZE), GFP_KERNEL); in tcf_reoffload_del_notify_msg()
1942 skb = alloc_skb(max(attr_size, NLMSG_GOODSIZE), GFP_KERNEL); in tcf_del_notify_msg()
2039 skb = alloc_skb(max(attr_size, NLMSG_GOODSIZE), GFP_KERNEL); in tcf_add_notify_msg()
Dsch_api.c1012 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in qdisc_get_notify()
1042 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in qdisc_notify()
1977 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tclass_notify()
1997 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tclass_get_notify()
2025 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tclass_del_notify()
Dcls_api.c2125 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tfilter_notify()
2157 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tfilter_del_notify()
2982 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tc_chain_notify()
3014 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tc_chain_notify_delete()
/linux-6.12.1/net/ethtool/
Dcabletest.c25 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in ethnl_cable_test_started()
Dmodule.c487 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in ethnl_module_fw_flash_ntf()
/linux-6.12.1/drivers/block/drbd/
Ddrbd_nl.c172 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.12.1/net/netfilter/
Dnf_tables_api.c1083 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_table_notify()
1190 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_gettable()
1951 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_chain_notify()
2054 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_getchain()
3527 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_rule_notify()
3769 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_getrule_single()
4753 skb = nlmsg_new(NLMSG_GOODSIZE, gfp_flags); in nf_tables_set_notify()
4900 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_getset()
6225 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in nft_get_set_elem()
6392 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_setelem_notify()
[all …]
Dnfnetlink_log.c51 #define NFULNL_NLBUFSIZ_DEFAULT NLMSG_GOODSIZE
/linux-6.12.1/net/ipv4/
Dnexthop.c1198 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in nexthop_bucket_notify()
3317 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in rtm_get_nexthop()
3794 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in rtm_get_nexthop_bucket()
/linux-6.12.1/net/core/
Drtnetlink.c4016 return NLMSG_GOODSIZE; in rtnl_calcit()
4026 return NLMSG_GOODSIZE; in rtnl_calcit()
4898 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in rtnl_fdb_get()
/linux-6.12.1/net/mpls/
Daf_mpls.c2415 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in mpls_getroute()
/linux-6.12.1/net/netlink/
Daf_netlink.c2272 alloc_min_size = max_t(int, cb->min_dump_alloc, NLMSG_GOODSIZE); in netlink_dump()

12