Lines Matching refs:bytes
495 const char *bytes = in; in _mix_pool_bytes() local
509 w = rol32(*bytes++, input_rotate); in _mix_pool_bytes()
981 int bytes = nbytes; in _xfer_secondary_pool() local
984 bytes = max_t(int, bytes, random_read_wakeup_bits / 8); in _xfer_secondary_pool()
986 bytes = min_t(int, bytes, sizeof(tmp)); in _xfer_secondary_pool()
988 trace_xfer_secondary_pool(r->name, bytes * 8, nbytes * 8, in _xfer_secondary_pool()
990 bytes = extract_entropy(r->pull, tmp, bytes, in _xfer_secondary_pool()
992 mix_pool_bytes(r, tmp, bytes); in _xfer_secondary_pool()
993 credit_entropy_bits(r, bytes*8); in _xfer_secondary_pool()
1415 size_t bytes; in write_pool() local
1420 bytes = min(count, sizeof(buf)); in write_pool()
1421 if (copy_from_user(&buf, p, bytes)) in write_pool()
1424 count -= bytes; in write_pool()
1425 p += bytes; in write_pool()
1427 mix_pool_bytes(r, buf, bytes); in write_pool()