Lines Matching defs:alias
2162 #define MISMATCHED_HELPER(parent, child, helper, field, alias) \
2165 (!helper(child) && !(alias)))
2167 #define MISMATCHED_FEAT(parent, child, feat, field, alias) \
2170 (!mpam_has_feature((feat), (child)) && !(alias)))
2172 #define CAN_MERGE_FEAT(parent, child, feat, alias) \
2173 (alias) && !mpam_has_feature((feat), (parent)) && \
2178 * If this is for controls that alias the same resource, it is safe to just
2188 struct mpam_props *child, bool alias)
2190 if (CAN_MERGE_FEAT(parent, child, mpam_feat_cpor_part, alias)) {
2193 cpbm_wd, alias)) {
2199 if (CAN_MERGE_FEAT(parent, child, mpam_feat_mbw_part, alias)) {
2202 mbw_pbm_bits, alias)) {
2209 if (alias && !mpam_has_bwa_wd_feature(parent) &&
2213 bwa_wd, alias)) {
2218 if (alias && !mpam_has_cmax_wd_feature(parent) && mpam_has_cmax_wd_feature(child)) {
2221 cmax_wd, alias)) {
2226 if (CAN_MERGE_FEAT(parent, child, mpam_feat_cmax_cassoc, alias)) {
2229 cassoc_wd, alias)) {
2236 if (CAN_MERGE_FEAT(parent, child, mpam_feat_msmon_csu, alias)) {
2239 num_csu_mon, alias)) {
2245 if (CAN_MERGE_FEAT(parent, child, mpam_feat_msmon_mbwu, alias)) {
2248 num_mbwu_mon, alias)) {
2254 if (CAN_MERGE_FEAT(parent, child, mpam_feat_intpri_part, alias)) {
2257 intpri_wd, alias)) {
2262 if (CAN_MERGE_FEAT(parent, child, mpam_feat_dspri_part, alias)) {
2265 dspri_wd, alias)) {
2270 /* TODO: alias support for these two */
2289 if (alias) {