Searched refs:cap_bit (Results 1 – 3 of 3) sorted by relevance
902 u32 cap_bit; in calc_effective_caps() local904 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() local2368 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 …]
1486 #define scx_for_each_cap_bit(cap_bit, caps) \ argument1488 __caps && ((cap_bit) = __ffs64(__caps), true); \
48 enum HNAE3_DEV_CAP_BITS cap_bit; member