Home
last modified time | relevance | path

Searched refs:bucket_id (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/net/core/
H A Dbpf_sk_storage.c703 unsigned int bucket_id; member
716 u32 bucket_id = info->bucket_id; in bpf_sk_storage_map_seq_find_next() local
722 if (bucket_id >= n_buckets) in bpf_sk_storage_map_seq_find_next()
733 b = &smap->buckets[bucket_id++]; in bpf_sk_storage_map_seq_find_next()
746 for (i = bucket_id; i < (1U << smap->bucket_log); i++) { in bpf_sk_storage_map_seq_find_next()
753 info->bucket_id = i; in bpf_sk_storage_map_seq_find_next()
763 info->bucket_id = i; in bpf_sk_storage_map_seq_find_next()
H A Dsock_map.c1304 u32 bucket_id; member
1323 info->bucket_id++; in sock_hash_seq_find_next()
1326 for (; info->bucket_id < htab->buckets_num; info->bucket_id++) { in sock_hash_seq_find_next()
1327 bucket = &htab->buckets[info->bucket_id]; in sock_hash_seq_find_next()
/openbmc/linux/kernel/bpf/
H A Dhashtab.c2004 u32 bucket_id; member
2014 u32 bucket_id = info->bucket_id; in bpf_hash_map_seq_find_next() local
2021 if (bucket_id >= htab->n_buckets) in bpf_hash_map_seq_find_next()
2035 b = &htab->buckets[bucket_id++]; in bpf_hash_map_seq_find_next()
2040 for (i = bucket_id; i < htab->n_buckets; i++) { in bpf_hash_map_seq_find_next()
2048 info->bucket_id = i; in bpf_hash_map_seq_find_next()
2059 info->bucket_id = i; in bpf_hash_map_seq_find_next()
/openbmc/linux/kernel/sched/
H A Dcore.c1408 uc_se->bucket_id = uclamp_bucket_id(value); in uclamp_se_set()
1444 int bucket_id = UCLAMP_BUCKETS - 1; in uclamp_rq_max_value() local
1450 for ( ; bucket_id >= 0; bucket_id--) { in uclamp_rq_max_value()
1451 if (!bucket[bucket_id].tasks) in uclamp_rq_max_value()
1453 return bucket[bucket_id].value; in uclamp_rq_max_value()
1574 bucket = &uc_rq->bucket[uc_se->bucket_id]; in uclamp_rq_inc_id()
1637 bucket = &uc_rq->bucket[uc_se->bucket_id]; in uclamp_rq_dec_id()
10686 uc_se[clamp_id].bucket_id = uclamp_bucket_id(eff[clamp_id]); in cpu_util_update_eff()
/openbmc/linux/include/linux/
H A Dsched.h690 * @bucket_id: bucket index corresponding to the "assigned" value
694 * The bucket_id is the index of the clamp bucket matching the clamp value
701 * to the "effective" bucket_id.
712 unsigned int bucket_id : bits_per(UCLAMP_BUCKETS);