Lines Matching refs:bytes
498 const char *bytes = in; in _mix_pool_bytes() local
512 w = rol32(*bytes++, input_rotate); in _mix_pool_bytes()
1001 int bytes = nbytes; in _xfer_secondary_pool() local
1004 bytes = max_t(int, bytes, random_read_wakeup_bits / 8); in _xfer_secondary_pool()
1006 bytes = min_t(int, bytes, sizeof(tmp)); in _xfer_secondary_pool()
1008 trace_xfer_secondary_pool(r->name, bytes * 8, nbytes * 8, in _xfer_secondary_pool()
1010 bytes = extract_entropy(r->pull, tmp, bytes, in _xfer_secondary_pool()
1012 mix_pool_bytes(r, tmp, bytes); in _xfer_secondary_pool()
1013 credit_entropy_bits(r, bytes*8); in _xfer_secondary_pool()
1493 size_t bytes; in write_pool() local
1498 bytes = min(count, sizeof(buf)); in write_pool()
1499 if (copy_from_user(&buf, p, bytes)) in write_pool()
1502 count -= bytes; in write_pool()
1503 p += bytes; in write_pool()
1505 mix_pool_bytes(r, buf, bytes); in write_pool()