Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/linux/
Dnetlink.h208 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(PAGE_SIZE) macro
210 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(8192UL) macro
213 #define NLMSG_DEFAULT_SIZE (NLMSG_GOODSIZE - NLMSG_HDRLEN)
/linux-6.1.9/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-6.1.9/drivers/net/
Dnlmon.c100 dev->mtu = NLMSG_GOODSIZE; in nlmon_setup()
Dgtp.c1654 skb2 = genlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in gtp_genl_get_pdp()
/linux-6.1.9/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.1.9/drivers/thermal/
Dthermal_netlink.c81 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in thermal_genl_sampling_temp()
278 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in thermal_genl_send_event()
635 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in thermal_genl_cmd_doit()
/linux-6.1.9/net/sched/
Dact_api.c1623 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tcf_get_notify()
1695 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tca_action_flush()
1796 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_reoffload_del_notify()
1882 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_del_notify()
1961 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_add_notify()
Dsch_api.c998 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in qdisc_notify()
1864 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tclass_notify()
1890 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tclass_del_notify()
Dcls_api.c1879 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tfilter_notify()
1908 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tfilter_del_notify()
2717 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tc_chain_notify()
2746 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tc_chain_notify_delete()
/linux-6.1.9/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.c919 rep = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_bearer_get()
1263 rep = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_media_get()
Dnode.c2523 msg.skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_node_get_link()
2820 msg.skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_node_get_monitor()
/linux-6.1.9/drivers/net/netdevsim/
Dpsample.c46 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in nsim_dev_psample_skb_build()
Ddev.c751 skb = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nsim_dev_trap_skb_build()
/linux-6.1.9/net/ethtool/
Dcabletest.c25 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in ethnl_cable_test_started()
/linux-6.1.9/net/netfilter/
Dnf_tables_api.c870 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_table_notify()
977 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_gettable()
1684 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_chain_notify()
1787 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_getchain()
3079 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_rule_notify()
3301 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_getrule()
4122 skb = nlmsg_new(NLMSG_GOODSIZE, gfp_flags); in nf_tables_set_notify()
4267 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_getset()
5410 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in nft_get_set_elem()
5499 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_setelem_notify()
[all …]
Dnfnetlink_log.c51 #define NFULNL_NLBUFSIZ_DEFAULT NLMSG_GOODSIZE
/linux-6.1.9/drivers/block/drbd/
Ddrbd_nl.c172 adm_ctx->reply_skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in drbd_adm_prepare()
4502 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in drbd_bcast_event()
4554 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_resource_state()
4606 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_device_state()
4656 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_connection_state()
4707 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_peer_device_state()
4759 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_helper()
/linux-6.1.9/net/ipv4/
Dnexthop.c970 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in nexthop_bucket_notify()
3028 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in rtm_get_nexthop()
3528 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in rtm_get_nexthop_bucket()
Droute.c3157 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in inet_rtm_getroute_build_skb()
/linux-6.1.9/net/netlink/
Daf_netlink.c1199 if (size <= NLMSG_GOODSIZE || broadcast) in netlink_alloc_large_skb()
2248 alloc_min_size = max_t(int, cb->min_dump_alloc, NLMSG_GOODSIZE); in netlink_dump()
/linux-6.1.9/net/mpls/
Daf_mpls.c2426 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in mpls_getroute()
/linux-6.1.9/net/core/
Drtnetlink.c3834 return NLMSG_GOODSIZE; in rtnl_calcit()
4700 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in rtnl_fdb_get()
/linux-6.1.9/drivers/target/
Dtarget_core_user.c2089 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tcmu_netlink_event_init()

12