Home
last modified time | relevance | path

Searched refs:attrbuf (Results 1 – 4 of 4) sorted by relevance

/linux/net/tipc/
A Dnetlink_compat.c191 struct nlattr **attrbuf; in __tipc_nl_compat_dumpit() local
208 attrbuf = kcalloc(tipc_genl_family.maxattr + 1, in __tipc_nl_compat_dumpit()
210 if (!attrbuf) { in __tipc_nl_compat_dumpit()
215 info.attrs = attrbuf; in __tipc_nl_compat_dumpit()
231 attrbuf, in __tipc_nl_compat_dumpit()
238 err = (*cmd->format)(msg, attrbuf); in __tipc_nl_compat_dumpit()
256 kfree(attrbuf); in __tipc_nl_compat_dumpit()
337 struct nlattr **attrbuf; in __tipc_nl_compat_doit() local
347 if (!attrbuf) { in __tipc_nl_compat_doit()
359 info.attrs = attrbuf; in __tipc_nl_compat_doit()
[all …]
/linux/net/netlink/
A Dgenetlink.c529 struct nlattr **attrbuf; in genl_family_rcv_msg_attrs_parse() local
535 attrbuf = kmalloc_array(ops->maxattr + 1, in genl_family_rcv_msg_attrs_parse()
537 if (!attrbuf) in genl_family_rcv_msg_attrs_parse()
543 kfree(attrbuf); in genl_family_rcv_msg_attrs_parse()
546 return attrbuf; in genl_family_rcv_msg_attrs_parse()
551 kfree(attrbuf); in genl_family_rcv_msg_attrs_free()
702 struct nlattr **attrbuf; in genl_family_rcv_msg_doit() local
712 if (IS_ERR(attrbuf)) in genl_family_rcv_msg_doit()
713 return PTR_ERR(attrbuf); in genl_family_rcv_msg_doit()
720 info.attrs = attrbuf; in genl_family_rcv_msg_doit()
[all …]
/linux/tools/testing/selftests/net/
A Dipsec.c276 char attrbuf[MAX_PAYLOAD]; in veth_add() member
326 char attrbuf[MAX_PAYLOAD]; in ip4_addr_set() member
366 char attrbuf[MAX_PAYLOAD]; in link_set_up() member
393 char attrbuf[MAX_PAYLOAD]; in ip4_route_set() member
936 char attrbuf[MAX_PAYLOAD]; in xfrm_state_add() member
1024 char attrbuf[MAX_PAYLOAD]; in xfrm_state_check() member
1032 char attrbuf[MAX_PAYLOAD]; in xfrm_state_check() member
1243 char attrbuf[MAX_PAYLOAD]; in xfrm_state_del() member
1387 char attrbuf[MAX_PAYLOAD]; in xfrm_monitor_acquire() member
1611 char attrbuf[MAX_PAYLOAD]; in xfrm_spdinfo_set_thresh() member
[all …]
/linux/net/wireless/
A Dnl80211.c949 if (!attrbuf) { in nl80211_prepare_wdev_dump()
950 attrbuf = kcalloc(NUM_NL80211_ATTR, sizeof(*attrbuf), in nl80211_prepare_wdev_dump()
952 if (!attrbuf) in nl80211_prepare_wdev_dump()
968 attrbuf); in nl80211_prepare_wdev_dump()
9855 if (!attrbuf) in nl80211_dump_survey()
9860 kfree(attrbuf); in nl80211_dump_survey()
9905 kfree(attrbuf); in nl80211_dump_survey()
10828 attrbuf = kcalloc(NUM_NL80211_ATTR, sizeof(*attrbuf), in nl80211_testmode_dump()
10900 kfree(attrbuf); in nl80211_testmode_dump()
14077 if (!attrbuf) in nl80211_prepare_vendor_dump()
[all …]

Completed in 59 milliseconds