Lines Matching defs:sample
790 * @SAMPLING_READ_SIZE - how many bytes will be copied from for each sample
799 * many times the object appeared in the sample.
804 * The size of the sample is based on a statistical sampling rule of thumb.
810 * sample size bound by 8192.
812 * For a sample of at most 8KB of data per data range: 16 consecutive bytes
824 u8 *sample;
841 kvfree(workspace->sample);
855 ws->sample = kvmalloc(MAX_SAMPLE_SIZE, GFP_KERNEL);
856 if (!ws->sample)
1336 * @ENTROPY_LVL_ACEPTABLE - below that threshold, sample has low byte entropy
1479 * Size of the core byte set - how many bytes cover 90% of the sample
1564 const u8 *data = ws->sample;
1603 /* Don't sample any garbage from the last page */
1606 memcpy(&ws->sample[curr_sample_pos], &in_data[i],
1656 byte = ws->sample[i];