Searched refs:attrbuf (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/net/netlink/ |
D | genetlink.c | 554 struct nlattr **attrbuf; in genl_family_rcv_msg_attrs_parse() local 560 attrbuf = kmalloc_array(ops->maxattr + 1, in genl_family_rcv_msg_attrs_parse() 562 if (!attrbuf) in genl_family_rcv_msg_attrs_parse() 565 err = __nlmsg_parse(nlh, hdrlen, attrbuf, ops->maxattr, ops->policy, in genl_family_rcv_msg_attrs_parse() 568 kfree(attrbuf); in genl_family_rcv_msg_attrs_parse() 571 return attrbuf; in genl_family_rcv_msg_attrs_parse() 574 static void genl_family_rcv_msg_attrs_free(struct nlattr **attrbuf) in genl_family_rcv_msg_attrs_free() argument 576 kfree(attrbuf); in genl_family_rcv_msg_attrs_free() 727 struct nlattr **attrbuf; in genl_family_rcv_msg_doit() local 734 attrbuf = genl_family_rcv_msg_attrs_parse(family, nlh, extack, in genl_family_rcv_msg_doit() [all …]
|
/linux-6.1.9/net/tipc/ |
D | netlink_compat.c | 191 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-6.1.9/tools/testing/selftests/net/ |
D | ipsec.c | 314 char attrbuf[MAX_PAYLOAD]; in veth_add() member 364 char attrbuf[MAX_PAYLOAD]; in ip4_addr_set() member 404 char attrbuf[MAX_PAYLOAD]; in link_set_up() member 431 char attrbuf[MAX_PAYLOAD]; in ip4_route_set() member 921 char attrbuf[MAX_PAYLOAD]; in xfrm_state_add() member 1009 char attrbuf[MAX_PAYLOAD]; in xfrm_state_check() member 1017 char attrbuf[MAX_PAYLOAD]; in xfrm_state_check() member 1103 char attrbuf[MAX_PAYLOAD]; in xfrm_policy_add() member 1178 char attrbuf[MAX_PAYLOAD]; in xfrm_policy_del() member 1228 char attrbuf[MAX_PAYLOAD]; in xfrm_state_del() member [all …]
|
/linux-6.1.9/net/wireless/ |
D | nl80211.c | 971 struct nlattr **attrbuf) in nl80211_prepare_wdev_dump() argument 978 if (!attrbuf) { in nl80211_prepare_wdev_dump() 979 attrbuf = kcalloc(NUM_NL80211_ATTR, sizeof(*attrbuf), in nl80211_prepare_wdev_dump() 981 if (!attrbuf) in nl80211_prepare_wdev_dump() 983 attrbuf_free = attrbuf; in nl80211_prepare_wdev_dump() 988 attrbuf, nl80211_fam.maxattr, in nl80211_prepare_wdev_dump() 997 attrbuf); in nl80211_prepare_wdev_dump() 10346 struct nlattr **attrbuf; in nl80211_dump_survey() local 10354 attrbuf = kcalloc(NUM_NL80211_ATTR, sizeof(*attrbuf), GFP_KERNEL); in nl80211_dump_survey() 10355 if (!attrbuf) in nl80211_dump_survey() [all …]
|
/linux-6.1.9/drivers/scsi/lpfc/ |
D | lpfc_ct.c | 3114 (struct lpfc_vport *vport, void *attrbuf) = { 3138 (struct lpfc_vport *vport, void *attrbuf) = { 3191 int (*func)(struct lpfc_vport *vport, void *attrbuf); in lpfc_fdmi_cmd()
|