Home
last modified time | relevance | path

Searched refs:cap_bit (Results 1 – 3 of 3) sorted by relevance

/linux/kernel/sched/ext/
H A Dsub.c902 u32 cap_bit; in calc_effective_caps() local
904 for (cap_bit = 0; cap_bit < __SCX_NR_CAPS; cap_bit++) in calc_effective_caps()
905 if (scx_cmask_test(cid, &ps->caps[cap_bit].cmask)) in calc_effective_caps()
906 ecaps |= BIT_U64(cap_bit) | scx_caps_implied(BIT_U64(cap_bit)); in calc_effective_caps()
2349 u32 cap_bit; in scx_bpf_sub_grant() local
2368 scx_for_each_cap_bit(cap_bit, caps) in scx_bpf_sub_grant()
2369 scx_cmask_and(granted_cids, &pps->caps[cap_bit].cmask); in scx_bpf_sub_grant()
2375 scx_for_each_cap_bit(cap_bit, caps) { in scx_bpf_sub_grant()
2376 struct scx_cmask *ccm = &cps->caps[cap_bit].cmask; in scx_bpf_sub_grant()
2385 granted_caps |= BIT_U64(cap_bit); in scx_bpf_sub_grant()
[all …]
H A Dinternal.h1486 #define scx_for_each_cap_bit(cap_bit, caps) \ argument
1488 __caps && ((cap_bit) = __ffs64(__caps), true); \
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_debugfs.h48 enum HNAE3_DEV_CAP_BITS cap_bit; member