Lines Matching refs:sgs
1970 struct scatterlist *sgs[4], hdr, stat; in virtnet_send_command() local
1982 sgs[out_num++] = &hdr; in virtnet_send_command()
1985 sgs[out_num++] = out; in virtnet_send_command()
1989 sgs[out_num] = &stat; in virtnet_send_command()
1991 BUG_ON(out_num + 1 > ARRAY_SIZE(sgs)); in virtnet_send_command()
1992 ret = virtqueue_add_sgs(vi->cvq, sgs, out_num, 1, vi, GFP_ATOMIC); in virtnet_send_command()
2428 struct scatterlist sgs[4]; in virtnet_commit_rss_command() local
2432 sg_init_table(sgs, 4); in virtnet_commit_rss_command()
2435 sg_set_buf(&sgs[0], &vi->ctrl->rss, sg_buf_size); in virtnet_commit_rss_command()
2438 sg_set_buf(&sgs[1], vi->ctrl->rss.indirection_table, sg_buf_size); in virtnet_commit_rss_command()
2442 sg_set_buf(&sgs[2], &vi->ctrl->rss.max_tx_vq, sg_buf_size); in virtnet_commit_rss_command()
2445 sg_set_buf(&sgs[3], vi->ctrl->rss.key, sg_buf_size); in virtnet_commit_rss_command()
2449 : VIRTIO_NET_CTRL_MQ_HASH_CONFIG, sgs)) { in virtnet_commit_rss_command()