Lines Matching defs:sample
548 * @SAMPLING_READ_SIZE - how many bytes will be copied from for each sample
557 * many times the object appeared in the sample.
562 * The size of the sample is based on a statistical sampling rule of thumb.
568 * sample size bound by 8192.
570 * For a sample of at most 8KB of data per data range: 16 consecutive bytes
582 u8 *sample;
599 kvfree(workspace->sample);
613 ws->sample = kvmalloc(MAX_SAMPLE_SIZE, GFP_KERNEL);
614 if (!ws->sample)
1068 * @ENTROPY_LVL_ACEPTABLE - below that threshold, sample has low byte entropy
1211 * Size of the core byte set - how many bytes cover 90% of the sample
1296 const u8 *data = ws->sample;
1335 /* Don't sample any garbage from the last page */
1338 memcpy(&ws->sample[curr_sample_pos], &in_data[i],
1388 byte = ws->sample[i];