Home
last modified time | relevance | path

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

12

/Linux-v5.15/include/linux/
Dnetlink.h197 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(PAGE_SIZE) macro
199 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(8192UL) macro
202 #define NLMSG_DEFAULT_SIZE (NLMSG_GOODSIZE - NLMSG_HDRLEN)
/Linux-v5.15/net/hsr/
Dhsr_netlink.c194 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in hsr_nl_ringerror()
236 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in hsr_nl_nodedown()
309 skb_out = genlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in hsr_get_node_status()
/Linux-v5.15/drivers/net/
Dnlmon.c100 dev->mtu = NLMSG_GOODSIZE; in nlmon_setup()
Dgtp.c1270 skb2 = genlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in gtp_genl_get_pdp()
/Linux-v5.15/drivers/thermal/
Dthermal_netlink.c74 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in thermal_genl_sampling_temp()
233 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in thermal_genl_send_event()
580 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in thermal_genl_cmd_doit()
/Linux-v5.15/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-v5.15/net/sched/
Dact_api.c1233 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tcf_get_notify()
1305 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tca_action_flush()
1402 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_del_notify()
1481 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_add_notify()
Dsch_api.c980 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in qdisc_notify()
1855 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tclass_notify()
1881 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tclass_del_notify()
Dcls_api.c1854 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tfilter_notify()
1883 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tfilter_del_notify()
2695 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tc_chain_notify()
2724 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tc_chain_notify_delete()
/Linux-v5.15/net/tipc/
Dnet.c330 rep = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_net_addr_legacy_get()
Dnetlink_compat.c198 buf = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in __tipc_nl_compat_dumpit()
340 trans_buf = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in __tipc_nl_compat_doit()
352 doit_buf = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in __tipc_nl_compat_doit()
1007 args = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_compat_publ_dump()
Dbearer.c918 rep = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_bearer_get()
1262 rep = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_media_get()
Dnode.c2509 msg.skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_node_get_link()
2806 msg.skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_node_get_monitor()
/Linux-v5.15/drivers/net/netdevsim/
Dpsample.c46 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in nsim_dev_psample_skb_build()
Ddev.c664 skb = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nsim_dev_trap_skb_build()
/Linux-v5.15/net/ethtool/
Dcabletest.c25 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in ethnl_cable_test_started()
/Linux-v5.15/net/netfilter/
Dnf_tables_api.c790 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_table_notify()
897 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_gettable()
1577 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_chain_notify()
1680 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_getchain()
2944 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_rule_notify()
3166 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_getrule()
3979 skb = nlmsg_new(NLMSG_GOODSIZE, gfp_flags); in nf_tables_set_notify()
4124 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_getset()
5187 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in nft_get_set_elem()
5274 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_setelem_notify()
[all …]
Dnfnetlink_log.c51 #define NFULNL_NLBUFSIZ_DEFAULT NLMSG_GOODSIZE
/Linux-v5.15/drivers/block/drbd/
Ddrbd_nl.c172 adm_ctx->reply_skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in drbd_adm_prepare()
4581 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in drbd_bcast_event()
4633 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_resource_state()
4684 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_device_state()
4733 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_connection_state()
4783 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_peer_device_state()
4834 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_helper()
/Linux-v5.15/net/ipv4/
Dnexthop.c969 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in nexthop_bucket_notify()
3003 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in rtm_get_nexthop()
3503 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in rtm_get_nexthop_bucket()
Droute.c3142 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in inet_rtm_getroute_build_skb()
/Linux-v5.15/net/netlink/
Daf_netlink.c1190 if (size <= NLMSG_GOODSIZE || broadcast) in netlink_alloc_large_skb()
2254 alloc_min_size = max_t(int, cb->min_dump_alloc, NLMSG_GOODSIZE); in netlink_dump()
/Linux-v5.15/net/mpls/
Daf_mpls.c2400 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in mpls_getroute()
/Linux-v5.15/net/core/
Drtnetlink.c3737 return NLMSG_GOODSIZE; in rtnl_calcit()
4574 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in rtnl_fdb_get()
/Linux-v5.15/drivers/target/
Dtarget_core_user.c2063 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tcmu_netlink_event_init()

12