Home
last modified time | relevance | path

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

12

/Linux-v6.6/include/linux/
Dnetlink.h270 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(PAGE_SIZE) macro
272 #define NLMSG_GOODSIZE SKB_WITH_OVERHEAD(8192UL) macro
275 #define NLMSG_DEFAULT_SIZE (NLMSG_GOODSIZE - NLMSG_HDRLEN)
/Linux-v6.6/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-v6.6/drivers/net/
Dnlmon.c100 dev->mtu = NLMSG_GOODSIZE; in nlmon_setup()
Dgtp.c1658 skb2 = genlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in gtp_genl_get_pdp()
/Linux-v6.6/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()
632 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in thermal_genl_cmd_doit()
/Linux-v6.6/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-v6.6/net/sched/
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()
Dsch_api.c1014 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in qdisc_notify()
1939 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tclass_notify()
1965 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tclass_del_notify()
Dcls_api.c2035 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tfilter_notify()
2064 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tfilter_del_notify()
2888 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tc_chain_notify()
2917 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in tc_chain_notify_delete()
/Linux-v6.6/net/tipc/
Dnet.c330 rep = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_net_addr_legacy_get()
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()
Dbearer.c930 rep = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tipc_nl_bearer_get()
1274 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-v6.6/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-v6.6/net/ethtool/
Dcabletest.c25 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in ethnl_cable_test_started()
/Linux-v6.6/drivers/block/drbd/
Ddrbd_nl.c172 adm_ctx->reply_skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in drbd_adm_prepare()
4525 msg = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in drbd_bcast_event()
4577 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_resource_state()
4629 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_device_state()
4679 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_connection_state()
4730 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_peer_device_state()
4782 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_NOIO); in notify_helper()
/Linux-v6.6/net/netfilter/
Dnf_tables_api.c1020 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_table_notify()
1127 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_gettable()
1854 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_chain_notify()
1957 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_getchain()
3402 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_rule_notify()
3651 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_getrule()
4556 skb = nlmsg_new(NLMSG_GOODSIZE, gfp_flags); in nf_tables_set_notify()
4701 skb2 = alloc_skb(NLMSG_GOODSIZE, GFP_ATOMIC); in nf_tables_getset()
5979 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC); in nft_get_set_elem()
6078 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in nf_tables_setelem_notify()
[all …]
Dnfnetlink_log.c51 #define NFULNL_NLBUFSIZ_DEFAULT NLMSG_GOODSIZE
/Linux-v6.6/net/ipv4/
Dnexthop.c970 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in nexthop_bucket_notify()
3051 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in rtm_get_nexthop()
3531 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in rtm_get_nexthop_bucket()
Droute.c3156 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in inet_rtm_getroute_build_skb()
/Linux-v6.6/net/netlink/
Daf_netlink.c1213 if (size <= NLMSG_GOODSIZE || broadcast) in netlink_alloc_large_skb()
2228 alloc_min_size = max_t(int, cb->min_dump_alloc, NLMSG_GOODSIZE); in netlink_dump()
/Linux-v6.6/net/mpls/
Daf_mpls.c2432 skb = alloc_skb(NLMSG_GOODSIZE, GFP_KERNEL); in mpls_getroute()
/Linux-v6.6/net/core/
Drtnetlink.c3958 return NLMSG_GOODSIZE; in rtnl_calcit()
4838 skb = nlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in rtnl_fdb_get()
/Linux-v6.6/drivers/target/
Dtarget_core_user.c2089 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_KERNEL); in tcmu_netlink_event_init()

12