Home
last modified time | relevance | path

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

/linux-5.19.10/net/tipc/
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()
218 err = nlmsg_parse_deprecated(cb.nlh, GENL_HDRLEN, 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
344 attrbuf = kmalloc_array(tipc_genl_family.maxattr + 1, in __tipc_nl_compat_doit()
[all …]
/linux-5.19.10/net/netlink/
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()
540 err = __nlmsg_parse(nlh, hdrlen, attrbuf, ops->maxattr, ops->policy, 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()
549 static void genl_family_rcv_msg_attrs_free(struct nlattr **attrbuf) in genl_family_rcv_msg_attrs_free() argument
551 kfree(attrbuf); in genl_family_rcv_msg_attrs_free()
702 struct nlattr **attrbuf; in genl_family_rcv_msg_doit() local
709 attrbuf = genl_family_rcv_msg_attrs_parse(family, nlh, extack, in genl_family_rcv_msg_doit()
[all …]
/linux-5.19.10/tools/testing/selftests/net/
Dipsec.c275 char attrbuf[MAX_PAYLOAD]; in veth_add() member
325 char attrbuf[MAX_PAYLOAD]; in ip4_addr_set() member
365 char attrbuf[MAX_PAYLOAD]; in link_set_up() member
392 char attrbuf[MAX_PAYLOAD]; in ip4_route_set() member
935 char attrbuf[MAX_PAYLOAD]; in xfrm_state_add() member
1023 char attrbuf[MAX_PAYLOAD]; in xfrm_state_check() member
1031 char attrbuf[MAX_PAYLOAD]; in xfrm_state_check() member
1117 char attrbuf[MAX_PAYLOAD]; in xfrm_policy_add() member
1192 char attrbuf[MAX_PAYLOAD]; in xfrm_policy_del() member
1242 char attrbuf[MAX_PAYLOAD]; in xfrm_state_del() member
[all …]
/linux-5.19.10/net/wireless/
Dnl80211.c962 struct nlattr **attrbuf) in nl80211_prepare_wdev_dump() argument
969 if (!attrbuf) { in nl80211_prepare_wdev_dump()
970 attrbuf = kcalloc(NUM_NL80211_ATTR, sizeof(*attrbuf), in nl80211_prepare_wdev_dump()
972 if (!attrbuf) in nl80211_prepare_wdev_dump()
974 attrbuf_free = attrbuf; in nl80211_prepare_wdev_dump()
979 attrbuf, nl80211_fam.maxattr, in nl80211_prepare_wdev_dump()
988 attrbuf); in nl80211_prepare_wdev_dump()
10096 struct nlattr **attrbuf; in nl80211_dump_survey() local
10104 attrbuf = kcalloc(NUM_NL80211_ATTR, sizeof(*attrbuf), GFP_KERNEL); in nl80211_dump_survey()
10105 if (!attrbuf) in nl80211_dump_survey()
[all …]