Lines Matching defs:cc_state
481 * array), and rcu_read_lock() (to protect access to cc_state).
486 struct cc_state *cc_state;
498 cc_state = get_cc_state(ppd);
500 if (!cc_state)
503 * and set_link_ipg() should not be called if cc_state
515 ccti_limit = cc_state->cct.ccti_limit;
519 cce = cc_state->cct.entries[max_ccti].entry;
541 struct cc_state *cc_state;
551 cc_state = get_cc_state(ppd);
553 if (!cc_state) {
564 ccti_min = cc_state->cong_setting.entries[sl].ccti_min;
565 ccti_timer = cc_state->cong_setting.entries[sl].ccti_timer;
594 struct cc_state *cc_state;
650 cc_state = kzalloc(sizeof(*cc_state), GFP_KERNEL);
651 RCU_INIT_POINTER(ppd->cc_state, cc_state);
652 if (!cc_state)
1489 struct cc_state *cc_state;
1499 cc_state = get_cc_state_protected(ppd);
1500 RCU_INIT_POINTER(ppd->cc_state, NULL);
1503 if (cc_state)
1504 kfree_rcu(cc_state, rcu);