Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/include/linux/
A Dnetlink.h243 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(PAGE_SIZE) macro
245 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(8192UL) macro
248 #define NLMSG_DEFAULT_SIZE (NLMSG_GOODSIZE - NLMSG_HDRLEN)
/linux-6.3-rc2/net/hsr/
A 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.3-rc2/drivers/net/
A Dnlmon.c100 dev->mtu = NLMSG_GOODSIZE; in nlmon_setup()
A Dgtp.c1654 skb2 = genlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in gtp_genl_get_pdp()
/linux-6.3-rc2/drivers/infiniband/core/
A 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.3-rc2/drivers/thermal/
A 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()
632 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in thermal_genl_cmd_doit()
/linux-6.3-rc2/net/sched/
A Dact_api.c1621 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tcf_get_notify()
1693 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tca_action_flush()
1794 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_reoffload_del_notify()
1880 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_del_notify()
1959 skb = alloc_skb(attr_size <= NLMSG_GOODSIZE ? NLMSG_GOODSIZE : attr_size, in tcf_add_notify()
A Dsch_api.c1006 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in qdisc_notify()
1872 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tclass_notify()
1898 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tclass_del_notify()
A Dcls_api.c2034 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tfilter_notify()
2063 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tfilter_del_notify()
2887 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tc_chain_notify()
2916 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tc_chain_notify_delete()
/linux-6.3-rc2/net/tipc/
A Dnet.c330 rep = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_net_addr_legacy_get()
A Dnetlink_compat.c194 buf = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in __tipc_nl_compat_dumpit()
336 trans_buf = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in __tipc_nl_compat_doit()
348 doit_buf = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in __tipc_nl_compat_doit()
1003 args = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_compat_publ_dump()
A 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()
A 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.3-rc2/drivers/net/netdevsim/
A Dpsample.c46 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in nsim_dev_psample_skb_build()
A Ddev.c751 skb = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nsim_dev_trap_skb_build()
/linux-6.3-rc2/net/ethtool/
A Dcabletest.c25 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in ethnl_cable_test_started()
/linux-6.3-rc2/net/netfilter/
A 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()
1688 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_chain_notify()
1791 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_getchain()
3125 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_rule_notify()
3354 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_getrule()
4186 skb = nlmsg_new(NLMSG_GOODSIZE, gfp_flags); in nf_tables_set_notify()
5478 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in nft_get_set_elem()
5567 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_setelem_notify()
7404 skb = nlmsg_new(NLMSG_GOODSIZE, gfp); in nft_obj_notify()
[all …]
A Dnfnetlink_log.c51 #define NFULNL_NLBUFSIZ_DEFAULT NLMSG_GOODSIZE
/linux-6.3-rc2/drivers/block/drbd/
A Ddrbd_nl.c172 adm_ctx->reply_skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in drbd_adm_prepare()
4515 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in drbd_bcast_event()
4567 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_resource_state()
4619 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_device_state()
4669 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_connection_state()
4720 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_peer_device_state()
4772 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_helper()
/linux-6.3-rc2/net/ipv4/
A 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()
A Droute.c3157 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in inet_rtm_getroute_build_skb()
/linux-6.3-rc2/net/netlink/
A Daf_netlink.c1210 if (size <= NLMSG_GOODSIZE || broadcast) in netlink_alloc_large_skb()
2259 alloc_min_size = max_t(int, cb->min_dump_alloc, NLMSG_GOODSIZE); in netlink_dump()
/linux-6.3-rc2/net/mpls/
A Daf_mpls.c2430 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in mpls_getroute()
/linux-6.3-rc2/net/core/
A Drtnetlink.c3910 return NLMSG_GOODSIZE; in rtnl_calcit()
4783 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in rtnl_fdb_get()
/linux-6.3-rc2/drivers/target/
A Dtarget_core_user.c2089 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tcmu_netlink_event_init()

Completed in 120 milliseconds

12