Lines Matching defs:tmp
548 char *tmp;
558 tmp = kmalloc(size, GFP_KERNEL);
559 if (!tmp)
563 used += scnprintf(tmp + used, size - used,
568 used += scnprintf(tmp + used, size - used,
575 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i,
577 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i,
579 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i,
581 check_dyn_flag(scratch0, tmp, size, &used, dd->hfi1_id, i,
584 used += scnprintf(tmp + used, size - used, "Write bits to clear\n");
586 ret = simple_read_from_buffer(buf, count, ppos, tmp, used);
587 kfree(tmp);
642 void *tmp;
649 tmp = kzalloc(DC8051_DATA_MEM_SIZE, GFP_KERNEL);
650 if (!tmp)
665 (u64 *)(tmp + start));
670 rval = simple_read_from_buffer(buf, count, ppos, tmp,
673 kfree(tmp);
751 char *tmp;
755 tmp = kmalloc(PAGE_SIZE, GFP_KERNEL);
756 if (!tmp)
759 ret = qsfp_dump(ppd, tmp, PAGE_SIZE);
761 ret = simple_read_from_buffer(buf, count, ppos, tmp, ret);
762 kfree(tmp);