Home
last modified time | relevance | path

Searched refs:shard (Results 1 – 8 of 8) sorted by relevance

/linux/kernel/sched/ext/
H A Dsub.c9 * tree walk, capability delegation, per-shard cap state and its sync, and the
148 const struct scx_cid_shard *shard = in alloc_pshard() local
152 SCX_CMASK_NR_WORDS(shard->nr_cids)); in alloc_pshard()
163 pshard->base = shard->base_cid; in alloc_pshard()
164 pshard->nr_cids = shard->nr_cids; in alloc_pshard()
167 scx_cmask_init(&pshard->caps[i].cmask, shard->base_cid, shard->nr_cids); in alloc_pshard()
172 __scx_cmask_init(&cu->cmask, shard->base_cid, shard->nr_cids, SCX_CID_SHARD_MAX_CPUS); in alloc_pshard()
180 scx_cmask_init(cu->cmask_arena_out, shard in alloc_pshard()
968 s32 cid, shard; scx_process_sync_ecaps() local
1104 s32 cid, shard; scx_online_ecaps() local
2587 const struct scx_cid_shard *shard = scx_bpf_sub_caps() local
[all...]
H A Dcid.c53 * Compute per-LLC shard layout. Each shard holds at most @shard_size cids, and
284 * Advance to a new shard when either core or in scx_cid_init()
286 * shard sizes under uneven SMT. Never start an in scx_cid_init()
287 * empty shard. in scx_cid_init()
332 * SCX_CID_SHARD_MAX_CPUS) cids so that every cid has a valid shard in scx_cid_init()
374 * shard, nr_cids is the count. in scx_cid_init()
451 * scx_bpf_cid_override - Install an explicit cpu->cid mapping with shard info
454 * @shard_start__arena: array of first-cid-of-each-shard, one entry per shard
1054 const struct scx_cid_shard *shard = scx_cmask_ref_shard() local
[all...]
/linux/tools/perf/util/
H A Dthreads.h15 struct hashmap shard; member
/linux/net/ceph/
H A Ddebugfs.c185 if (spgid->shard != CEPH_SPG_NOSHARD) in dump_spgid()
186 seq_printf(s, "s%d", spgid->shard); in dump_spgid()
H A Dosdmap.c713 if (lhs->shard < rhs->shard) in ceph_spg_compare()
715 if (lhs->shard > rhs->shard) in ceph_spg_compare()
2868 spgid->shard = CEPH_SPG_NOSHARD; in ceph_pg_to_primary_shard()
2876 spgid->shard = i; in ceph_pg_to_primary_shard()
H A Dosd_client.c2035 backoff->spgid.pgid.seed, backoff->spgid.shard, backoff->id); in should_plug_request()
2128 ceph_encode_8(p, spgid->shard); in encode_spgid()
2346 req->r_t.spgid.shard, osd->o_osd, req->r_t.epoch, req->r_flags, in send_request()
4327 ceph_decode_8_safe(&p, end, m->spgid.shard, e_inval); in decode_MOSDBackoff()
4406 m->spgid.pgid.pool, m->spgid.pgid.seed, m->spgid.shard, m->id); in handle_backoff_block()
4466 m->spgid.pgid.pool, m->spgid.pgid.seed, m->spgid.shard, m->id); in handle_backoff_unblock()
4472 m->spgid.pgid.seed, m->spgid.shard, m->id); in handle_backoff_unblock()
4480 m->spgid.pgid.seed, m->spgid.shard, m->id); in handle_backoff_unblock()
/linux/include/linux/ceph/
H A Dosdmap.h31 s8 shard; member
/linux/Documentation/core-api/
H A Dworkqueue.rst383 within the same shard as the issuing CPU.