Searched refs:bucket (Results 1 – 5 of 5) sorted by relevance
/kernel/dma/ |
D | debug.c | 260 static void put_hash_bucket(struct hash_bucket *bucket, in put_hash_bucket() argument 262 __releases(&bucket->lock) in put_hash_bucket() 266 spin_unlock_irqrestore(&bucket->lock, __flags); in put_hash_bucket() 291 static struct dma_debug_entry *__hash_bucket_find(struct hash_bucket *bucket, in __hash_bucket_find() argument 298 list_for_each_entry(entry, &bucket->list, list) { in __hash_bucket_find() 341 static struct dma_debug_entry *bucket_find_exact(struct hash_bucket *bucket, in bucket_find_exact() argument 344 return __hash_bucket_find(bucket, ref, exact_match); in bucket_find_exact() 347 static struct dma_debug_entry *bucket_find_contain(struct hash_bucket **bucket, in bucket_find_contain() argument 357 entry = __hash_bucket_find(*bucket, ref, containing_match); in bucket_find_contain() 365 put_hash_bucket(*bucket, flags); in bucket_find_contain() [all …]
|
/kernel/bpf/ |
D | stackmap.c | 357 struct stack_map_bucket *bucket, *new_bucket, *old_bucket; in BPF_CALL_3() local 393 bucket = READ_ONCE(smap->buckets[id]); in BPF_CALL_3() 395 hash_matches = bucket && bucket->hash == hash; in BPF_CALL_3() 411 if (hash_matches && bucket->nr == trace_nr && in BPF_CALL_3() 412 memcmp(bucket->data, new_bucket->data, trace_len) == 0) { in BPF_CALL_3() 416 if (bucket && !(flags & BPF_F_REUSE_STACKID)) { in BPF_CALL_3() 421 if (hash_matches && bucket->nr == trace_nr && in BPF_CALL_3() 422 memcmp(bucket->data, ips, trace_len) == 0) in BPF_CALL_3() 424 if (bucket && !(flags & BPF_F_REUSE_STACKID)) in BPF_CALL_3() 529 struct stack_map_bucket *bucket, *old_bucket; in bpf_stackmap_copy() local [all …]
|
D | hashtab.c | 20 struct bucket { struct 27 struct bucket *buckets; argument 347 if (htab->n_buckets > U32_MAX / sizeof(struct bucket)) in htab_map_alloc() 350 cost = (u64) htab->n_buckets * sizeof(struct bucket) + in htab_map_alloc() 366 sizeof(struct bucket), in htab_map_alloc() 414 static inline struct bucket *__select_bucket(struct bpf_htab *htab, u32 hash) in __select_bucket() 581 struct bucket *b; in htab_lru_map_delete_node() 854 struct bucket *b; in htab_map_update_elem() 946 struct bucket *b; in htab_lru_map_update_elem() 1011 struct bucket *b; in __htab_percpu_map_update_elem() [all …]
|
/kernel/sched/ |
D | core.c | 887 struct uclamp_bucket *bucket = rq->uclamp[clamp_id].bucket; in uclamp_rq_max_value() local 895 if (!bucket[bucket_id].tasks) in uclamp_rq_max_value() 897 return bucket[bucket_id].value; in uclamp_rq_max_value() 980 struct uclamp_bucket *bucket; in uclamp_rq_inc_id() local 987 bucket = &uc_rq->bucket[uc_se->bucket_id]; in uclamp_rq_inc_id() 988 bucket->tasks++; in uclamp_rq_inc_id() 997 if (bucket->tasks == 1 || uc_se->value > bucket->value) in uclamp_rq_inc_id() 998 bucket->value = uc_se->value; in uclamp_rq_inc_id() 1018 struct uclamp_bucket *bucket; in uclamp_rq_dec_id() local 1050 bucket = &uc_rq->bucket[uc_se->bucket_id]; in uclamp_rq_dec_id() [all …]
|
D | sched.h | 848 struct uclamp_bucket bucket[UCLAMP_BUCKETS]; member
|