Lines Matching defs:tmp
2215 struct ethtool_dump dump, tmp;
2225 memset(&tmp, 0, sizeof(tmp));
2226 tmp.cmd = ETHTOOL_GET_DUMP_FLAG;
2227 ret = ops->get_dump_flag(dev, &tmp);
2231 len = min(tmp.len, dump.len);
2244 data = vzalloc(tmp.len);
2254 * should be tmp.len (or len if it can do a partial dump).
2258 WARN_ON(dump.len != len && dump.len != tmp.len);
2473 struct ethtool_coalesce *backup = NULL, *tmp = NULL;
2484 tmp = backup = kmalloc_array(n_queue, sizeof(*backup), GFP_KERNEL);
2491 ret = dev->ethtool_ops->get_per_queue_coalesce(dev, bit, tmp);
2495 tmp++;
2516 tmp = backup;
2518 dev->ethtool_ops->set_per_queue_coalesce(dev, i, tmp);
2519 tmp++;