Lines Matching defs:ps
232 struct scx_pshard *ps = sch->pshard[si];
235 scx_cmask_fill(&ps->caps[i].cmask);
820 static void caps_updated_record(struct scx_pshard *ps, const struct scx_cmask *cids, u64 caps,
823 struct scx_caps_updated *cu = &ps->caps_updated;
838 struct scx_pshard *ps = container_of(cu, struct scx_pshard, caps_updated);
839 struct scx_sched *sch = ps->sch;
858 ps->base, ps->nr_cids, &ref);
888 struct scx_pshard *ps = sch->pshard[si];
889 struct scx_caps_updated *cu = &ps->caps_updated;
899 static u64 calc_effective_caps(struct scx_pshard *ps, s32 cid)
905 if (scx_cmask_test(cid, &ps->caps[cap_bit].cmask))
994 struct scx_pshard *ps = pcpu->sch->pshard[shard];
1003 ecaps = calc_effective_caps(ps, cid);
1073 struct scx_pshard *ps;
1086 ps = sch->pshard[rcu_dereference_all(scx_cid_to_shard)[cid]];
1088 guard(raw_spinlock)(&ps->lock);
1118 struct scx_pshard *ps;
1124 ps = pos->pshard[shard];
1125 guard(raw_spinlock)(&ps->lock);
2468 struct scx_pshard *ps = pos->pshard[si];
2474 scoped_guard (raw_spinlock_nested, &ps->lock) {
2480 struct scx_cmask *cm = &ps->caps[cap_bit].cmask;
2495 caps_updated_record(ps, changed_cids, revoked_caps,