Home
last modified time | relevance | path

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

/linux/net/core/
H A Dbpf_sk_storage.c693 unsigned int bucket_id; member
706 u32 bucket_id = info->bucket_id; in bpf_sk_storage_map_seq_find_next() local
712 if (bucket_id >= n_buckets) in bpf_sk_storage_map_seq_find_next()
723 b = &smap->buckets[bucket_id++]; in bpf_sk_storage_map_seq_find_next()
736 for (i = bucket_id; i < (1U << smap->bucket_log); i++) { in bpf_sk_storage_map_seq_find_next()
743 info->bucket_id = i; in bpf_sk_storage_map_seq_find_next()
753 info->bucket_id = i; in bpf_sk_storage_map_seq_find_next()
H A Dsock_map.c1316 u32 bucket_id; member
1335 info->bucket_id++; in sock_hash_seq_find_next()
1338 for (; info->bucket_id < htab->buckets_num; info->bucket_id++) { in sock_hash_seq_find_next()
1339 bucket = &htab->buckets[info->bucket_id]; in sock_hash_seq_find_next()
/linux/kernel/bpf/
H A Dhashtab.c2125 u32 bucket_id; in bpf_hash_map_seq_find_next()
2135 u32 bucket_id = info->bucket_id; in bpf_hash_map_seq_find_next()
2142 if (bucket_id >= htab->n_buckets) in bpf_hash_map_seq_find_next()
2156 b = &htab->buckets[bucket_id++]; in bpf_hash_map_seq_find_next()
2161 for (i = bucket_id; i < htab->n_buckets; i++) { in bpf_hash_map_seq_find_next()
2169 info->bucket_id = i;
2180 info->bucket_id = i; in bpf_hash_map_seq_start()
2110 u32 bucket_id; global() member
2120 u32 bucket_id = info->bucket_id; bpf_hash_map_seq_find_next() local
/linux/kernel/sched/
H A Dcore.c1648 int bucket_id = UCLAMP_BUCKETS - 1; in uclamp_rq_max_value() local
1654 for ( ; bucket_id >= 0; bucket_id--) { in uclamp_rq_max_value()
1655 if (!bucket[bucket_id].tasks) in uclamp_rq_max_value()
1657 return bucket[bucket_id].value; in uclamp_rq_max_value()
1754 * task's uclamp::bucket_id is refcounted on that rq. This also immediately
1774 bucket = &uc_rq->bucket[uc_se->bucket_id]; in uclamp_rq_inc_id()
1830 * bucket[uc_se->bucket_id]. in uclamp_rq_dec_id()
1837 bucket = &uc_rq->bucket[uc_se->bucket_id]; in uclamp_rq_dec_id()
9706 uc_se[clamp_id].bucket_id in cpu_util_update_eff()
[all...]
H A Dsched.h3739 uc_se->bucket_id = uclamp_bucket_id(value); in uclamp_se_set()
/linux/include/linux/
H A Dsched.h762 * @bucket_id: bucket index corresponding to the "assigned" value
766 * The bucket_id is the index of the clamp bucket matching the clamp value
773 * to the "effective" bucket_id.
784 unsigned int bucket_id : bits_per(UCLAMP_BUCKETS);