Searched refs:surplus (Results 1 – 7 of 7) sorted by relevance
240 size_t *surplus) { in te_prof_sample_event_lookahead_surplus() argument241 if (surplus != NULL) { in te_prof_sample_event_lookahead_surplus()249 *surplus = SIZE_MAX; in te_prof_sample_event_lookahead_surplus()262 if (surplus != NULL) { in te_prof_sample_event_lookahead_surplus()263 *surplus = (size_t)(accumbytes - sample_wait); in te_prof_sample_event_lookahead_surplus()
217 u16 val, surplus; in wmm_process_tspec() local257 surplus = le_to_host16(tspec->surplus_bandwidth_allowance); in wmm_process_tspec()258 if (surplus <= 0x2000) { in wmm_process_tspec()264 medium_time = (u64) surplus * pps * duration / 0x2000; in wmm_process_tspec()
537 size_t const surplus = (alignment > sizeof(void*)) ? alignment - sizeof(void*) : 0; in ZSTD_cwksp_reserve_object_aligned() local538 void* const start = ZSTD_cwksp_reserve_object(ws, byteSize + surplus); in ZSTD_cwksp_reserve_object_aligned()540 if (surplus == 0) return start; in ZSTD_cwksp_reserve_object_aligned()542 return (void*)(((size_t)start + surplus) & ~mask); in ZSTD_cwksp_reserve_object_aligned()
4131 size_t surplus; in batch_alloc_prof_sample_assert() local4133 (batch + 1) * usize, &surplus); in batch_alloc_prof_sample_assert()4135 assert(surplus < usize); in batch_alloc_prof_sample_assert()4175 size_t surplus = SIZE_MAX; /* Dead store. */ in batch_alloc() local4179 batch * usize, &surplus); in batch_alloc()4186 batch -= surplus / usize + 1; in batch_alloc()
72747 int surplus; /* Overflow payload available for local storage */ local72751 surplus = minLocal + (pInfo->nPayload - minLocal)%(pPage->pBt->usableSize-4);72752 testcase( surplus==maxLocal );72753 testcase( surplus==maxLocal+1 );72754 if( surplus <= maxLocal ){72755 pInfo->nLocal = (u16)surplus;72774 int surplus; /* Overflow payload available for local storage */ local72776 surplus = (int)(minLocal +(nPayload - minLocal)%(pPage->pBt->usableSize-4));72777 return (surplus <= maxLocal) ? surplus : minLocal;
39362 paper surplus61466 surplus state61467 surplus value
195631 surplus