Searched refs:bucket (Results 1 – 6 of 6) sorted by relevance
33 struct hist_bucket bucket[RATE_BINS]; member57 hist->bucket[i].low = INT_MAX; in init_rate_histogram()58 hist->bucket[i].high = 0; in init_rate_histogram()59 hist->bucket[i].count = 0; in init_rate_histogram()112 if (hist->bucket[idx].low > avg_bitrate) in update_rate_histogram()113 hist->bucket[idx].low = (int)avg_bitrate; in update_rate_histogram()114 if (hist->bucket[idx].high < avg_bitrate) in update_rate_histogram()115 hist->bucket[idx].high = (int)avg_bitrate; in update_rate_histogram()116 hist->bucket[idx].count++; in update_rate_histogram()120 static int merge_hist_buckets(struct hist_bucket *bucket, in merge_hist_buckets() argument[all …]
177 HashBucketPtr bucket; in drmHashDestroy() local184 for (bucket = table->buckets[i]; bucket;) { in drmHashDestroy()185 next = bucket->next; in drmHashDestroy()186 HASH_FREE(bucket); in drmHashDestroy()187 bucket = next; in drmHashDestroy()202 HashBucketPtr bucket; in HashFind() local206 for (bucket = table->buckets[hash]; bucket; bucket = bucket->next) { in HashFind()207 if (bucket->key == key) { in HashFind()210 prev->next = bucket->next; in HashFind()211 bucket->next = table->buckets[hash]; in HashFind()[all …]
201 struct drm_intel_gem_bo_bucket *bucket = &bufmgr_gem->cache_bucket[i]; in drm_intel_gem_bo_bucket_for_size() local202 if (bucket->size >= size) { in drm_intel_gem_bo_bucket_for_size()203 return bucket; in drm_intel_gem_bo_bucket_for_size()327 struct drm_intel_gem_bo_bucket *bucket; in drm_intel_gem_bo_alloc_internal() local332 bucket = drm_intel_gem_bo_bucket_for_size(bufmgr_gem, size); in drm_intel_gem_bo_alloc_internal()337 if (bucket == NULL) { in drm_intel_gem_bo_alloc_internal()342 bo_size = bucket->size; in drm_intel_gem_bo_alloc_internal()347 if (bucket != NULL && !DRMLISTEMPTY(&bucket->head)) { in drm_intel_gem_bo_alloc_internal()353 bo_gem = DRMLISTENTRY(drm_intel_bo_gem, bucket->head.prev, head); in drm_intel_gem_bo_alloc_internal()363 bo_gem = DRMLISTENTRY(drm_intel_bo_gem, bucket->head.next, head); in drm_intel_gem_bo_alloc_internal()[all …]
96 int bucket; // bucket index, 0 based member
435 nlattr * bucket = request.attr_start(i); // next bucket in createSetupRequest() local436 result = request.put_u32(GSCAN_ATTRIBUTE_BUCKET_ID, mParams->buckets[i].bucket); in createSetupRequest()473 request.attr_end(bucket); in createSetupRequest()
313 bucketSpec.bucket) || in wifi_start_gscan()