Lines Matching refs:parent
677 return kobject_name(q->kobj.parent); in q_name()
1055 struct ioc_gq *parent = iocg->ancestors[lvl]; in __propagate_weights() local
1060 parent->child_active_sum += (s32)(active - child->active); in __propagate_weights()
1061 parent->child_inuse_sum += (s32)(inuse - child->inuse); in __propagate_weights()
1071 if (parent->child_active_sum) { in __propagate_weights()
1072 parent_active = parent->weight; in __propagate_weights()
1074 parent_active * parent->child_inuse_sum, in __propagate_weights()
1075 parent->child_active_sum); in __propagate_weights()
1079 if (parent_active == parent->active && in __propagate_weights()
1080 parent_inuse == parent->inuse) in __propagate_weights()
1135 struct ioc_gq *parent = iocg->ancestors[lvl]; in current_hweight() local
1137 u64 active_sum = READ_ONCE(parent->child_active_sum); in current_hweight()
1138 u64 inuse_sum = READ_ONCE(parent->child_inuse_sum); in current_hweight()
1177 struct ioc_gq *parent = iocg->ancestors[lvl]; in current_hweight_max() local
1180 child_inuse_sum = parent->child_inuse_sum + inuse - child->inuse; in current_hweight_max()
1182 inuse = DIV64_U64_ROUND_UP(parent->active * child_inuse_sum, in current_hweight_max()
1183 parent->child_active_sum); in current_hweight_max()
1864 struct ioc_gq *parent = iocg->ancestors[iocg->level - 1]; in transfer_surpluses() local
1866 parent->hweight_donating += iocg->hweight_donating; in transfer_surpluses()
1867 parent->hweight_after_donation += iocg->hweight_after_donation; in transfer_surpluses()
1872 struct ioc_gq *parent = iocg->ancestors[iocg->level - 1]; in transfer_surpluses() local
1874 parent->hweight_donating += iocg->hweight_donating; in transfer_surpluses()
1875 parent->hweight_after_donation += iocg->hweight_after_donation; in transfer_surpluses()
1886 struct ioc_gq *parent = iocg->ancestors[iocg->level - 1]; in transfer_surpluses() local
1889 (u64)parent->hweight_active * iocg->active, in transfer_surpluses()
1890 parent->child_active_sum); in transfer_surpluses()
1932 struct ioc_gq *parent; in transfer_surpluses() local
1944 parent = iocg->ancestors[iocg->level - 1]; in transfer_surpluses()
1953 (u64)parent->child_adjusted_sum * iocg->hweight_inuse, in transfer_surpluses()
1954 parent->hweight_inuse); in transfer_surpluses()
1976 struct ioc_gq *parent = iocg->ancestors[iocg->level - 1]; in transfer_surpluses() local
1993 parent->child_adjusted_sum * iocg->hweight_after_donation, in transfer_surpluses()
1994 parent->hweight_inuse); in transfer_surpluses()
2965 for (tblkg = blkg; tblkg; tblkg = tblkg->parent) { in ioc_pd_init()