Lines Matching refs:SMALL_REQUEST_THRESHOLD
823 * Requests greater than SMALL_REQUEST_THRESHOLD bytes are routed to the
859 * 0, SMALL_REQUEST_THRESHOLD + 1 and up: routed to the underlying
898 * 1) ALIGNMENT <= SMALL_REQUEST_THRESHOLD <= 512
899 * 2) SMALL_REQUEST_THRESHOLD is evenly divisible by ALIGNMENT
902 * it is recommended that SMALL_REQUEST_THRESHOLD is set to a power of 2.
904 #define SMALL_REQUEST_THRESHOLD 512
905 #define NB_SMALL_SIZE_CLASSES (SMALL_REQUEST_THRESHOLD / ALIGNMENT)
1962 if (UNLIKELY(nbytes > SMALL_REQUEST_THRESHOLD)) {
2320 If nbytes <= SMALL_REQUEST_THRESHOLD, it's tempting to try to take
2965 const uint numclasses = SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT;
2967 size_t numpools[SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT];
2968 size_t numblocks[SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT];
2969 size_t numfreeblocks[SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT];
2992 SMALL_REQUEST_THRESHOLD, numclasses);