Lines Matching defs:scratch
455 u8 *scratch;
468 scratch = kzalloc(l, GFP_KERNEL);
469 if (!scratch)
475 scratch[0] = OP_READ_SECURITY;
478 t.tx_buf = scratch;
479 t.rx_buf = scratch;
487 memcpy(buf, scratch + 4 + base + off, len);
491 kfree(scratch);
534 u8 *scratch;
555 scratch = kzalloc(l, GFP_KERNEL);
556 if (!scratch)
558 scratch[0] = OP_WRITE_SECURITY;
559 memcpy(scratch + 4 + from, buf, len);
564 t.tx_buf = scratch;
576 kfree(scratch);