Lines Matching refs:qinfo
4543 struct qeth_arp_query_info *qinfo; in qeth_snmp_command_cb() local
4552 qinfo = (struct qeth_arp_query_info *) reply->param; in qeth_snmp_command_cb()
4576 if ((qinfo->udata_len - qinfo->udata_offset) < data_len) { in qeth_snmp_command_cb()
4586 memcpy(qinfo->udata + qinfo->udata_offset, snmp_data, data_len); in qeth_snmp_command_cb()
4587 qinfo->udata_offset += data_len; in qeth_snmp_command_cb()
4606 struct qeth_arp_query_info qinfo = {0, }; in qeth_snmp_command() local
4630 qinfo.udata_len = ureq->hdr.data_len; in qeth_snmp_command()
4631 qinfo.udata = kzalloc(qinfo.udata_len, GFP_KERNEL); in qeth_snmp_command()
4632 if (!qinfo.udata) { in qeth_snmp_command()
4636 qinfo.udata_offset = sizeof(struct qeth_snmp_ureq_hdr); in qeth_snmp_command()
4647 qeth_snmp_command_cb, (void *)&qinfo); in qeth_snmp_command()
4652 if (copy_to_user(udata, qinfo.udata, qinfo.udata_len)) in qeth_snmp_command()
4657 kfree(qinfo.udata); in qeth_snmp_command()