Lines Matching defs:tmp
2300 struct ethtool_dump dump, tmp;
2310 memset(&tmp, 0, sizeof(tmp));
2311 tmp.cmd = ETHTOOL_GET_DUMP_FLAG;
2312 ret = ops->get_dump_flag(dev, &tmp);
2316 len = min(tmp.len, dump.len);
2329 data = vzalloc(tmp.len);
2339 * should be tmp.len (or len if it can do a partial dump).
2343 WARN_ON(dump.len != len && dump.len != tmp.len);
2559 struct ethtool_coalesce *backup = NULL, *tmp = NULL;
2570 tmp = backup = kmalloc_array(n_queue, sizeof(*backup), GFP_KERNEL);
2577 ret = dev->ethtool_ops->get_per_queue_coalesce(dev, bit, tmp);
2581 tmp++;
2602 tmp = backup;
2604 dev->ethtool_ops->set_per_queue_coalesce(dev, i, tmp);
2605 tmp++;