Home
last modified time | relevance | path

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

/linux/kernel/sched/ext/
H A Dsub.c148 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->base_cid, shard->nr_cids); in alloc_pshard()
967 s32 cid, shard; in scx_process_sync_ecaps() local
991 shard = rcu_dereference_all(scx_cid_to_shard)[cid]; in scx_process_sync_ecaps()
997 struct scx_pshard *ps = pcpu->sch->pshard[shard]; in scx_process_sync_ecaps()
[all …]
H A Dcid.c1054 const struct scx_cid_shard *shard = in scx_cmask_ref_shard() local
1056 u32 shard_base = shard->base_cid; in scx_cmask_ref_shard()
1057 u32 shard_end = shard_base + shard->nr_cids; in scx_cmask_ref_shard()
/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.