Searched full:ecaps (Results 1 – 6 of 6) sorted by relevance
| /linux/kernel/sched/ext/ |
| H A D | sub.c | 904 u64 ecaps = 0; in calc_effective_caps() local 909 ecaps |= BIT_U64(cap_bit) | scx_caps_implied(BIT_U64(cap_bit)); in calc_effective_caps() 910 return ecaps; in calc_effective_caps() 914 * queue_sync_ecaps - Queue ecaps update for a (sch, cid) pair 918 * Queue an ecaps update for @sch's @cid and kick the cpu so that it syncs in 940 /* discard @rq's queued ecaps syncs */ 952 * scx_process_sync_ecaps - Sync this cpu's ecaps to pshard->caps[] 956 * pshard->caps[] is the target configuration. pcpu->ecaps is the effective 977 * ecaps are zeroed while the cpu is inactive and must stay zero. in scx_process_sync_ecaps() 998 u64 old, ecaps, lost, gained; in scx_process_sync_ecaps() local [all …]
|
| H A D | sub.h | 133 u64 ecaps; in scx_missing_caps() local 143 ecaps = READ_ONCE(per_cpu_ptr(sch->pcpu, cpu)->ecaps); in scx_missing_caps() 145 return needed & ~ecaps; in scx_missing_caps()
|
| H A D | internal.h | 1333 * cap on. ecaps is its transpose: the set of SCX_CAP_* bits the sched 1338 * ecaps is the effective copy owned by the cpu. It is written under the 1344 u64 ecaps; member 1504 * scx_sched_pcpu->ecaps.
|
| H A D | ext.c | 4454 * promoted off the local DSQ between the ecaps sync and this scan. in reenq_local() 5353 /* remove the queued ecaps sync so the pcpu can be freed */ in scx_sched_free_rcu_work() 8467 * cap check: ecaps is read here under @rq's lock. in kick_one_cpu() 10211 * ecaps updates are folded under the rq lock, making this test in scx_cpuperf_set()
|
| /linux/drivers/vfio/pci/ |
| H A D | vfio_pci_config.c | 1636 int loops, ret, ecaps = 0; in vfio_ecap_init() local 1708 * hide the real ID. Only count real ecaps. XXX PCI spec in vfio_ecap_init() 1710 * ecaps are absent, hope users check all the way to next. in vfio_ecap_init() 1716 ecaps++; in vfio_ecap_init() 1722 if (!ecaps) in vfio_ecap_init() 1757 * Config space, caps and ecaps are all dword aligned, so we could in vfio_config_init()
|
| /linux/kernel/sched/ |
| H A D | sched.h | 834 struct llist_head ecaps_to_sync; /* pending ecaps syncs */
|